Christopher
d9209ebc2f
Refactored MenuDialog to use IMenuDialog interface
8 years ago
Christopher
fe3e1b854b
Refactored SayDialog to use an ISayDialog interface
8 years ago
Christopher
cc4406a8fb
Change all public properties to use virtual
8 years ago
Sercan Altun
00ac0647ad
Fix Regex for character names with "." & "'"
...
Old Regex expression did not capture Character names with "." and "'". As a result characters with names like "Mr. Jones" or "Ab'ar" were not registering correctly.
I added . & ' characters into Regex. We may need to add some more characters in future.
8 years ago
Christopher
2082e1e2e7
Use #region to mark interface implementations
8 years ago
Christopher
5495ed8ebf
Tidied up editor using statements.
8 years ago
Christopher
ce92029918
Refactored comments
8 years ago
Christopher
f130385f6f
Changed comment style on header block
8 years ago
Christopher
2b3d3c9ba4
Removed unnecessary newline
8 years ago
Christopher
f94e46e42d
Refactored narrative comments
8 years ago
Christopher
8f0de35f20
Refactored UI scripts
8 years ago
Christopher
9ead74d659
Refactored Narrative scripts to use protected fields with public property accessors
8 years ago
lealeelu
1312b78001
Add <<< and >>> to stage commands
8 years ago
Christopher
83c12c7e76
Refactored many classes to use protected serialisable fields, with public property accessors where required.
8 years ago
Christopher
239bf8fefe
Converted tabs to spaces in all .cs files
8 years ago
lealeelu
26e33808ec
Fix portrait hide bug in Conversation Function
8 years ago
Christopher
37fd23ad45
Fixed Unresponsive SayDialog after ClearMenu or *.StopAllBlocks(); #518
8 years ago
lealeelu
80372fb55f
Bail out first thing if comment
8 years ago
lealeelu
9bd1b806a6
Bugfix for when portrait field is blank
8 years ago
Christopher
e3660dc6bc
Use quotes for identifiers containing spaces instead of commas. Hide parameter can be in any position in params.
8 years ago
Christopher
38ee8605a1
Hide characters in conversation e.g. john hide:
8 years ago
Christopher
921891f255
Fixed stage.Show() not fading in a previously faded out character if portrait hasn't changed.
8 years ago
Christopher
c136b5590e
Made it easier to resize the default SayDialog
8 years ago
Christopher
199f74ecba
Fixed NullReferenceException with nameText in SayDialog #517
8 years ago
Christopher
c2079d2613
Set inline SayDialog portraits if no Stage present
8 years ago
Christopher
858cbad3f3
Conversation command support string substitution
8 years ago
Christopher
ece7d26f52
Ensure the character cache is populated before accessing it
8 years ago
Christopher
edaff879b1
Fixes for single line conversation and trimming whitespace on story text.
8 years ago
Christopher
f79c04f8e0
Added Conversation command
8 years ago
Christopher
964a1e504a
Fixed incorrect portraits and positioning across multiple conversation() commands
8 years ago
Christopher
c95dd146fc
Fix portraits not moving into new position
8 years ago
Christopher
2c07403cad
Use SayDialog specified in Character.SetSayDialog property if present
8 years ago
Christopher
b77fb1dd58
Renamed Conversation class to ConversationManager. Documented conversation() function in Lua.
8 years ago
Christopher
0075f24ced
Renamed and Moved ConversationManager class
8 years ago
Christopher
057772cf28
Fix if no EventSystem present in scene
8 years ago
Christopher
3234aecee8
Removed cached portraits
8 years ago
Christopher
19cbab7112
Changed PortraitOptions and PortraitState to use class instead of struct. MoonSharp doesn't work well with structs.
8 years ago
lealeelu
4992ea9925
Cache stage and portrait info and add ability to rearrange params
8 years ago
lealeelu
7420ffeefb
Create Conversation Function in LuaUtils
8 years ago
Christopher
9314253257
Duplicated default dialog image to avoid breaking dialogs in existing scenes.
8 years ago
Christopher
1b1cfa7c4f
Default dialog box now fits in a 5:4 ratio display. Also changed the dialog image to be sliced, so can be resized to any width / height required.
8 years ago
Christopher
fc2713ddcd
Fixed dialog input causing an exception if no Event System is present.
8 years ago
Christopher
5382f84f2e
Fix for compile error for folks upgrading using the Fungus 3 unitypackage
8 years ago
Christopher
deeb5259e6
Fixed Fungus Lua setcharacter bug #503
9 years ago
Gerardo Marset
6337bf19fd
Cache the current StandaloneInputModule.
9 years ago
Gerardo Marset
8018abcf15
Remove stray unneeded option.
9 years ago
Gerardo Marset
f67cbf0705
Better follow the project's coding standards.
9 years ago
Gerardo Marset
c1d1dc901e
Allow for options to be picked without clicking.
9 years ago
Gerardo Marset
4b3a4bf32b
Simplify DialogInput to use Unity's InputManager.
9 years ago
Christopher
67adbab9a0
Added open source license header to all source files
9 years ago