Lasse Öörni
|
fc2854167c
Changed Lua library & object registration order to ensure base classes are correctly set up.
|
12 years ago |
Wei Tjong Yao
|
09ba853aba
Keep CMakeCache.txt in between build script invocation to speed things up. Correct typo error.
|
12 years ago |
Aster Jian
|
4b9f241065
Add LuaFunction class, Add more Lua API in Sound, fixed typo.
|
12 years ago |
Lasse Öörni
|
e5b7b6c916
Re-enable Lua's default loaders. Register own loader last into the table.
|
12 years ago |
Lasse Öörni
|
49319ddb57
Disable Lua's inbuilt loaders. This fixes LuaScript's own loader possibly failing on Linux.
|
12 years ago |
Aster Jian
|
bbf193dd5f
Move tolua++ Urho3D extension in a file, Move PushParameters function in ToluaUrho3DEx and change return type to bool.
|
12 years ago |
Lasse Öörni
|
f93a5e4a23
LuaScript library header formatting. Allow parameters also for procedural Lua functions. Renamed LuaScriptInstance::Execute() to ExecuteFunction().
|
12 years ago |
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 years ago |
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 years ago |
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 years ago |
Aster Jian
|
5b1879c0ff
Add unsubscribe from event functions in LuaScript and LuaScriptInstance.
|
12 years ago |
Lasse Öörni
|
6f78838b5c
Cleaned up Lua event subscription code (do not register C++ handler before Lua function is found successfully.)
|
12 years ago |
Lasse Öörni
|
a9f13ebdfe
Added LuaScriptInstance subscribe to specific sender's event.
|
12 years ago |
Aster Jian
|
caf5aa4118
Store Lua function to LUA_REGISTRYINDEX table, make better performance.
|
12 years ago |
Aster Jian
|
dfc7647277
Replace table with spaces.
|
12 years ago |
Aster Jian
|
f9e2d7c9d1
Add LuaScriptInstance class.
|
12 years ago |
Aster Jian
|
90c29aecfb
Add type to some template method, lick Node::CreateComponent etc. Add LoadChunk and LoadAndExecute in LuaFile, Add DrawDebugGeometry in Renderer.
|
12 years ago |
Lasse Öörni
|
6229e36a1e
Show filename for Lua subsystem error messages where possible.
|
12 years ago |
Lasse Öörni
|
ccdd318eff
Use matching else-if construct in AngelScript & Lua Sample code.
|
12 years ago |
Aster Jian
|
367a930a93
Add Lua File class. Make Lua file as resource.
|
12 years ago |
Wei Tjong Yao
|
02512cecf9
In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'.
|
12 years ago |