Commit History

Author SHA1 Message Date
  Lasse Öörni 36eb726d36 Add the concept of base class type to Object to simplify determining if a ScriptInstance's handle variable is a Node, Component or Resource. Serialize script's resource handles as ResourceRef attributes and allow editing them. 12 years ago
  Lasse Öörni 25c7aa53c3 Added GetDesktopResolution() to Graphics. 12 years ago
  Lasse Öörni 2fbe931cee Added SetWindowPosition() / GetWindowPosition() to Graphics. 12 years ago
  Lasse Öörni 39c8295eb3 Added editable flag to UI elements. When disabled, will not edit the value (eg. LineEdit text) through user input. Fixes #4. 12 years ago
  Lasse Öörni 36e165596a Create a dedicated depth stencil texture in View3D so that temporary depth stencils are not constantly generated when resizing a View3D. 12 years ago
  Lasse Öörni d22dab085d Restored Variant constructors & equality operators. 12 years ago
  Lasse Öörni 775cea68bb Regenerate Lua API to match AngelScript API page formatting. 12 years ago
  Lasse Öörni dbd7687c56 Added configurable Z bias to Text3D effect. 12 years ago
  Aster Jian 247947f2b1 Update document. 12 years ago
  Lasse Öörni da45ff6b6b Added SceneReplication Lua sample. 12 years ago
  Lasse Öörni 7a55a43725 Tidied up the sample descriptions. 12 years ago
  Lasse Öörni 1cd73e46fd Exposed StaticModelGroup to script. Ported HugeObjectCount example group mode switching to script versions. 12 years ago
  Lasse Öörni b3777b652c Fixed StaticModel::SetModel() getting called instead of AnimatedModel::SetModel() in Lua script. 12 years ago
  Aster Jian b75e301f8b Update Lua script API documention. 12 years ago
  Lasse Öörni 0201c1d961 Undefine TOLUA_RELEASE by default for better Lua crash protection. Re-enable with the CMake build option -DENABLE_SAFE_LUA=0. 12 years ago
  Aster Jian 80acf3e718 Add CreateScriptObject GetScriptObject Lua API in Node class. 12 years ago
  Lasse Öörni c20257cdf7 Merged the shaderData_ and worldTransform_ members of Batch & SourceBatch. The idea is that a batch can define multiple world transforms. For static geometry this means instance transforms. For skinned geometry they are bone transforms instead. 12 years ago
  Aster Jian 78a77a7e36 Add type parameter to VariantMap::GetPtr funcition, so we can get correct type in Lua. 12 years ago
  Lasse Öörni 39fc6dfd64 Fix the scene loading/saving to work from Lua. Before, casts to Deserializer/Serializer would crash due to File's multiple-inheritance. Note that the file still needs to be closed manually. 12 years ago
  Aster Jian 5b1879c0ff Add unsubscribe from event functions in LuaScript and LuaScriptInstance. 12 years ago
  Lasse Öörni 0f5456d35e Avoid unnecessary rendertarget blitting in OpenGL light prepass mode. 12 years ago
  Aster Jian 9098cd92c4 Update LuaScriptAPI document. 12 years ago
  Aster Jian 0f52702801 Fixed Node::LookAtXYZ function default value. 12 years ago
  Aster Jian d830da9801 Add new CreateObject function in LuaScriptInstance, so can create script object from specific Lua file. 12 years ago
  Aster Jian d41b4853c0 Fixed some errors in LuaScriptAPI.dox, Add LuaScriptAPI.dox to Urho3D.dox. 12 years ago
  Lasse Öörni a9f13ebdfe Added LuaScriptInstance subscribe to specific sender's event. 12 years ago
  Aster Jian 0eaadbb3eb Add Lua Script API document. 12 years ago