Lasse Öörni
|
516b532a8f
Refactored StringUtils as member functions of String & the classes to be converted.
|
14 years ago |
Lasse Öörni
|
d69efd65f0
Container library fixes.
|
14 years ago |
Lasse Öörni
|
565de1ad02
Moved some of StringUtils functions to the String class.
|
14 years ago |
Lasse Öörni
|
7c45da5588
Import new code.
|
14 years ago |
Lasse Öörni
|
a48885a729
Make way for import of new code.
|
14 years ago |
Lasse Öörni
|
bdf76d2445
Refactored ScriptInstance recreation when the ScriptFile is reloaded. Now it uses events. Same system used also for CollisionShapes and Models to ensure proper reloading.
|
14 years ago |
Lasse Öörni
|
e2335ec26e
Initial component editing.
|
14 years ago |
Lasse Öörni
|
a31265fb65
Further input fixes.
|
15 years ago |
Lasse Öörni
|
fa7cf0041f
EventListener refactoring for safety.
|
15 years ago |
Lasse Öörni
|
9ef192a337
Common ScriptFile uninit code moved to releaseModule() function.
|
15 years ago |
Lasse Öörni
|
c492a2ee69
Added the scriptFile property for accessing the currently executing script file.
|
15 years ago |
Lasse Öörni
|
9a640e1d10
Moved minimum & maximum size to UIElement.
|
15 years ago |
Lasse Öörni
|
553b5055ad
Exposed EventListener, sending events to any EventListener (not just entities or components) and subscribing to sender specific events to script.
|
15 years ago |
Lasse Öörni
|
19acc85c8a
Added delay-executed method calls to ScriptInstance.
|
15 years ago |
Lasse Öörni
|
e6d971139d
Fixed incorrect stencil clearing in deferred rendering when there is a point light which has some sides unshadowed.
|
15 years ago |
Lasse Öörni
|
bb67b6d7fe
Playable scripted NinjaSnowWar.
|
15 years ago |
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 |