Christopher
066bb719a9
Refactored FungusLua classes to match layout in main Fungus project.
8 years ago
Christopher
69d9d2e3c3
Reorganised FungusLua scripts to match main Fungus project
8 years ago
Christopher
56e413a224
Reorganised Fungus folder structure
8 years ago
Christopher
49278bf84c
Refactored StringSubstituter to use IStringSubstituter interface
8 years ago
Christopher
8e1584f8c6
Refactored LuaUtils to use ILuaUtils interface
8 years ago
Christopher
501cb34247
Refactored LuaEnvironment to use ILuaEnvironment 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
Christopher
4d331c34c2
Misc tidy up pass
8 years ago
Christopher
f130385f6f
Changed comment style on header block
8 years ago
Christopher
83bc89c1ab
Refactored FungusLua comments
8 years ago
Christopher
9be184b25e
Fixed Lua set language function
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
Christopher
46c4b25eb6
Renamed SyncSetDialog to SetSayDialog
8 years ago
lealeelu
82d35bf5de
Sync active say dialog when Lua sets the say dialog
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
83fc09272c
Refactored ConversationManager to do text processing in two distinct phases.
8 years ago
lealeelu
7420ffeefb
Create Conversation Function in LuaUtils
8 years ago
Christopher
4c786232d8
Added Preprocessor support for LuaEnvironment / LuaUtils
9 years ago
Christopher
67adbab9a0
Added open source license header to all source files
9 years ago
Christopher
0eac532b35
String substitution uses StringBuilder to avoid string allocations
9 years ago
Chris Gregan
0351c0f1f9
All Environments option for LuaBindings
...
Lua prefab only registers bindings with itself
9 years ago
Chris Gregan
4f9b751b09
Added PlayerPrefs to LuaUtils
9 years ago
Chris Gregan
5e6da47196
Removed timeScale
9 years ago
Chris Gregan
4b02c434fe
Removed timescale functions
...
This doesn’t really do anything to solve the timescale issues with
Fungus, so removing it for simplicity.
9 years ago
chrisgregan
b660db2273
Changed format of string tables to JSON
9 years ago
chrisgregan
f151410ce5
Moved FungusLua to Thirdparty folder
...
FungusLua can be used as a standalone asset, so it’s going in third
party to keep it isolated from the rest of the Fungus project
9 years ago
chrisgregan
eccd1fecf5
Change type registration to use JSON
9 years ago
chrisgregan
6430399365
Moved FungusLua under Fungus folder
9 years ago
chrisgregan
a9b88e1003
Handle the case where an extension type starts with E:
9 years ago
chrisgregan
1bd0521db5
Avoid type registration warnings when Fungus is not installed
9 years ago
chrisgregan
f29d89ad47
Moved all Lua code to FungusLua top level folder
9 years ago
chrisgregan
55a261b6ac
Fungus table is deleted when in globals mode
9 years ago
chrisgregan
da0a6fcf0a
Use fungus helper methods as globals or under 'fungus' global.
9 years ago
chrisgregan
a66c1a3f3d
Improved how fungus lua module is initialized
9 years ago
chrisgregan
734ca8c870
Extensible string substitution system
...
String substitution now works for Fungus variables, localisation keys,
Lua global variables and string variable keys. The system can be easily
extended by implementing the ISubstitutionHandler interface.
9 years ago
chrisgregan
a7064c455e
Combine the unity table with the fungus table
9 years ago
chrisgregan
cf589b2475
Moved stringtable to unity table
9 years ago
chrisgregan
b71e2674f8
Added Spawn method for spawning a game object from a resource
9 years ago
chrisgregan
b4b62f22cf
Exposed common GameObject methods like Find, Instantiate, Destroy
9 years ago
chrisgregan
762d1f8a81
Added LuaStore component and prefab to persist values across scene loads
9 years ago
chrisgregan
8d5fedd699
Renamed fungus.fungusprefs to fungus.prefs
9 years ago
chrisgregan
28469a9119
Display line numbers in Lua error messages
9 years ago
chrisgregan
a6ea00536b
Added abstract Initialiser class for extending initialisation behavior
9 years ago
chrisgregan
77504aa59d
Split LuaEnvironment into LuaEnvironment & LuaUtils components
9 years ago