Lasse Öörni
|
f93a5e4a23
LuaScript library header formatting. Allow parameters also for procedural Lua functions. Renamed LuaScriptInstance::Execute() to ExecuteFunction().
|
12 éve |
Lasse Öörni
|
48532b2509
Added C++ / script integration samples, which reimplement AnimatingScene sample, but use a script object instead of a C++ component.
|
12 éve |
Lasse Öörni
|
81f5233ef7
Added Lua Ragdolls sample.
|
12 éve |
Aster Jian
|
6e58119be9
Fixed typo error in comment.
|
12 éve |
Wei Tjong Yao
|
e376dc4562
Identity the maintainer of the Urho3D/Lua fork. Regenerate toluabind.c and toluabind.h using bootstrap process. Only call 'standard' script functions when they are available and be silent about it when they are not defined in the Lua script.
|
12 éve |
Aster Jian
|
0ddb13f148
Add Update, PostUpdate, Save, Load function in LuaScriptInstance, Add one more LoadXML and SaveXML in Scene, Add destructor function in Math lib.
|
12 éve |
Aster Jian
|
80acf3e718
Add CreateScriptObject GetScriptObject Lua API in Node class.
|
12 éve |
Wei Tjong Yao
|
5d04c531a1
Pass window resized event (due to device orientation change) from SDL to Urho3D::Graphics class for both Android and iOS as well. Note that the event is only sent when the application has not locked the orientation. Minor code cleaned up on LuaScript subsystem.
|
12 éve |
Aster Jian
|
5b1879c0ff
Add unsubscribe from event functions in LuaScript and LuaScriptInstance.
|
12 éve |
Lasse Öörni
|
6f78838b5c
Cleaned up Lua event subscription code (do not register C++ handler before Lua function is found successfully.)
|
12 éve |
Aster Jian
|
d830da9801
Add new CreateObject function in LuaScriptInstance, so can create script object from specific Lua file.
|
12 éve |
Lasse Öörni
|
a9f13ebdfe
Added LuaScriptInstance subscribe to specific sender's event.
|
12 éve |
Aster Jian
|
caf5aa4118
Store Lua function to LUA_REGISTRYINDEX table, make better performance.
|
12 éve |
Aster Jian
|
dfc7647277
Replace table with spaces.
|
12 éve |
Aster Jian
|
f9e2d7c9d1
Add LuaScriptInstance class.
|
12 éve |