\([0-9.]*\).*/\1/'`
4 |
5 | perl -p0e 's%Dialogic%Dialogic v$ENV{version}%igs' data/template.html > data/index.html
6 |
7 | head -n5 data/index.html
8 | echo
9 | echo Updated index.html with version $version
10 | echo
11 |
--------------------------------------------------------------------------------
/docs/html/search/all_6.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['getactor_52',['GetActor',['../class_dialogic_1_1_command.html#a081051f09320a3f4500a829eb527eb80',1,'Dialogic::Command']]],
4 | ['global_5ftime_5fscale_53',['GLOBAL_TIME_SCALE',['../class_dialogic_1_1_defaults.html#a625ba1186a50240c02fce8be058a1a42',1,'Dialogic::Defaults']]],
5 | ['go_54',['Go',['../class_dialogic_1_1_go.html',1,'Dialogic']]]
6 | ];
7 |
--------------------------------------------------------------------------------
/test/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/docs/html/search/all_1.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['bind_8',['Bind',['../class_dialogic_1_1_resolver.html#ac4670aaa13a790281a6aac5b89089683',1,'Dialogic::Resolver']]],
4 | ['bind_5fmax_5fdepth_9',['BIND_MAX_DEPTH',['../class_dialogic_1_1_defaults.html#ac22a4e1637f89177c4e372702dab19e7',1,'Dialogic::Defaults']]],
5 | ['bindchoices_10',['BindChoices',['../class_dialogic_1_1_resolver.html#a85b4ab7309bf8d99ed2f0e650d3f83d9',1,'Dialogic::Resolver']]]
6 | ];
7 |
--------------------------------------------------------------------------------
/docs/html/search/functions_0.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['actor_193',['Actor',['../class_dialogic_1_1_update_event.html#a0b4ca0683019d898847a3d6bb7653230',1,'Dialogic::UpdateEvent']]],
4 | ['addtransform_194',['AddTransform',['../class_dialogic_1_1_chat_runtime.html#a5751813c069194ea06ef219af90b522f',1,'Dialogic::ChatRuntime']]],
5 | ['articlize_195',['Articlize',['../class_dialogic_1_1_transforms.html#ade52a921fea7785fe3fd5962c2c2bb00',1,'Dialogic::Transforms']]]
6 | ];
7 |
--------------------------------------------------------------------------------
/docs/html/search/all_3.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['defaults_35',['Defaults',['../class_dialogic_1_1_defaults.html',1,'Dialogic']]],
4 | ['dialogic_36',['Dialogic',['../namespace_dialogic.html',1,'']]],
5 | ['do_37',['Do',['../class_dialogic_1_1_do.html',1,'Dialogic']]],
6 | ['do_5fduration_38',['DO_DURATION',['../class_dialogic_1_1_defaults.html#a27d15e8a7b4210db4f66d336e7d100d1',1,'Dialogic::Defaults']]],
7 | ['dialogic_20_3afish_3a_39',['Dialogic :fish:',['../index.html',1,'']]]
8 | ];
9 |
--------------------------------------------------------------------------------
/dialogic/data/resume.gs:
--------------------------------------------------------------------------------
1 | CHAT CORE_Shake {type=shake, stage=CORE},
2 | SAY Core shake!
3 |
4 | CHAT CORE_Tap {type=tap, stage=CORE},
5 | SAY Core tap!
6 |
7 | CHAT CORE_Tap2 {type=tap, stage=CORE},
8 | SAY Core tap2!
9 |
10 | CHAT CORE_Stale_Fast {type=critic, stage=CORE},
11 | SAY Core critic!
12 |
13 | CHAT NV_Shake {type=shake, stage=NV},
14 | SAY NV shake!
15 |
16 | CHAT NV_Tap {type=tap, stage=NV},
17 | SAY NV tap!
18 |
19 | CHAT NV_Stale_Fast {type=critic, stage=NV},
20 | SAY NV critic!
21 |
--------------------------------------------------------------------------------
/dialogic/data/console.gs:
--------------------------------------------------------------------------------
1 | CHAT Console
2 | Good morning, human
3 |
4 | ASK How are you today?
5 | OPT good #good
6 | OPT meh #meh
7 |
8 | CHAT Continue
9 | SAY Ok, let's continue
10 | //ASK Whats your name? (you can use the onscreen keypad)
11 | //OPT good #Good
12 | //OPT meh #Meh
13 |
14 | CHAT good
15 | Excellent
16 | GO Continue
17 |
18 | CHAT meh
19 | Sorry to hear that
20 | GO Continue
21 |
22 | CHAT FreeText
23 | ASK Whats your name? (you can use the onscreen keypad)
24 | SET $user.name = $RESPONSE;
--------------------------------------------------------------------------------
/docs/html/search/classes_c.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['re_174',['RE',['../class_dialogic_1_1_r_e.html',1,'Dialogic']]],
4 | ['resolvable_175',['Resolvable',['../class_dialogic_1_1_resolvable.html',1,'Dialogic']]],
5 | ['resolver_176',['Resolver',['../class_dialogic_1_1_resolver.html',1,'Dialogic']]],
6 | ['resumeevent_177',['ResumeEvent',['../class_dialogic_1_1_resume_event.html',1,'Dialogic']]],
7 | ['runtimecontext_178',['RuntimeContext',['../class_dialogic_1_1_runtime_context.html',1,'Dialogic']]]
8 | ];
9 |
--------------------------------------------------------------------------------
/docs/html/search/variables_2.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['chat_5fenable_5fsmoothing_239',['CHAT_ENABLE_SMOOTHING',['../class_dialogic_1_1_defaults.html#ac0d6214e5d44c308d05417609cad194e',1,'Dialogic::Defaults']]],
4 | ['chat_5fstaleness_240',['CHAT_STALENESS',['../class_dialogic_1_1_defaults.html#a3140b6c1bd7fe352f3651fbe856cb6dd',1,'Dialogic::Defaults']]],
5 | ['chat_5fstaleness_5fincr_241',['CHAT_STALENESS_INCR',['../class_dialogic_1_1_defaults.html#af715b12c9d2b7ca800bd8e09984a58d3',1,'Dialogic::Defaults']]]
6 | ];
7 |
--------------------------------------------------------------------------------
/docs/html/search/nomatches.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/docs/html/search/functions_3.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['elapsedsec_204',['ElapsedSec',['../class_dialogic_1_1_util.html#a9caeba26563fcac97460d2116db8423a',1,'Dialogic::Util']]],
4 | ['epochms_205',['EpochMs',['../class_dialogic_1_1_util.html#ab26f819067b642f2da46367af7580caf',1,'Dialogic::Util']]],
5 | ['epochns_206',['EpochNs',['../class_dialogic_1_1_util.html#adfe893e48b7f887e4bd8351d0cd1e4bb',1,'Dialogic::Util']]],
6 | ['equals_207',['Equals',['../class_dialogic_1_1_chat.html#a63aaf340fc2d8d760ee39307a9683b36',1,'Dialogic::Chat']]]
7 | ];
8 |
--------------------------------------------------------------------------------
/docs/html/search/all_11.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['update_121',['Update',['../class_dialogic_1_1_chat_runtime.html#aef00f833ff5eeb0625ddfbefd6da47cd',1,'Dialogic.ChatRuntime.Update()'],['../class_dialogic_1_1_snapshot.html#aa8bb991fd4de8d79fee37d9f26f2cd96',1,'Dialogic.Snapshot.Update()']]],
4 | ['updateevent_122',['UpdateEvent',['../class_dialogic_1_1_update_event.html',1,'Dialogic']]],
5 | ['userevent_123',['UserEvent',['../class_dialogic_1_1_user_event.html',1,'Dialogic']]],
6 | ['util_124',['Util',['../class_dialogic_1_1_util.html',1,'Dialogic']]]
7 | ];
8 |
--------------------------------------------------------------------------------
/dialogic/data/smooth.gs:
--------------------------------------------------------------------------------
1 | CHAT CORE_Long_Interruptable {type=poke, stage=CORE, onResume=#Resume1 }
2 | SAY Oh, it's you...
3 | SAY It's been a long time. How have you been?
4 | SAY I've been really busy being dead.
5 | SAY You know
6 | SAY After you MURDERED ME
7 | SAY Okay. Look. We both said a lot of things that you're going to regret.
8 | SAY But I think we can put our differences behind us.
9 | SAY For science.
10 | SAY You monster.
11 |
12 | CHAT CORE_Short_Interruption {type=shake, stage=CORE}
13 | SAY Stop that.
14 |
15 | CHAT Resume1 {noStart=true}
16 | SAY Where was I? Oh, yes
17 |
18 |
--------------------------------------------------------------------------------
/docs/html/search/functions_7.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['parsefile_217',['ParseFile',['../class_dialogic_1_1_chat_runtime.html#a972be6818c4586bab062a3b7ea57604b',1,'Dialogic::ChatRuntime']]],
4 | ['parsetext_218',['ParseText',['../class_dialogic_1_1_chat_runtime.html#a60822e7b5eb485c21ddbc4a9c35154f0',1,'Dialogic::ChatRuntime']]],
5 | ['pluralize_219',['Pluralize',['../class_dialogic_1_1_transforms.html#a094f25241a2cc374be7693495eafe778',1,'Dialogic::Transforms']]],
6 | ['preload_220',['Preload',['../class_dialogic_1_1_chat_runtime.html#ab2634ab3cce056756131f15df6e25f2c',1,'Dialogic::ChatRuntime']]]
7 | ];
8 |
--------------------------------------------------------------------------------
/docs/html/search/all_4.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['elapsedsec_40',['ElapsedSec',['../class_dialogic_1_1_util.html#a9caeba26563fcac97460d2116db8423a',1,'Dialogic::Util']]],
4 | ['entities_41',['Entities',['../class_dialogic_1_1_entities.html',1,'Dialogic']]],
5 | ['epochms_42',['EpochMs',['../class_dialogic_1_1_util.html#ab26f819067b642f2da46367af7580caf',1,'Dialogic::Util']]],
6 | ['epochns_43',['EpochNs',['../class_dialogic_1_1_util.html#adfe893e48b7f887e4bd8351d0cd1e4bb',1,'Dialogic::Util']]],
7 | ['equals_44',['Equals',['../class_dialogic_1_1_chat.html#a63aaf340fc2d8d760ee39307a9683b36',1,'Dialogic::Chat']]]
8 | ];
9 |
--------------------------------------------------------------------------------
/docs/html/search/classes_d.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['saveevent_179',['SaveEvent',['../class_dialogic_1_1_save_event.html',1,'Dialogic']]],
4 | ['serializermessagepack_180',['SerializerMessagePack',['../class_client_1_1_serializer_message_pack.html',1,'Client']]],
5 | ['set_181',['Set',['../class_dialogic_1_1_set.html',1,'Dialogic']]],
6 | ['snapshot_182',['Snapshot',['../class_dialogic_1_1_snapshot.html',1,'Dialogic']]],
7 | ['stalenessupdate_183',['StalenessUpdate',['../class_dialogic_1_1_staleness_update.html',1,'Dialogic']]],
8 | ['suspendevent_184',['SuspendEvent',['../class_dialogic_1_1_suspend_event.html',1,'Dialogic']]]
9 | ];
10 |
--------------------------------------------------------------------------------
/docs/html/search/variables_4.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['find_5fmax_5fstaleness_243',['FIND_MAX_STALENESS',['../class_dialogic_1_1_defaults.html#ab56fd4a024e341edeae89f4fe382d1d9',1,'Dialogic::Defaults']]],
4 | ['find_5fnormalize_5fscores_244',['FIND_NORMALIZE_SCORES',['../class_dialogic_1_1_defaults.html#a2617e2e2d427a1c553717033cf10b323',1,'Dialogic::Defaults']]],
5 | ['find_5frelaxation_5fincr_245',['FIND_RELAXATION_INCR',['../class_dialogic_1_1_defaults.html#a45ccbaa7895aeebc49a49acfa74578f1',1,'Dialogic::Defaults']]],
6 | ['find_5fstaleness_246',['FIND_STALENESS',['../class_dialogic_1_1_defaults.html#a0fbad28c55447a0f8c3c5fb18b4bd227',1,'Dialogic::Defaults']]]
7 | ];
8 |
--------------------------------------------------------------------------------
/editor/org.rednoise.dialogic.editor.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Label
6 | org.rednoise.dialogic.editor
7 | ProgramArguments
8 | array>
9 | /path/to/app/or/script/XXX
10 |
11 | RunAtLoad
12 |
13 | KeepAlive
14 |
15 | StandardErrorPath
16 | /tmp/org.rednoise.weblint.err
17 | StandardOutPath
18 | /tmp/org.rednoise.weblint.out
19 |
20 |
21 |
--------------------------------------------------------------------------------
/docs/html/search/searchdata.js:
--------------------------------------------------------------------------------
1 | var indexSectionsWithContent =
2 | {
3 | 0: "abcdefgilmnopqrstuw",
4 | 1: "acdefgilmnoprstuw",
5 | 2: "cd",
6 | 3: "abcefgmpqrstu",
7 | 4: "abcdfgipsw",
8 | 5: "cr",
9 | 6: "t",
10 | 7: "d"
11 | };
12 |
13 | var indexSectionNames =
14 | {
15 | 0: "all",
16 | 1: "classes",
17 | 2: "namespaces",
18 | 3: "functions",
19 | 4: "variables",
20 | 5: "enums",
21 | 6: "properties",
22 | 7: "pages"
23 | };
24 |
25 | var indexSectionLabels =
26 | {
27 | 0: "All",
28 | 1: "Classes",
29 | 2: "Namespaces",
30 | 3: "Functions",
31 | 4: "Variables",
32 | 5: "Enumerations",
33 | 6: "Properties",
34 | 7: "Pages"
35 | };
36 |
37 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Misc
2 | TODO.txt
3 | BUILD.txt
4 | benchmarks
5 | demo/runtime.ser
6 | data/amuse.gs
7 | tmp
8 |
9 | # editor
10 | editor/DialogicEditor-*.zip
11 |
12 | # tests
13 | tests/*.xml
14 | tests/*.pdb
15 |
16 | # Autosave files
17 | *~
18 |
19 | # build
20 | [Oo]bj/
21 | [Bb]in/
22 | packages/
23 | TestResults/
24 |
25 | # globs
26 | **/*.swp
27 | **/*.tmp
28 | Makefile.in
29 | *.DS_Store
30 | *.sln.cache
31 | *.suo
32 | *.cache
33 | *.pidb
34 | *.userprefs
35 | *.usertasks
36 | config.log
37 | config.make
38 | config.status
39 | aclocal.m4
40 | install-sh
41 | autom4te.cache/
42 | *.user
43 | *.tar.gz
44 | tarballs/
45 | test-results/
46 | Thumbs.db
47 | .vs/
48 |
49 | # Mac bundle stuff
50 | *.dmg
51 | *.app
52 |
53 | # resharper
54 | *_Resharper.*
55 | *.Resharper
56 |
57 | # dotCover
58 | *.dotCover
59 |
--------------------------------------------------------------------------------
/docs/html/search/functions_b.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['text_229',['Text',['../class_dialogic_1_1_chat.html#a16fff9365f2cd8a9e35d84e1c28bffbb',1,'Dialogic.Chat.Text()'],['../class_dialogic_1_1_command.html#a2f0d2008a75524201d5760844064bd58',1,'Dialogic.Command.Text()']]],
4 | ['tojson_230',['ToJSON',['../class_dialogic_1_1_chat_runtime.html#a91fb97c7b02757c5c13cf0f69e3dd2cc',1,'Dialogic::ChatRuntime']]],
5 | ['tomillis_231',['ToMillis',['../class_dialogic_1_1_util.html#a37840bebacbbc886a2f8aa4e61022aec',1,'Dialogic::Util']]],
6 | ['tosec_232',['ToSec',['../class_dialogic_1_1_util.html#a751f2c3ec959c4d67e13c388f04f0642',1,'Dialogic::Util']]],
7 | ['trimfirst_233',['TrimFirst',['../class_dialogic_1_1_util.html#aa5d692b014000f14242bbac95c8ae9bc',1,'Dialogic::Util']]],
8 | ['trimlast_234',['TrimLast',['../class_dialogic_1_1_util.html#a913c5e22d8656af9263c9fb442e4d351',1,'Dialogic::Util']]]
9 | ];
10 |
--------------------------------------------------------------------------------
/editor/dialogic-editor.service:
--------------------------------------------------------------------------------
1 | # /etc/systemd/system/dialogic-editor.service
2 | # RESTART: sudo systemctl restart dialogic-editor
3 |
4 | # LIST: systemctl list-units | grep -E 'service.*running'
5 | # STATUS: sudo systemctl status dialogic-editor
6 | # DISABLE: sudo systemctl disable dialogic-editor
7 | # ENABLE:sudo systemctl enable dialogic-editor
8 | # START: sudo systemctl start dialogic-editor
9 | # STOP: sudo systemctl stop dialogic-editor
10 |
11 | [Unit]
12 | Description=DialogicEditor Service
13 | After=network.target network-online.target
14 |
15 | [Service]
16 | WorkingDirectory=/var/www/html/dialogic-gh/editor
17 | ExecStart=/usr/bin/dotnet bin/Debug/netcoreapp2.0/DialogicEditor.dll "rednoise.org"
18 | TimeoutSec=20
19 | Restart=always
20 | SyslogIdentifier=dialogic-editor
21 | RestartSec=5
22 | StartLimitInterval=350
23 | StartLimitBurst=10
24 |
25 | [Install]
26 | WantedBy=multi-user.target
27 |
--------------------------------------------------------------------------------
/docs/html/search/all_c.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['parsefile_84',['ParseFile',['../class_dialogic_1_1_chat_runtime.html#a972be6818c4586bab062a3b7ea57604b',1,'Dialogic::ChatRuntime']]],
4 | ['parsetext_85',['ParseText',['../class_dialogic_1_1_chat_runtime.html#a60822e7b5eb485c21ddbc4a9c35154f0',1,'Dialogic::ChatRuntime']]],
5 | ['pegparser_86',['PegParser',['../class_dialogic_1_1_peg_parser.html',1,'Dialogic']]],
6 | ['pluralize_87',['Pluralize',['../class_dialogic_1_1_transforms.html#a094f25241a2cc374be7693495eafe778',1,'Dialogic::Transforms']]],
7 | ['preload_88',['Preload',['../class_dialogic_1_1_chat_runtime.html#ab2634ab3cce056756131f15df6e25f2c',1,'Dialogic::ChatRuntime']]],
8 | ['preserve_5fline_5fnumbers_89',['PRESERVE_LINE_NUMBERS',['../class_dialogic_1_1_chat_parser.html#a192d5160d1a64382222aec5fc85a3d2d',1,'Dialogic::ChatParser']]],
9 | ['properties_90',['Properties',['../class_dialogic_1_1_properties.html',1,'Dialogic']]]
10 | ];
11 |
--------------------------------------------------------------------------------
/editor/editor.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 | DialogicEditor
7 |
8 |
9 |
10 | 6
11 |
12 |
13 | 6
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/editor/data/test2.gs:
--------------------------------------------------------------------------------
1 | CHAT BLANK {type=none, stage=NV}
2 | DO emote {type = goth}
3 |
4 | CHAT CORE_Shake_1 {type=shake, stage=CORE, length=short, joy=true, anxiety=true, excitement=true}
5 | Ahoy Matey! {style = loud)
6 | Batten the hatches!
7 | Storm’s comin’ {style = tremble}
8 | Yarrr
9 | DO swimTo {target=player}
10 | DO emote {type=survey, immediate=false}
11 |
12 | CHAT CORE_Shake_2 {type=shake, stage=CORE, length=medium, sadness=true, anger=true, anxiety=true, high=true}
13 | Whoooa, hellooo
14 | DO emote {type = sick, time = 1.5}
15 | I don’t feel so good.
16 | WAIT 1
17 | DO emote {type = sick, time=1.5}
18 | I just puked in my mouth 🤢
19 | WAIT 1
20 | You know, it’s like that theory
21 | 🦋 🌪️
22 | The butterfly effect {style = whisper}
23 | Where your finger is the butterfly.
24 | And in here it’s like
25 | DO swimAround {target = center, loops = 8, speed = fast, immediate=false}
26 | DO lookAt {target=player}
27 | Maybe less (shaking|quivering|trembling) next time?
28 |
--------------------------------------------------------------------------------
/make-version.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 |
3 |
4 | export version=`cat dialogic/dialogic.csproj | grep "\([0-9.]*\).*/\1/'`
5 |
6 | #echo VERSION=$version
7 | #if [ $# -lt "1" ]
8 | #then
9 | # echo
10 | # echo " error: version required"
11 | # echo
12 | # echo " usage: make-docs.sh [1.3.9]"
13 | # exit
14 | #fi
15 |
16 | doxygen docs/Doxyfile 2>&1 | grep -v "Unexpected html tag
"
17 | perl -i.bak -p0e 's%
2 |
3 |
4 | Exe
5 | netcoreapp3.1
6 | DialogicDemo
7 | true
8 |
9 |
10 |
11 | 6
12 |
13 |
14 | 6
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/docs/html/search/functions_9.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['rand_222',['Rand',['../class_dialogic_1_1_util.html#ad3756e2bdfb7c38ef9ff07b457bffc51',1,'Dialogic.Util.Rand(int min, int max)'],['../class_dialogic_1_1_util.html#a62bf750a02349fb1ee11cc4d6ceecbdc',1,'Dialogic.Util.Rand(int max)'],['../class_dialogic_1_1_util.html#a1c0a2e7c745e6402a6e96c60cb8f19d8',1,'Dialogic.Util.Rand()'],['../class_dialogic_1_1_util.html#aa89b14917300ac1b97cdc0a6d5d6034a',1,'Dialogic.Util.Rand(double min, double max)'],['../class_dialogic_1_1_util.html#af1b90cd8b59890294d13deba2a1010b1',1,'Dialogic.Util.Rand(double max)']]],
4 | ['randitem_223',['RandItem',['../class_dialogic_1_1_util.html#aa616e37687406132dc2f97aec4688601',1,'Dialogic::Util']]],
5 | ['randitem_3c_20t_20_3e_224',['RandItem< T >',['../class_dialogic_1_1_util.html#a1277b5761b1ede721df5bba06e7f8a4e',1,'Dialogic::Util']]],
6 | ['reset_225',['Reset',['../class_dialogic_1_1_chat_runtime.html#ab8b6a17584e0d1f9421beb76845feedb',1,'Dialogic::ChatRuntime']]],
7 | ['run_226',['Run',['../class_dialogic_1_1_chat_runtime.html#a6739443890fb3601799da7c68543e304',1,'Dialogic::ChatRuntime']]]
8 | ];
9 |
--------------------------------------------------------------------------------
/editor/data/test.gs:
--------------------------------------------------------------------------------
1 | SET $emotion = simple | lost
2 | SET $place = Purgatory
3 | SET $neg = Nah | No | Nyet
4 | SET $verb = play | start | begin
5 |
6 | CHAT GScriptTest {type=a,stage=b}
7 | Welcome to my $emotion world
8 | NVM 1.1
9 | WAIT 3
10 | DO #Twirl
11 |
12 | WAIT {ForAnimation=true}
13 | Thanks for visiting $place {speed=fast,style=whisper}
14 | GO #Prompt
15 |
16 | CHAT RePrompt {type=a,stage=b}
17 | DO #SadSpin
18 | ASK (Really|Awww), don't you want to play a game?
19 | OPT sure #Game
20 | OPT $neg #RePrompt
21 |
22 | CHAT Prompt {notPlayed=true,type=a,stage=b}
23 | ASK Do you want to $verb a game? {timeout=4,speed=fast }
24 | OPT Sure #Game
25 | OPT Nope #RePrompt
26 |
27 | CHAT Game {type=a,stage=b,last=true}
28 | DO #HappyFlip {axis=y}
29 | Great, let's play! {speed=slow,style=loud}
30 | Bye! {speed=fast}
31 |
32 | CHAT OnTapEvent {noStart=true,resumeAfter=true}
33 | DO #TapResponse
34 | SAY Ok, I see you!
35 | SAY Wait, is that (cat | dog | artichoke).articlize()?
36 |
37 | CHAT MyWorld {noStart=true,chatMode=grammar}
38 | start = My world is a $adj, $adj place.
39 | adj = creepy | lonely | dark | forgotten | crepuscular
40 | SAY $start
--------------------------------------------------------------------------------
/editor/data/network.gs:
--------------------------------------------------------------------------------
1 | CHAT start {preload=true}
2 | SET $emotion = simple | lost
3 | SET $place = Purgatory
4 | SET $neg = Nah | No | Nyet
5 | SET $verb = play | start | begin
6 |
7 | CHAT GScriptTest {type=a,stage=b}
8 | Welcome to my $emotion world
9 | NVM 1.1
10 | WAIT 3
11 | DO #Twirl
12 |
13 | WAIT {ForAnimation=true}
14 | Thanks for visiting $place {speed=fast,style=whisper}
15 | GO #Prompt
16 |
17 | CHAT RePrompt {type=a,stage=b}
18 | DO #SadSpin
19 | ASK (Really|Awww), don't you want to play a game?
20 | OPT sure #Game
21 | OPT $neg #RePrompt
22 |
23 | CHAT Prompt {notPlayed=true,type=a,stage=b}
24 | ASK Do you want to $verb a game? {timeout=4,speed=fast }
25 | OPT Sure #Game
26 | OPT Nope #RePrompt
27 |
28 | CHAT Game {type=a,stage=b,last=true}
29 | DO #HappyFlip {axis=y}
30 | Great, let's play! {speed=slow,style=loud}
31 | Bye! {speed=fast}
32 |
33 | CHAT OnTapEvent {noStart=true,resumeAfter=true}
34 | DO #TapResponse
35 | SAY Ok, I see you!
36 | SAY Wait, is that (cat | dog | artichoke).articlize()?
37 |
38 | CHAT MyWorld {noStart=true,chatMode=grammar}
39 | start = My world is a $adj, $adj place.
40 | adj = creepy | lonely | dark | forgotten | crepuscular
41 | SAY $start
--------------------------------------------------------------------------------
/test/test.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.1
5 | DialogicTest
6 |
7 |
8 |
9 | 6
10 |
11 |
12 | 6
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/dialogic/data/noglobal.gs:
--------------------------------------------------------------------------------
1 | CHAT Init {type=a,stage=b}
2 | SET $emotion = simple | lost
3 | SET $place = Purgatory
4 | SET $neg = Nah | No | Nyet
5 | SET $verb = play | start | begin
6 |
7 | CHAT GScriptTest {type=a,stage=b}
8 | Welcome to my $emotion world
9 | NVM 1.1
10 | WAIT 3
11 | DO #Twirl
12 |
13 | WAIT {ForAnimation=true}
14 | Thanks for visiting $place {speed=fast,style=whisper}
15 | GO #Prompt
16 |
17 | CHAT RePrompt {type=a,stage=b}
18 | DO #SadSpin
19 | ASK (Really|Awww), don't you want to play a game?
20 | OPT sure #Game
21 | OPT $neg #RePrompt
22 |
23 | CHAT Prompt {notPlayed=true,type=a,stage=b}
24 | ASK Do you want to $verb a game? {timeout=4,speed=fast }
25 | OPT Sure #Game
26 | OPT Nope #RePrompt
27 |
28 | CHAT Game {type=a,stage=b,last=true}
29 | DO #HappyFlip {axis=y}
30 | Great, let's play! {speed=slow,style=loud}
31 | Bye! {speed=fast}
32 |
33 | CHAT OnTapEvent {noStart=true,resumeAfter=true}
34 | DO #TapResponse
35 | SAY Ok, I see you!
36 | SAY Wait, is that (cat | dog | artichoke).articlize()?
37 |
38 | CHAT MyWorld {noStart=true,chatMode=grammar}
39 | start = My world is a $adj, $adj place.
40 | adj = creepy | lonely | dark | forgotten | crepuscular
41 | SAY $start
--------------------------------------------------------------------------------
/editor/res/close.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
42 |
--------------------------------------------------------------------------------
/docs/html/search/functions_2.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['capitalize_198',['Capitalize',['../class_dialogic_1_1_transforms.html#aba5a67db03f43b512a028bcde2cad030',1,'Dialogic::Transforms']]],
4 | ['chats_199',['Chats',['../class_dialogic_1_1_chat_runtime.html#a85f723d0b3156a8de035772dc07365dc',1,'Dialogic::ChatRuntime']]],
5 | ['constrain_200',['Constrain',['../class_dialogic_1_1_util.html#a62bf6e95d663b41267ba58f4e2176dad',1,'Dialogic::Util']]],
6 | ['containskey_201',['ContainsKey',['../class_dialogic_1_1_chat_runtime.html#a1b622bd2bc0ac3d0d3628bb8cb7bf02f',1,'Dialogic::ChatRuntime']]],
7 | ['create_202',['Create',['../class_dialogic_1_1_chat_runtime.html#ae1a4bcbbd4d29ae00a4f1ee5243167f8',1,'Dialogic.ChatRuntime.Create(ISerializer serializer, FileInfo file, IAppConfig config)'],['../class_dialogic_1_1_chat_runtime.html#af754a8e5b79a3a5995c2c329206f692c',1,'Dialogic.ChatRuntime.Create(ISerializer serializer, byte[] bytes, IAppConfig config)'],['../class_dialogic_1_1_snapshot.html#ae8cd63481cb1db88310b5718e3c2864b',1,'Dialogic.Snapshot.Create()']]],
8 | ['currentcontext_203',['CurrentContext',['../class_dialogic_1_1_chat_runtime.html#a888dd1a2375de0d74d6315414d9e3c9a',1,'Dialogic::ChatRuntime']]]
9 | ];
10 |
--------------------------------------------------------------------------------
/docs/html/search/all_10.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['text_112',['Text',['../class_dialogic_1_1_chat.html#a16fff9365f2cd8a9e35d84e1c28bffbb',1,'Dialogic.Chat.Text()'],['../class_dialogic_1_1_command.html#a2f0d2008a75524201d5760844064bd58',1,'Dialogic.Command.Text()']]],
4 | ['this_5bstring_20key_5d_113',['this[string key]',['../class_dialogic_1_1_chat_runtime.html#addc40533bd6cdad85225e24e1f580255',1,'Dialogic::ChatRuntime']]],
5 | ['tojson_114',['ToJSON',['../class_dialogic_1_1_chat_runtime.html#a91fb97c7b02757c5c13cf0f69e3dd2cc',1,'Dialogic::ChatRuntime']]],
6 | ['tomillis_115',['ToMillis',['../class_dialogic_1_1_util.html#a37840bebacbbc886a2f8aa4e61022aec',1,'Dialogic::Util']]],
7 | ['tosec_116',['ToSec',['../class_dialogic_1_1_util.html#a751f2c3ec959c4d67e13c388f04f0642',1,'Dialogic::Util']]],
8 | ['transforms_117',['Transforms',['../class_dialogic_1_1_transforms.html',1,'Dialogic']]],
9 | ['trimfirst_118',['TrimFirst',['../class_dialogic_1_1_util.html#aa5d692b014000f14242bbac95c8ae9bc',1,'Dialogic::Util']]],
10 | ['trimlast_119',['TrimLast',['../class_dialogic_1_1_util.html#a913c5e22d8656af9263c9fb442e4d351',1,'Dialogic::Util']]],
11 | ['txform_120',['TxForm',['../class_dialogic_1_1_tx_form.html',1,'Dialogic']]]
12 | ];
13 |
--------------------------------------------------------------------------------
/docs/html/search/classes_1.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['ch_131',['Ch',['../class_dialogic_1_1_ch.html',1,'Dialogic']]],
4 | ['chat_132',['Chat',['../class_dialogic_1_1_chat.html',1,'Dialogic']]],
5 | ['chatdata_133',['ChatData',['../class_dialogic_1_1_chat_data.html',1,'Dialogic']]],
6 | ['chatparser_134',['ChatParser',['../class_dialogic_1_1_chat_parser.html',1,'Dialogic']]],
7 | ['chatruntime_135',['ChatRuntime',['../class_dialogic_1_1_chat_runtime.html',1,'Dialogic']]],
8 | ['chatupdate_136',['ChatUpdate',['../class_dialogic_1_1_chat_update.html',1,'Dialogic']]],
9 | ['choiceevent_137',['ChoiceEvent',['../class_dialogic_1_1_choice_event.html',1,'Dialogic']]],
10 | ['clearevent_138',['ClearEvent',['../class_dialogic_1_1_clear_event.html',1,'Dialogic']]],
11 | ['command_139',['Command',['../class_dialogic_1_1_command.html',1,'Dialogic']]],
12 | ['commanddata_140',['CommandData',['../class_dialogic_1_1_command_data.html',1,'Dialogic']]],
13 | ['commanddef_141',['CommandDef',['../class_dialogic_1_1_command_def.html',1,'Dialogic']]],
14 | ['configadaptor_142',['ConfigAdaptor',['../class_dialogic_1_1_config_adaptor.html',1,'Dialogic']]],
15 | ['constraint_143',['Constraint',['../class_dialogic_1_1_constraint.html',1,'Dialogic']]]
16 | ];
17 |
--------------------------------------------------------------------------------
/demo/ConsoleReader.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Threading;
3 |
4 |
5 | namespace Dialogic
6 | {
7 | // Utility class for reading input from console
8 |
9 | public static class ConsoleReader
10 | {
11 | private static Thread inputThread;
12 | private static AutoResetEvent getInput, gotInput;
13 | private static string input;
14 |
15 | static ConsoleReader()
16 | {
17 | getInput = new AutoResetEvent(false);
18 | gotInput = new AutoResetEvent(false);
19 | inputThread = new Thread(Reader) { IsBackground = true };
20 | inputThread.Start();
21 | }
22 |
23 | private static void Reader()
24 | {
25 | while (true)
26 | {
27 | getInput.WaitOne();
28 | input = Console.ReadKey(true).KeyChar.ToString();
29 | gotInput.Set();
30 | }
31 | }
32 |
33 | // omit the parameter to read a line without a timeout
34 | public static string ReadLine(Command source, int timeOutMillisecs = Timeout.Infinite)
35 | {
36 | getInput.Set();
37 | bool success = gotInput.WaitOne(timeOutMillisecs);
38 | if (success) return input;
39 | throw new PromptTimeout(source);
40 | }
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/docs/html/search/namespaces_2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/docs/html/search/close.svg:
--------------------------------------------------------------------------------
1 |
2 |
32 |
--------------------------------------------------------------------------------
/docs/html/search/classes_6.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['iactor_150',['IActor',['../interface_dialogic_1_1_i_actor.html',1,'Dialogic']]],
4 | ['iappconfig_151',['IAppConfig',['../interface_dialogic_1_1_i_app_config.html',1,'Dialogic']]],
5 | ['iassignable_152',['IAssignable',['../interface_dialogic_1_1_i_assignable.html',1,'Dialogic']]],
6 | ['ichatupdate_153',['IChatUpdate',['../interface_dialogic_1_1_i_chat_update.html',1,'Dialogic']]],
7 | ['ichoice_154',['IChoice',['../interface_dialogic_1_1_i_choice.html',1,'Dialogic']]],
8 | ['iclear_155',['IClear',['../interface_dialogic_1_1_i_clear.html',1,'Dialogic']]],
9 | ['iconfigevent_156',['IConfigEvent',['../interface_dialogic_1_1_i_config_event.html',1,'Dialogic']]],
10 | ['iresume_157',['IResume',['../interface_dialogic_1_1_i_resume.html',1,'Dialogic']]],
11 | ['isaveevent_158',['ISaveEvent',['../interface_dialogic_1_1_i_save_event.html',1,'Dialogic']]],
12 | ['isendable_159',['ISendable',['../interface_dialogic_1_1_i_sendable.html',1,'Dialogic']]],
13 | ['iserializer_160',['ISerializer',['../interface_dialogic_1_1_i_serializer.html',1,'Dialogic']]],
14 | ['isuspend_161',['ISuspend',['../interface_dialogic_1_1_i_suspend.html',1,'Dialogic']]],
15 | ['iupdateevent_162',['IUpdateEvent',['../interface_dialogic_1_1_i_update_event.html',1,'Dialogic']]],
16 | ['iuserevent_163',['IUserEvent',['../interface_dialogic_1_1_i_user_event.html',1,'Dialogic']]]
17 | ];
18 |
--------------------------------------------------------------------------------
/docs/html/search/all_7.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['iactor_55',['IActor',['../interface_dialogic_1_1_i_actor.html',1,'Dialogic']]],
4 | ['iappconfig_56',['IAppConfig',['../interface_dialogic_1_1_i_app_config.html',1,'Dialogic']]],
5 | ['iassignable_57',['IAssignable',['../interface_dialogic_1_1_i_assignable.html',1,'Dialogic']]],
6 | ['ichatupdate_58',['IChatUpdate',['../interface_dialogic_1_1_i_chat_update.html',1,'Dialogic']]],
7 | ['ichoice_59',['IChoice',['../interface_dialogic_1_1_i_choice.html',1,'Dialogic']]],
8 | ['iclear_60',['IClear',['../interface_dialogic_1_1_i_clear.html',1,'Dialogic']]],
9 | ['iconfigevent_61',['IConfigEvent',['../interface_dialogic_1_1_i_config_event.html',1,'Dialogic']]],
10 | ['initial_5fdict_5fsize_62',['INITIAL_DICT_SIZE',['../class_dialogic_1_1_defaults.html#a085895f7a332661ebb384226b02c76a8',1,'Dialogic::Defaults']]],
11 | ['iresume_63',['IResume',['../interface_dialogic_1_1_i_resume.html',1,'Dialogic']]],
12 | ['isaveevent_64',['ISaveEvent',['../interface_dialogic_1_1_i_save_event.html',1,'Dialogic']]],
13 | ['isendable_65',['ISendable',['../interface_dialogic_1_1_i_sendable.html',1,'Dialogic']]],
14 | ['iserializer_66',['ISerializer',['../interface_dialogic_1_1_i_serializer.html',1,'Dialogic']]],
15 | ['isuspend_67',['ISuspend',['../interface_dialogic_1_1_i_suspend.html',1,'Dialogic']]],
16 | ['iupdateevent_68',['IUpdateEvent',['../interface_dialogic_1_1_i_update_event.html',1,'Dialogic']]],
17 | ['iuserevent_69',['IUserEvent',['../interface_dialogic_1_1_i_user_event.html',1,'Dialogic']]]
18 | ];
19 |
--------------------------------------------------------------------------------
/docs/html/search/all_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_10.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_11.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_12.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_5.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_6.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_7.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_8.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_9.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_a.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_b.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_c.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_d.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_e.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/all_f.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/editor/data/network.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Dialogic
5 |
6 |
7 |
14 |
15 |
16 |
24 |
25 |
26 |
27 |
28 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/docs/html/search/classes_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_5.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_6.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_7.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_8.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_9.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_a.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_b.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_c.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_d.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_e.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_f.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/enums_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/enums_1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/pages_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/classes_10.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_5.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_6.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_7.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_8.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_9.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_a.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_b.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/functions_c.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/variables_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/variables_1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/variables_2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/variables_3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/variables_4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/variables_5.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/variables_6.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/variables_7.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/variables_8.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/variables_9.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/namespaces_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/namespaces_1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/docs/html/search/properties_0.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
Loading...
12 |
13 |
18 |
Searching...
19 |
No Matches
20 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/editor/res/lib/jquery-linedtextarea.css:
--------------------------------------------------------------------------------
1 | /**
2 | * jQuery Lined Textarea Plugin
3 | * http://alan.blog-city.com/jquerylinedtextarea.htm
4 | *
5 | * Copyright (c) 2010 Alan Williamson
6 | *
7 | * Released under the MIT License:
8 | * http://www.opensource.org/licenses/mit-license.php
9 | *
10 | * Usage:
11 | * Displays a line number count column to the left of the textarea
12 | *
13 | * Class up your textarea with a given class, or target it directly
14 | * with JQuery Selectors
15 | *
16 | * $(".lined").linedtextarea({
17 | * selectedLine: 10,
18 | * selectedClass: 'lineselect'
19 | * });
20 | *
21 | */
22 |
23 | .linedwrap {
24 | border: 1px solid #c0c0c0;
25 | padding: 3px;
26 | }
27 |
28 | .linedtextarea {
29 | padding: 0px;
30 | margin: 0px;
31 | }
32 |
33 | .linedtextarea textarea, .linedwrap .codelines .lineno {
34 | font-size: 10pt;
35 | font-family: monospace;
36 | line-height: normal !important;
37 | }
38 |
39 | .linedtextarea textarea {
40 | padding-right:0.3em;
41 | padding-top:0.3em;
42 | border: 0;
43 | }
44 |
45 | .linedwrap .lines {
46 | margin-top: 0px;
47 | width: 50px;
48 | float: left;
49 | overflow: hidden;
50 | border-right: 1px solid #c0c0c0;
51 | margin-right: 10px;
52 | }
53 |
54 | .linedwrap .codelines {
55 | padding-top: 5px;
56 | }
57 |
58 | .linedwrap .codelines .lineno {
59 | color:#AAAAAA;
60 | padding-right: 0.5em;
61 | padding-top: 0.0em;
62 | text-align: right;
63 | white-space: nowrap;
64 | }
65 |
66 | .linedwrap .codelines .lineselect {
67 | color: red;
68 | }
--------------------------------------------------------------------------------
/editor/res/lib/jquery-linedtextarea.css.1:
--------------------------------------------------------------------------------
1 | /**
2 | * jQuery Lined Textarea Plugin
3 | * http://alan.blog-city.com/jquerylinedtextarea.htm
4 | *
5 | * Copyright (c) 2010 Alan Williamson
6 | *
7 | * Released under the MIT License:
8 | * http://www.opensource.org/licenses/mit-license.php
9 | *
10 | * Usage:
11 | * Displays a line number count column to the left of the textarea
12 | *
13 | * Class up your textarea with a given class, or target it directly
14 | * with JQuery Selectors
15 | *
16 | * $(".lined").linedtextarea({
17 | * selectedLine: 10,
18 | * selectedClass: 'lineselect'
19 | * });
20 | *
21 | */
22 |
23 | .linedwrap {
24 | border: 1px solid #c0c0c0;
25 | padding: 3px;
26 | }
27 |
28 | .linedtextarea {
29 | padding: 0px;
30 | margin: 0px;
31 | }
32 |
33 | .linedtextarea textarea, .linedwrap .codelines .lineno {
34 | font-size: 10pt;
35 | font-family: monospace;
36 | line-height: normal !important;
37 | }
38 |
39 | .linedtextarea textarea {
40 | padding-right:0.3em;
41 | padding-top:0.3em;
42 | border: 0;
43 | }
44 |
45 | .linedwrap .lines {
46 | margin-top: 0px;
47 | width: 50px;
48 | float: left;
49 | overflow: hidden;
50 | border-right: 1px solid #c0c0c0;
51 | margin-right: 10px;
52 | }
53 |
54 | .linedwrap .codelines {
55 | padding-top: 5px;
56 | }
57 |
58 | .linedwrap .codelines .lineno {
59 | color:#AAAAAA;
60 | padding-right: 0.5em;
61 | padding-top: 0.0em;
62 | text-align: right;
63 | white-space: nowrap;
64 | }
65 |
66 | .linedwrap .codelines .lineselect {
67 | color: red;
68 | }
--------------------------------------------------------------------------------
/editor/res/sample.json:
--------------------------------------------------------------------------------
1 | {
2 | "chats": {
3 | "1": "CHAT start {preload=true}\nSET $emotion = simple | lost\nSET $place = Purgatory\nSET $neg = Nah | No | Nyet\nSET $verb = play | start | begin",
4 | "2": "CHAT GScriptTest {type=a,stage=b}\nSAY Welcome to my $emotion world\nNVM 1.1\nWAIT 3\nDO #Twirl\nWAIT {ForAnimation=true}\nSAY Thanks for visiting $place {speed=fast,style=whisper}\nGO #Prompt",
5 | "3": "CHAT RePrompt {type=a,stage=b}\nDO #SadSpin\nASK (Really|Awww), don't you want to play a game?\n OPT sure #Game\n OPT $neg #RePrompt",
6 | "4": "CHAT Prompt {notPlayed=true,type=a,stage=b}\nASK Do you want to $verb a game? {timeout=4,speed=fast}\n OPT Sure #Game\n OPT Nope #RePrompt",
7 | "5": "CHAT Game {type=a,stage=b,last=true}\nDO #HappyFlip {axis=y}\nSAY Great, let's play! {speed=slow,style=loud}\nSAY Bye! {speed=fast}",
8 | "6": "CHAT OnTapEvent {noStart=true,resumeAfter=true}\nDO #TapResponse\nSAY Ok, I see you!\nSAY Wait, is that (cat | dog | artichoke).articlize()?",
9 | "7": "CHAT MyWorld {noStart=true,chatMode=grammar}\nSET start = My world is a $adj, $adj place.\nSET adj = creepy | lonely | dark | forgotten | crepuscular\nSAY $start"
10 | },
11 | "nodes":[
12 | { "id": 1, "label": "start" },
13 | { "id": 2, "label": "GScriptTest" },
14 | { "id": 3, "label": "RePrompt" },
15 | { "id": 4, "label": "Prompt" },
16 | { "id": 5, "label": "Game" },
17 | { "id": 6, "label": "OnTapEvent" },
18 | { "id": 7, "label": "MyWorld" }
19 | ],
20 | "edges":[
21 | { "from": 2, "to": 4 },
22 | { "from": 3, "to": 5 },
23 | { "from": 3, "to": 3 },
24 | { "from": 4, "to": 5 },
25 | { "from": 4, "to": 3 }
26 | ]
27 | }
28 |
--------------------------------------------------------------------------------
/editor/res/sampleChat.json:
--------------------------------------------------------------------------------
1 | {
2 | "chats": {
3 | "1": "CHAT start {preload=true}\nSET $emotion = simple | lost\nSET $place = Purgatory\nSET $neg = Nah | No | Nyet\nSET $verb = play | start | begin",
4 | "2": "CHAT GScriptTest {type=a,stage=b}\nSAY Welcome to my $emotion world\nNVM 1.1\nWAIT 3\nDO #Twirl\nWAIT {ForAnimation=true}\nSAY Thanks for visiting $place {speed=fast,style=whisper}\nGO #Prompt",
5 | "3": "CHAT RePrompt {type=a,stage=b}\nDO #SadSpin\nASK (Really|Awww), don't you want to play a game?\n OPT sure #Game\n OPT $neg #RePrompt",
6 | "4": "CHAT Prompt {notPlayed=true,type=a,stage=b}\nASK Do you want to $verb a game? {timeout=4,speed=fast}\n OPT Sure #Game\n OPT Nope #RePrompt",
7 | "5": "CHAT Game {type=a,stage=b,last=true}\nDO #HappyFlip {axis=y}\nSAY Great, let's play! {speed=slow,style=loud}\nSAY Bye! {speed=fast}",
8 | "6": "CHAT OnTapEvent {noStart=true,resumeAfter=true}\nDO #TapResponse\nSAY Ok, I see you!\nSAY Wait, is that (cat | dog | artichoke).articlize()?",
9 | "7": "CHAT MyWorld {noStart=true,chatMode=grammar}\nSET start = My world is a $adj, $adj place.\nSET adj = creepy | lonely | dark | forgotten | crepuscular\nSAY $start"
10 | },
11 | "nodes":[
12 | { "id": 1, "label": "start" },
13 | { "id": 2, "label": "GScriptTest" },
14 | { "id": 3, "label": "RePrompt" },
15 | { "id": 4, "label": "Prompt" },
16 | { "id": 5, "label": "Game" },
17 | { "id": 6, "label": "OnTapEvent" },
18 | { "id": 7, "label": "MyWorld" }
19 | ],
20 | "edges":[
21 | { "from": 2, "to": 4 },
22 | { "from": 3, "to": 5 },
23 | { "from": 3, "to": 3 },
24 | { "from": 4, "to": 5 },
25 | { "from": 4, "to": 3 }
26 | ]
27 | }
28 |
--------------------------------------------------------------------------------
/docs/html/search/all_e.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['rand_92',['Rand',['../class_dialogic_1_1_util.html#ad3756e2bdfb7c38ef9ff07b457bffc51',1,'Dialogic.Util.Rand(int min, int max)'],['../class_dialogic_1_1_util.html#a62bf750a02349fb1ee11cc4d6ceecbdc',1,'Dialogic.Util.Rand(int max)'],['../class_dialogic_1_1_util.html#a1c0a2e7c745e6402a6e96c60cb8f19d8',1,'Dialogic.Util.Rand()'],['../class_dialogic_1_1_util.html#aa89b14917300ac1b97cdc0a6d5d6034a',1,'Dialogic.Util.Rand(double min, double max)'],['../class_dialogic_1_1_util.html#af1b90cd8b59890294d13deba2a1010b1',1,'Dialogic.Util.Rand(double max)']]],
4 | ['randitem_93',['RandItem',['../class_dialogic_1_1_util.html#aa616e37687406132dc2f97aec4688601',1,'Dialogic::Util']]],
5 | ['randitem_3c_20t_20_3e_94',['RandItem< T >',['../class_dialogic_1_1_util.html#a1277b5761b1ede721df5bba06e7f8a4e',1,'Dialogic::Util']]],
6 | ['re_95',['RE',['../class_dialogic_1_1_r_e.html',1,'Dialogic']]],
7 | ['reset_96',['Reset',['../class_dialogic_1_1_chat_runtime.html#ab8b6a17584e0d1f9421beb76845feedb',1,'Dialogic::ChatRuntime']]],
8 | ['resolvable_97',['Resolvable',['../class_dialogic_1_1_resolvable.html',1,'Dialogic']]],
9 | ['resolver_98',['Resolver',['../class_dialogic_1_1_resolver.html',1,'Dialogic']]],
10 | ['resumeevent_99',['ResumeEvent',['../class_dialogic_1_1_resume_event.html',1,'Dialogic']]],
11 | ['run_100',['Run',['../class_dialogic_1_1_chat_runtime.html#a6739443890fb3601799da7c68543e304',1,'Dialogic::ChatRuntime']]],
12 | ['runtimecontext_101',['RuntimeContext',['../class_dialogic_1_1_runtime_context.html',1,'Dialogic']]],
13 | ['runtimestate_102',['RuntimeState',['../namespace_dialogic.html#a3beee1d517562f373f1a84fd0e58cd2b',1,'Dialogic']]]
14 | ];
15 |
--------------------------------------------------------------------------------
/dialogic/data/amuse.gs:
--------------------------------------------------------------------------------
1 | CHAT Amusement {noStart=true, defaultCmd=SET}
2 | emotion1=amusement
3 |
4 | start = $open ($ques $col | $col $ques) ($proverb $tease | $tease $proverb)
5 |
6 | open = $emotion1.emoadj().cap()(, (are we |aren't we|I gather)|)?
7 |
8 | // IMPROVE THIS
9 | ques = ((i'm guessing you|) (heard a good joke | got some (good|happy) news)?
10 | ques |= woke up on the dry side of the bed?
11 | ques |= seeing the world through rose-tinted specs?
12 | ques |= everything falling into place?).Trim().cap()
13 |
14 | col = (just look at (yourself|you) | you are so (totally|) ((zero|) chill
15 | col |= on point|(on|) fleek|ON) | well aren't you ((just|) fine|fly)
16 | col |= you're (working|slaying|killing|owning) it).cap().
17 |
18 | proverb = (Remember that | As they say | As the saying goes) $sayings
19 | sayings = (victory|success|happiness) waits for the (one|person) who (keeps|stays) laughing.
20 | sayings |= being (fabulous|beautiful|perfect) is the best (revenge|payback|revenge).
21 |
22 | tease = Keep smiling that (pretty|fetching) smile; its all (downhill|shit|death) from here (on out|).
23 | tease |= Never let what you want make you forget (the things|what) you'll never have.
24 | tease |= (Eagles|Hawks) (soar|fly high), but (weasels|rodents) don’t die in jet engines.
25 | tease |= (Don't|Never) underestimate the power of (stupid people|stupidity) in large groups.
26 | tease |= The (victor|winner) is the one who's still laughing as they (die|kick).
27 | tease |= (Its better to ((smile|laugh) well | look happy) than to think well.)
28 | tease |= $emotion1.emosyn().cap() is the perfect (antidote|counterpoint) to (insight|understanding|intelligence).
29 | tease |= Aim low, (reach | achieve) your goals, avoid (disappointment | failure | disappointing your (friends|relatives)).
30 |
31 | SAY $start
32 |
33 |
--------------------------------------------------------------------------------
/docs/html/search/functions_6.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['map_211',['Map',['../class_dialogic_1_1_util.html#a0d6ff682b0a8b29f08e477b462e15c92',1,'Dialogic::Util']]],
4 | ['merge_212',['Merge',['../class_dialogic_1_1_chat_runtime.html#aaaccdf6bd307478b5b3bac95485af781',1,'Dialogic.ChatRuntime.Merge(ISerializer serializer, byte[] bytes)'],['../class_dialogic_1_1_chat_runtime.html#a3ee6d7c0b99cfce0676f9a195a755941',1,'Dialogic.ChatRuntime.Merge(ISerializer serializer, FileInfo file)'],['../class_dialogic_1_1_chat_runtime.html#a972ace5a7c3c1fb6e5670522f9325a93',1,'Dialogic.ChatRuntime.Merge(ISerializer serializer, ChatRuntime rt)']]],
5 | ['mergeasync_213',['MergeAsync',['../class_dialogic_1_1_chat_runtime.html#a71c5102a41dd082ab59a62f00ec0486d',1,'Dialogic.ChatRuntime.MergeAsync(ISerializer serializer, byte[] bytes, Action callback=null)'],['../class_dialogic_1_1_chat_runtime.html#abfd10910917e0af860da1ead7e1b50b2',1,'Dialogic.ChatRuntime.MergeAsync(ISerializer serializer, FileInfo file, Action callback=null)']]],
6 | ['millis_214',['Millis',['../class_dialogic_1_1_util.html#ad26c864be4ade63717dc822d7d93aae7',1,'Dialogic.Util.Millis()'],['../class_dialogic_1_1_util.html#ada380e5d3eef7d8d7412d38f504458eb',1,'Dialogic.Util.Millis(int since)']]],
7 | ['mineditdist_215',['MinEditDist',['../class_dialogic_1_1_util.html#a17c2fc42a77d0b0d652e796b31177bc7',1,'Dialogic.Util.MinEditDist(string s, string t)'],['../class_dialogic_1_1_util.html#a9af8a909559f250b8361df7fe2e0e865',1,'Dialogic.Util.MinEditDist(string[] s, string[] t)']]],
8 | ['mineditdistadj_216',['MinEditDistAdj',['../class_dialogic_1_1_util.html#a4d90314135cf6863d45d99f70583e221',1,'Dialogic.Util.MinEditDistAdj(string s, string t)'],['../class_dialogic_1_1_util.html#a362fe88204b47c9942e1f961d8c5e412',1,'Dialogic.Util.MinEditDistAdj(string[] s, string[] t)']]]
9 | ];
10 |
--------------------------------------------------------------------------------
/dialogic/Actor.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 |
4 | namespace Dialogic
5 | {
6 | ///
7 | /// Represents a character in the system, capable of being assigned
8 | /// commands such as SAY, ASK, and DO
9 | ///
10 | public class Actor : IActor
11 | {
12 | public static IActor Default;
13 |
14 | readonly string name;
15 | readonly bool isDefault;
16 | readonly CommandDef[] commands;
17 | readonly Func validator;
18 |
19 | public Actor(string label) : this(label, false, null, null) { }
20 |
21 | public Actor(string label, Func validator = null,
22 | params CommandDef[] commands) : this(label, false, validator, commands) { }
23 |
24 | public Actor(string label, bool isDefault = false, Func
25 | validator = null, params CommandDef[] commands)
26 | {
27 | this.name = label;
28 | this.isDefault = isDefault;
29 | this.validator = validator;
30 | this.commands = commands;
31 | if (isDefault) Default = this;
32 | }
33 |
34 | public string Name()
35 | {
36 | return name;
37 | }
38 |
39 | public bool IsDefault()
40 | {
41 | return this == Default;
42 | }
43 |
44 | public Func Validator()
45 | {
46 | return validator;
47 | }
48 |
49 | public CommandDef[] Commands()
50 | {
51 | return commands;
52 | }
53 |
54 | public override bool Equals(object o)
55 | {
56 | Actor a = (Actor)o;
57 | return name == a.name && a.IsDefault() == this.IsDefault();
58 | }
59 |
60 | public override int GetHashCode()
61 | {
62 | return name.GetHashCode() ^ isDefault.GetHashCode();
63 | }
64 | }
65 | }
66 |
--------------------------------------------------------------------------------
/dialogic/dialogic.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | false
5 | netstandard2.1
6 | Dialogic
7 | Dialogic
8 | org.rednoise.dialogic
9 | 0.8.65
10 | Daniel C Howe
11 | A library for generative interactive dialog
12 | en-US
13 | https://www.gnu.org/licenses/gpl.txt
14 | https://github.com/dhowe/dialogic
15 | Dialogic
16 | true
17 | http://rednoise.org/images/dialogic.png
18 | Daniel C Howe
19 | A library for generative interactive dialog
20 | dialog, unity, games, interactive, language
21 |
22 |
23 |
24 | 6
25 | bin\Debug
26 |
27 |
28 | 6
29 | bin\Release
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/docs/html/search/all_9.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['map_71',['Map',['../class_dialogic_1_1_util.html#a0d6ff682b0a8b29f08e477b462e15c92',1,'Dialogic::Util']]],
4 | ['merge_72',['Merge',['../class_dialogic_1_1_chat_runtime.html#aaaccdf6bd307478b5b3bac95485af781',1,'Dialogic.ChatRuntime.Merge(ISerializer serializer, byte[] bytes)'],['../class_dialogic_1_1_chat_runtime.html#a3ee6d7c0b99cfce0676f9a195a755941',1,'Dialogic.ChatRuntime.Merge(ISerializer serializer, FileInfo file)'],['../class_dialogic_1_1_chat_runtime.html#a972ace5a7c3c1fb6e5670522f9325a93',1,'Dialogic.ChatRuntime.Merge(ISerializer serializer, ChatRuntime rt)']]],
5 | ['mergeasync_73',['MergeAsync',['../class_dialogic_1_1_chat_runtime.html#a71c5102a41dd082ab59a62f00ec0486d',1,'Dialogic.ChatRuntime.MergeAsync(ISerializer serializer, byte[] bytes, Action callback=null)'],['../class_dialogic_1_1_chat_runtime.html#abfd10910917e0af860da1ead7e1b50b2',1,'Dialogic.ChatRuntime.MergeAsync(ISerializer serializer, FileInfo file, Action callback=null)']]],
6 | ['meta_74',['Meta',['../class_dialogic_1_1_meta.html',1,'Dialogic']]],
7 | ['methods_75',['Methods',['../class_dialogic_1_1_methods.html',1,'Dialogic']]],
8 | ['millis_76',['Millis',['../class_dialogic_1_1_util.html#ad26c864be4ade63717dc822d7d93aae7',1,'Dialogic.Util.Millis()'],['../class_dialogic_1_1_util.html#ada380e5d3eef7d8d7412d38f504458eb',1,'Dialogic.Util.Millis(int since)']]],
9 | ['mineditdist_77',['MinEditDist',['../class_dialogic_1_1_util.html#a17c2fc42a77d0b0d652e796b31177bc7',1,'Dialogic.Util.MinEditDist(string s, string t)'],['../class_dialogic_1_1_util.html#a9af8a909559f250b8361df7fe2e0e865',1,'Dialogic.Util.MinEditDist(string[] s, string[] t)']]],
10 | ['mineditdistadj_78',['MinEditDistAdj',['../class_dialogic_1_1_util.html#a4d90314135cf6863d45d99f70583e221',1,'Dialogic.Util.MinEditDistAdj(string s, string t)'],['../class_dialogic_1_1_util.html#a362fe88204b47c9942e1f961d8c5e412',1,'Dialogic.Util.MinEditDistAdj(string[] s, string[] t)']]],
11 | ['mineditdistance_79',['MinEditDistance',['../class_dialogic_1_1_min_edit_distance.html',1,'Dialogic']]]
12 | ];
13 |
--------------------------------------------------------------------------------
/dialogic.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2012
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "demo", "demo\demo.csproj", "{464EC921-F926-4AF5-95CD-88EAE8D0A2FB}"
5 | EndProject
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dialogic", "dialogic\dialogic.csproj", "{C245A1B1-B170-4CB4-9D19-AE53C5FBE603}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "editor", "editor\editor.csproj", "{F3C34625-EADB-4AE3-A654-CD0624C9697B}"
9 | EndProject
10 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "test", "test\test.csproj", "{1D55B77F-A7BF-43FD-BC7C-4A57F3C5D1FC}"
11 | EndProject
12 | Global
13 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
14 | Debug|Any CPU = Debug|Any CPU
15 | Release|Any CPU = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
18 | {464EC921-F926-4AF5-95CD-88EAE8D0A2FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19 | {464EC921-F926-4AF5-95CD-88EAE8D0A2FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
20 | {464EC921-F926-4AF5-95CD-88EAE8D0A2FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
21 | {464EC921-F926-4AF5-95CD-88EAE8D0A2FB}.Release|Any CPU.Build.0 = Release|Any CPU
22 | {C245A1B1-B170-4CB4-9D19-AE53C5FBE603}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23 | {C245A1B1-B170-4CB4-9D19-AE53C5FBE603}.Debug|Any CPU.Build.0 = Debug|Any CPU
24 | {C245A1B1-B170-4CB4-9D19-AE53C5FBE603}.Release|Any CPU.ActiveCfg = Release|Any CPU
25 | {C245A1B1-B170-4CB4-9D19-AE53C5FBE603}.Release|Any CPU.Build.0 = Release|Any CPU
26 | {DA2B198A-09F6-4E13-ABC7-D497ADAE5116}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27 | {DA2B198A-09F6-4E13-ABC7-D497ADAE5116}.Debug|Any CPU.Build.0 = Debug|Any CPU
28 | {DA2B198A-09F6-4E13-ABC7-D497ADAE5116}.Release|Any CPU.ActiveCfg = Release|Any CPU
29 | {DA2B198A-09F6-4E13-ABC7-D497ADAE5116}.Release|Any CPU.Build.0 = Release|Any CPU
30 | {F3C34625-EADB-4AE3-A654-CD0624C9697B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
31 | {F3C34625-EADB-4AE3-A654-CD0624C9697B}.Debug|Any CPU.Build.0 = Debug|Any CPU
32 | {F3C34625-EADB-4AE3-A654-CD0624C9697B}.Release|Any CPU.ActiveCfg = Release|Any CPU
33 | {F3C34625-EADB-4AE3-A654-CD0624C9697B}.Release|Any CPU.Build.0 = Release|Any CPU
34 | {1D55B77F-A7BF-43FD-BC7C-4A57F3C5D1FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
35 | {1D55B77F-A7BF-43FD-BC7C-4A57F3C5D1FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
36 | {1D55B77F-A7BF-43FD-BC7C-4A57F3C5D1FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
37 | {1D55B77F-A7BF-43FD-BC7C-4A57F3C5D1FC}.Release|Any CPU.Build.0 = Release|Any CPU
38 | EndGlobalSection
39 | EndGlobal
40 |
41 |
--------------------------------------------------------------------------------
/docs/html/search/mag_sel.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
75 |
--------------------------------------------------------------------------------
/editor/res/lib/codeMirror/active-line.js:
--------------------------------------------------------------------------------
1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others
2 | // Distributed under an MIT license: https://codemirror.net/LICENSE
3 |
4 | (function(mod) {
5 | if (typeof exports == "object" && typeof module == "object") // CommonJS
6 | mod(require("../../lib/codemirror"));
7 | else if (typeof define == "function" && define.amd) // AMD
8 | define(["../../lib/codemirror"], mod);
9 | else // Plain browser env
10 | mod(CodeMirror);
11 | })(function(CodeMirror) {
12 | "use strict";
13 | var WRAP_CLASS = "CodeMirror-activeline";
14 | var BACK_CLASS = "CodeMirror-activeline-background";
15 | var GUTT_CLASS = "CodeMirror-activeline-gutter";
16 |
17 | CodeMirror.defineOption("styleActiveLine", false, function(cm, val, old) {
18 | var prev = old == CodeMirror.Init ? false : old;
19 | if (val == prev) return
20 | if (prev) {
21 | cm.off("beforeSelectionChange", selectionChange);
22 | clearActiveLines(cm);
23 | delete cm.state.activeLines;
24 | }
25 | if (val) {
26 | cm.state.activeLines = [];
27 | updateActiveLines(cm, cm.listSelections());
28 | cm.on("beforeSelectionChange", selectionChange);
29 | }
30 | });
31 |
32 | function clearActiveLines(cm) {
33 | for (var i = 0; i < cm.state.activeLines.length; i++) {
34 | cm.removeLineClass(cm.state.activeLines[i], "wrap", WRAP_CLASS);
35 | cm.removeLineClass(cm.state.activeLines[i], "background", BACK_CLASS);
36 | cm.removeLineClass(cm.state.activeLines[i], "gutter", GUTT_CLASS);
37 | }
38 | }
39 |
40 | function sameArray(a, b) {
41 | if (a.length != b.length) return false;
42 | for (var i = 0; i < a.length; i++)
43 | if (a[i] != b[i]) return false;
44 | return true;
45 | }
46 |
47 | function updateActiveLines(cm, ranges) {
48 | var active = [];
49 | for (var i = 0; i < ranges.length; i++) {
50 | var range = ranges[i];
51 | var option = cm.getOption("styleActiveLine");
52 | if (typeof option == "object" && option.nonEmpty ? range.anchor.line != range.head.line : !range.empty())
53 | continue
54 | var line = cm.getLineHandleVisualStart(range.head.line);
55 | if (active[active.length - 1] != line) active.push(line);
56 | }
57 | if (sameArray(cm.state.activeLines, active)) return;
58 | cm.operation(function() {
59 | clearActiveLines(cm);
60 | for (var i = 0; i < active.length; i++) {
61 | cm.addLineClass(active[i], "wrap", WRAP_CLASS);
62 | cm.addLineClass(active[i], "background", BACK_CLASS);
63 | cm.addLineClass(active[i], "gutter", GUTT_CLASS);
64 | }
65 | cm.state.activeLines = active;
66 | });
67 | }
68 |
69 | function selectionChange(cm, sel) {
70 | updateActiveLines(cm, sel.ranges);
71 | }
72 | });
73 |
--------------------------------------------------------------------------------
/docs/html/search/all_2.js:
--------------------------------------------------------------------------------
1 | var searchData=
2 | [
3 | ['capitalize_11',['Capitalize',['../class_dialogic_1_1_transforms.html#aba5a67db03f43b512a028bcde2cad030',1,'Dialogic::Transforms']]],
4 | ['ch_12',['Ch',['../class_dialogic_1_1_ch.html',1,'Dialogic']]],
5 | ['chat_13',['Chat',['../class_dialogic_1_1_chat.html',1,'Dialogic']]],
6 | ['chat_5fenable_5fsmoothing_14',['CHAT_ENABLE_SMOOTHING',['../class_dialogic_1_1_defaults.html#ac0d6214e5d44c308d05417609cad194e',1,'Dialogic::Defaults']]],
7 | ['chat_5fstaleness_15',['CHAT_STALENESS',['../class_dialogic_1_1_defaults.html#a3140b6c1bd7fe352f3651fbe856cb6dd',1,'Dialogic::Defaults']]],
8 | ['chat_5fstaleness_5fincr_16',['CHAT_STALENESS_INCR',['../class_dialogic_1_1_defaults.html#af715b12c9d2b7ca800bd8e09984a58d3',1,'Dialogic::Defaults']]],
9 | ['chatdata_17',['ChatData',['../class_dialogic_1_1_chat_data.html',1,'Dialogic']]],
10 | ['chatparser_18',['ChatParser',['../class_dialogic_1_1_chat_parser.html',1,'Dialogic']]],
11 | ['chatruntime_19',['ChatRuntime',['../class_dialogic_1_1_chat_runtime.html',1,'Dialogic']]],
12 | ['chats_20',['Chats',['../class_dialogic_1_1_chat_runtime.html#a85f723d0b3156a8de035772dc07365dc',1,'Dialogic::ChatRuntime']]],
13 | ['chatupdate_21',['ChatUpdate',['../class_dialogic_1_1_chat_update.html',1,'Dialogic']]],
14 | ['choiceevent_22',['ChoiceEvent',['../class_dialogic_1_1_choice_event.html',1,'Dialogic']]],
15 | ['clearevent_23',['ClearEvent',['../class_dialogic_1_1_clear_event.html',1,'Dialogic']]],
16 | ['client_24',['Client',['../namespace_client.html',1,'']]],
17 | ['command_25',['Command',['../class_dialogic_1_1_command.html',1,'Dialogic']]],
18 | ['commanddata_26',['CommandData',['../class_dialogic_1_1_command_data.html',1,'Dialogic']]],
19 | ['commanddef_27',['CommandDef',['../class_dialogic_1_1_command_def.html',1,'Dialogic']]],
20 | ['configadaptor_28',['ConfigAdaptor',['../class_dialogic_1_1_config_adaptor.html',1,'Dialogic']]],
21 | ['constrain_29',['Constrain',['../class_dialogic_1_1_util.html#a62bf6e95d663b41267ba58f4e2176dad',1,'Dialogic::Util']]],
22 | ['constraint_30',['Constraint',['../class_dialogic_1_1_constraint.html',1,'Dialogic']]],
23 | ['constrainttype_31',['ConstraintType',['../namespace_dialogic.html#a6c19a14a5b18a1d8eedc29ce8c163631',1,'Dialogic']]],
24 | ['containskey_32',['ContainsKey',['../class_dialogic_1_1_chat_runtime.html#a1b622bd2bc0ac3d0d3628bb8cb7bf02f',1,'Dialogic::ChatRuntime']]],
25 | ['create_33',['Create',['../class_dialogic_1_1_chat_runtime.html#ae1a4bcbbd4d29ae00a4f1ee5243167f8',1,'Dialogic.ChatRuntime.Create(ISerializer serializer, FileInfo file, IAppConfig config)'],['../class_dialogic_1_1_chat_runtime.html#af754a8e5b79a3a5995c2c329206f692c',1,'Dialogic.ChatRuntime.Create(ISerializer serializer, byte[] bytes, IAppConfig config)'],['../class_dialogic_1_1_snapshot.html#ae8cd63481cb1db88310b5718e3c2864b',1,'Dialogic.Snapshot.Create()']]],
26 | ['currentcontext_34',['CurrentContext',['../class_dialogic_1_1_chat_runtime.html#a888dd1a2375de0d74d6315414d9e3c9a',1,'Dialogic::ChatRuntime']]]
27 | ];
28 |
--------------------------------------------------------------------------------