Lasse Öörni
|
ffce296795
Further cleanup of exceptions.
|
15 years ago |
Lasse Öörni
|
d4666eaacb
Added snowballs to the scripted NinjaSnowWar.
|
15 years ago |
Lasse Öörni
|
6d015d064a
ScriptFile method search cache.
|
15 years ago |
Lasse Öörni
|
79df63289c
ScriptInstance & ScriptFile no longer allocate own script contexts. Instead ScriptEngine preallocates a fixed number of script contexts, to account for the maximum allowed script execution nesting level.
|
15 years ago |
Lasse Öörni
|
174ba5cdb5
Refactoring of script object creation.
|
15 years ago |
Lasse Öörni
|
956cac7648
Script reloading support. ScriptInstances register themselves with ScriptFile so that on reload, objects can be deleted and recreated.
|
15 years ago |
Lasse Öörni
|
044ef4d5a9
Exposed Engine's runFrame() and associated sub-functions to script.
|
15 years ago |
Lasse Öörni
|
5d53f2240a
Check that script classes implement the empty "ScriptObject" interface.
|
15 years ago |
Lasse Öörni
|
c13916474e
Allow access to the ScriptInstance's object from script. The object should implement the empty interface "ScriptObject", so that a handle to it can be correctly returned.
|
15 years ago |
Lasse Öörni
|
19d0ed0e45
Added ScriptTest example, which will be a script-based (partial) reimplementation of NinjaSnowWar.
|
15 years ago |
Lasse Öörni
|
8efc696275
Added #include directive for scripts.
|
15 years ago |
Lasse Öörni
|
a37f84c0a6
Added procedural scripted event handling support.
|
15 years ago |
Lasse Öörni
|
e488c7a155
Scene throws exception if null file specified for async load.
|
15 years ago |
Lasse Öörni
|
24ef4f94f3
Moved most of the script API registration to Engine library.
|
15 years ago |
Lasse Öörni
|
ad9edd8e72
Moved NinjaSnowWar audio initialization to script for quick verification of the script API.
|
15 years ago |
Lasse Öörni
|
902dfd4a13
Re-commit for the new year. Let's aim for less wiki update spam this time!
|
15 years ago |