Lasse Öörni
|
e5b7b6c916
Re-enable Lua's default loaders. Register own loader last into the table.
|
12 gadi atpakaļ |
Lasse Öörni
|
49319ddb57
Disable Lua's inbuilt loaders. This fixes LuaScript's own loader possibly failing on Linux.
|
12 gadi atpakaļ |
Aster Jian
|
bbf193dd5f
Move tolua++ Urho3D extension in a file, Move PushParameters function in ToluaUrho3DEx and change return type to bool.
|
12 gadi atpakaļ |
Lasse Öörni
|
f93a5e4a23
LuaScript library header formatting. Allow parameters also for procedural Lua functions. Renamed LuaScriptInstance::Execute() to ExecuteFunction().
|
12 gadi atpakaļ |
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 gadi atpakaļ |
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 gadi atpakaļ |
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 gadi atpakaļ |
Aster Jian
|
5b1879c0ff
Add unsubscribe from event functions in LuaScript and LuaScriptInstance.
|
12 gadi atpakaļ |
Lasse Öörni
|
6f78838b5c
Cleaned up Lua event subscription code (do not register C++ handler before Lua function is found successfully.)
|
12 gadi atpakaļ |
Lasse Öörni
|
a9f13ebdfe
Added LuaScriptInstance subscribe to specific sender's event.
|
12 gadi atpakaļ |
Aster Jian
|
caf5aa4118
Store Lua function to LUA_REGISTRYINDEX table, make better performance.
|
12 gadi atpakaļ |
Aster Jian
|
dfc7647277
Replace table with spaces.
|
12 gadi atpakaļ |
Aster Jian
|
f9e2d7c9d1
Add LuaScriptInstance class.
|
12 gadi atpakaļ |
Aster Jian
|
90c29aecfb
Add type to some template method, lick Node::CreateComponent etc. Add LoadChunk and LoadAndExecute in LuaFile, Add DrawDebugGeometry in Renderer.
|
12 gadi atpakaļ |
Lasse Öörni
|
6229e36a1e
Show filename for Lua subsystem error messages where possible.
|
12 gadi atpakaļ |
Lasse Öörni
|
ccdd318eff
Use matching else-if construct in AngelScript & Lua Sample code.
|
12 gadi atpakaļ |
Aster Jian
|
367a930a93
Add Lua File class. Make Lua file as resource.
|
12 gadi atpakaļ |
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 gadi atpakaļ |