Lasse Öörni
|
9a5cbb6016
More documentation.
|
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
|
02ffc5801c
Component enum & resource editing.
|
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
|
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
|
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
|
fba7a7dba1
Removed some exceptions. Now failing to load a resource returns a null pointer instead of throwing an exception.
|
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
|
916b30bcb3
Removed exception throwing from XMLElement code.
|
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
|
902dfd4a13
Re-commit for the new year. Let's aim for less wiki update spam this time!
|
15 years ago |