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
  Lasse Öörni eb6ba62ab9 Added the LuaScript library to Doxygen documentation. 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
  Aster Jian 6e58119be9 Fixed typo error in comment. 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
  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