Lasse Öörni
|
a5ff4f43c6
Avoid calling asGetActiveContext() in template functions, as it might result in undefined symbol when used in application code with shared library Urho3D build. Make GetScriptContext() safe to call when it would return null. Provide function GetActiveASContext() (in ScriptInstance.h) as a wrapper.
|
8 years ago |
Lasse Öörni
|
883b5105cb
Merge branch 'master' into update-angelscript
|
9 years ago |
urho3d-travis-ci
|
ee054a1507
Travis CI: bump copyright to 2017.
|
9 years ago |
Lasse Öörni
|
dae1c615a9
Initial work to update to AngelScript 2.31.2.
|
9 years ago |
Lasse Öörni
|
a2d26d8797
AngelScript ScriptInstance attribute storage during hot reload. Also restores attributes for later use if hot reload resulted in an error and inability to recreate the object right away. Closes #1291.
|
9 years ago |
Lasse Öörni
|
d1096470d5
Execute DelayedStart() in ScriptInstance, LuaScriptInstance & LogicComponent before first FixedUpdate() if it comes sooner than Update(). Fix long-standing bug in NinjaSnowWar where the ninja orientation would be overwritten by yaw=0 from controls.
|
9 years ago |
urho3d-travis-ci
|
c4f6f315ff
Travis CI: bump copyright to 2016.
|
10 years ago |
Lasse Öörni
|
a9e62241a7
Unify fixed update source handling in ScriptInstance, LuaScriptInstance & LogicComponent. It can now be either PhysicsWorld or PhysicsWorld2D. Remove auto-creation of PhysicsWorld from ScriptInstance, as LogicComponent or LuaScriptInstance don't do that either, and the ScriptInstance can not known whether PhysicsWorld or PhysicsWorld2D should be created.
|
10 years ago |
Lasse Öörni
|
7afc3cd9ce
HasSubscribedToEvent() exposed to scripting. Closes #1122.
|
10 years ago |
JSandusky
|
0994584506
Add protected check to script variable population
|
10 years ago |
Ivan K
|
ad2eb74d83
LOGERROR -> URHO3D_LOGERROR
|
10 years ago |
Ivan K
|
3a7e7f058e
LOGWARNING -> URHO3D_LOGWARNING
|
10 years ago |
Ivan K
|
db15f0358e
PROFILE -> URHO3D_PROFILE
|
10 years ago |
Ivan K
|
3959d569fa
MIXED_ACCESSOR_ATTRIBUTE -> URHO3D_MIXED_ACCESSOR_ATTRIBUTE
|
10 years ago |
Ivan K
|
212f419026
ACCESSOR_ATTRIBUTE -> URHO3D_ACCESSOR_ATTRIBUTE
|
10 years ago |
Ivan K
|
4bcbae61fe
HANDLER -> URHO3D_HANDLER
|
10 years ago |
Ivan K
|
f954325243
HANDLER_USERDATA -> URHO3D_HANDLER_USERDATA
|
10 years ago |
aster2013
|
3a948899a7
Add type info, remove BASEOBJECT macro, now user can use type info check object type. for example:
|
10 years ago |
Yao Wei Tjong 姚伟忠
|
8652de217d
Rename Source/Urho3D/Script to Source/Urho3D/AngelScript.
|
10 years ago |