Commit History

Author SHA1 Message Date
  Lasse Öörni c3870201b9 Added TransformChanged() script method to ScriptInstance & LuaScriptInstance. Called when node transform changes (hooks to OnMarkedDirty() on C++ side) 12 years ago
  Aster Jian 4b9f241065 Add LuaFunction class, Add more Lua API in Sound, fixed typo. 12 years ago
  Aster Jian e4fda39b47 Rename function to solve name conflict with base class. 12 years ago
  Aster Jian 241afce241 Handle enabled/disabled state change. 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
  Lasse Öörni 48532b2509 Added C++ / script integration samples, which reimplement AnimatingScene sample, but use a script object instead of a C++ component. 12 years ago
  Lasse Öörni 81f5233ef7 Added Lua Ragdolls sample. 12 years ago
  Aster Jian 6e58119be9 Fixed typo error in comment. 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
  Aster Jian 80acf3e718 Add CreateScriptObject GetScriptObject Lua API in Node class. 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
  Aster Jian d830da9801 Add new CreateObject function in LuaScriptInstance, so can create script object from specific Lua file. 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