Lasse Öörni
|
7b15b34c83
Removed most OnGetAttribute() / OnSetAttribute() functions in favor of accessor attributes.
|
14 years ago |
Lasse Öörni
|
a956f2ff20
Fixed bugs in Vector & PODVector.
|
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
|
b64d298336
Added template Variant::Get() functions.
|
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
|
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
|
03e19a7ac2
Event refactoring. Now it is possible to subscribe to events of a specific sender. To be able to send events, one must also derive from EventListener.
|
15 years ago |
Lasse Öörni
|
19acc85c8a
Added delay-executed method calls to ScriptInstance.
|
15 years ago |
Lasse Öörni
|
523559f1a0
Added setFixedUpdateFps() to ScriptInstance.
|
15 years ago |
Lasse Öörni
|
d1bf5d5702
Added getResourceRefs() function to Component.
|
15 years ago |
Lasse Öörni
|
7cc3d7d842
Script API fixes and additions.
|
15 years ago |
Lasse Öörni
|
21152191ac
Added Engine::setDefaultScene(). The default scene will always be accessible as the "scene" global property.
|
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
|
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
|
b9250e7c04
Ninja movement, controls & camera update in ScriptTest.
|
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
|
902dfd4a13
Re-commit for the new year. Let's aim for less wiki update spam this time!
|
15 years ago |