93fe884cebUpdate script API.
Lasse Öörni
2013-09-22 23:55:32 +0000
dd9a9feb61Allow convenience access to scriptObjects residing in the scene root node.
Lasse Öörni
2013-09-22 23:52:17 +0000
eb6ba62ab9Added the LuaScript library to Doxygen documentation. Added LuaScript doxygen page.
Lasse Öörni
2013-09-22 23:41:27 +0000
f93a5e4a23LuaScript library header formatting. Allow parameters also for procedural Lua functions. Renamed LuaScriptInstance::Execute() to ExecuteFunction().
Lasse Öörni
2013-09-22 22:08:26 +0000
b037dc8c58Clear the UI root in case the editor application is being live-reloaded.
Lasse Öörni
2013-09-22 21:20:00 +0000
48532b2509Added C++ / script integration samples, which reimplement AnimatingScene sample, but use a script object instead of a C++ component. Added Execute() function to LuaScriptInstance. Fixed LuaScriptInstance::SetScriptFileName() not loading the script.
Lasse Öörni
2013-09-22 19:15:30 +0000
3c60b5f2d0Applied patch from Ali Kämäräinen. VS2013 support, ifexists checks when deleting old VS build files, and improved Tundra import.
Lasse Öörni
2013-09-22 17:04:15 +0000
056e53f46dAdded CharacterDemo Lua sample. Added variable initialization to Lua samples where they were missing. Show sender IP:port on server in Lua Chat sample.
Lasse Öörni
2013-09-22 16:26:09 +0000
cf50bb9f39Optionally remember last resource path in editor. Remember last import path in editor. Set node / scene / UI element picker paths from remembered resource path if possible.
Lasse Öörni
2013-09-22 12:18:14 +0000
00342501abBinding more class in IO lib to Lua, Fixed multi inheritance class.
Aster Jian
2013-09-22 05:51:05 +0000
da45ff6b6bAdded SceneReplication Lua sample.
Lasse Öörni
2013-09-21 22:08:05 +0000
f3eff662d0Cleaned up raycast code in Decals sample.
Lasse Öörni
2013-09-21 14:27:51 +0000
81f5233ef7Added Lua Ragdolls sample.
Lasse Öörni
2013-09-20 21:50:20 +0000
cb19db83d1Add RenderToTexture and Physics sample in Lua.
Aster Jian
2013-09-20 14:59:54 +0000
7a55a43725Tidied up the sample descriptions. Exposed UIElement::SetVar() and GetVar() to Lua script. Modified the Lua Sprites sample to use custom vars inside UIElement.
Lasse Öörni
2013-09-20 07:30:07 +0000
389cce6732Unify material used in spawned objects in script versions of PhysicsStressTest.
Lasse Öörni
2013-09-19 22:56:42 +0000
1cd73e46fdExposed StaticModelGroup to script. Ported HugeObjectCount example group mode switching to script versions.
Lasse Öörni
2013-09-19 22:44:06 +0000
6e58119be9Fixed typo error in comment.
Aster Jian
2013-09-19 13:49:19 +0000
f3fa29a614Fix crash when replacing shader with unshadowed or non-specular variation, and geometry type is something else than static. Add billboard variation to Vegatation shader. The effect is not very good though, as the billboard vertices do not move individually.
Lasse Öörni
2013-09-19 11:51:05 +0000
9443cce235Use a temp variable when calculating a merged world bounding box, as OnWorldBoundingBoxUpdate() may be called re-entrantly from multiple worker threads.
Lasse Öörni
2013-09-19 08:53:58 +0000
41f627b230Fixed Urho3D.cpp compile error on VS2008. Re-entrancy safety for StaticModelGroup::OnWorldBoundingBoxUpdate(): do not resize the worldTransforms_ vector. Instead set maximum size beforehand. Do not make group mode light as bright in HugeObjectCount so that text remains easier to read.
Lasse Öörni
2013-09-19 07:28:18 +0000
40c7c0f7afInitialize geometry type of light volume batches.
Lasse Öörni
2013-09-19 00:20:20 +0000
b3777b652cFixed StaticModel::SetModel() getting called instead of AnimatedModel::SetModel() in Lua script.
Lasse Öörni
2013-09-18 23:42:48 +0000
247158b7d8Added node IDs attribute to StaticModelGroup. Added raycast & occlusion rendering to StaticModelGroup.
Lasse Öörni
2013-09-18 22:53:10 +0000
e376dc4562Identity 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.
Wei Tjong Yao
2013-09-18 21:49:04 +0000
0f965d3443Optimize StaticModelGroup by going through the objects in one pass during transform / bounding box update. Change light color in HugeObjectCount when the group optimization is enabled.
Lasse Öörni
2013-09-18 20:02:06 +0000
2e178f1976Added virtual function to Component for handling node enabled/disabled change. This optimizes StaticModelGroup to not have to subscribe to the scene-global change event.
Lasse Öörni
2013-09-18 19:38:22 +0000
b75e301f8bUpdate Lua script API documention.
Aster Jian
2013-09-18 17:26:36 +0000
c07137c8f4Add VehicleDemo sample in Lua, using update function in script object.
Aster Jian
2013-09-18 17:25:52 +0000
0ddb13f148Add Update, PostUpdate, Save, Load function in LuaScriptInstance, Add one more LoadXML and SaveXML in Scene, Add destructor function in Math lib.
Aster Jian
2013-09-18 17:25:16 +0000
168b69c09dAdded StaticObjectGroup component for optimizing culling, light and drawcall processing. Update HugeObjectCount to use it. Not yet exposed to script.
Lasse Öörni
2013-09-18 16:19:15 +0000
e1cf3a4b25Fixed the include dir.
Wei Tjong Yao
2013-09-18 10:21:08 +0000
9b023ae862Add BCM VideoCore include directories globally for RASPI build.
Wei Tjong Yao
2013-09-18 10:15:22 +0000
e039ba4b29More useful debug info when loading font face.
Wei Tjong Yao
2013-09-18 08:56:41 +0000
0201c1d961Undefine TOLUA_RELEASE by default for better Lua crash protection. Re-enable with the CMake build option -DENABLE_SAFE_LUA=0. Fixed some Variant constructors failing in Lua (removed void pointer constructor.) Removed deprecated RenderMode enum. Added Camera's ViewOverrideFlags to Lua. Added MultipleViewports Lua sample.
Lasse Öörni
2013-09-17 19:49:18 +0000
f8de2a71f0Align NinjaSnowWar touch buttons to screen corners properly so that they will realign if orientation changes. Fixed touch move not taking the move button position properly into account.
Lasse Öörni
2013-09-17 12:21:08 +0000
80acf3e718Add CreateScriptObject GetScriptObject Lua API in Node class.
Aster Jian
2013-09-17 10:42:14 +0000
5d04c531a1Pass 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.
Wei Tjong Yao
2013-09-17 09:55:26 +0000
216ec576f3Removed VectorToArray optimization which caused debug mode crash.
Lasse Öörni
2013-09-17 08:32:14 +0000
720ff4c3b8Fix GCC build.
Lasse Öörni
2013-09-17 07:24:47 +0000
c20257cdf7Merged 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. Inlined some functions in View & Drawable.
Lasse Öörni
2013-09-17 07:14:13 +0000
78a77a7e36Add type parameter to VariantMap::GetPtr funcition, so we can get correct type in Lua. Remove SetCamera and GetCamera etc function in VariantMap, pls use SetPtr and GetPtr.
Aster Jian
2013-09-17 05:55:04 +0000
b55dead807Added Decals Lua sample.
Lasse Öörni
2013-09-16 20:44:11 +0000
39fc6dfd64Fix 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.
Lasse Öörni
2013-09-16 20:03:52 +0000
274a345db5Added Billboards Lua sample.
Lasse Öörni
2013-09-16 19:20:26 +0000
5b1879c0ffAdd unsubscribe from event functions in LuaScript and LuaScriptInstance.
Aster Jian
2013-09-16 15:58:29 +0000
22d579eea7Documented the need to either specify a UI style file when loading a layout, or having it set to the root element beforehand.
Lasse Öörni
2013-09-16 14:46:26 +0000
5f09777de0Edit comment.
Lasse Öörni
2013-09-15 23:44:33 +0000
dcb39bf810Add note of Direct3D9 bool shader constants possibly having no effect. Add support for Color shader parameters inside a Variant (same as Vector4.) Parse bool shader parameters in Material & RenderPath.
Lasse Öörni
2013-09-15 23:42:59 +0000
7594f8105aApplied Raspberry Pi patch sent by Colin Barrett.
Wei Tjong Yao
2013-09-15 23:35:13 +0000
46205d8efdFixed compilation error on D3D9Graphics class.
Wei Tjong Yao
2013-09-15 23:18:01 +0000
51d2a7321aAdded support to pass boolean shader parameter value.
Wei Tjong Yao
2013-09-15 21:57:14 +0000
27a68828ceCorrected typo in documentation for renderpath's quad command.
Wei Tjong Yao
2013-09-15 21:10:31 +0000
4696717b7fCode and comment cleanup.
Lasse Öörni
2013-09-15 20:57:07 +0000
36892ae86cClear pending ID attributes when the script object is destroyed.
Lasse Öörni
2013-09-15 20:49:02 +0000
81622fec98Fixed ScriptInstance node / component handle attributes so that they go through the SceneResolver properly. Use AM_FILE mode in ScriptInstance script attributes to make it more explicit that they aren't network-serialized automatically. Update wiki.
Lasse Öörni
2013-09-15 20:46:13 +0000
dda39f2b7dInitial work for serializing Node / Component handles from a script object automatically.
Lasse Öörni
2013-09-15 19:08:05 +0000
1034f8856fAdded scene load/save to C++ VehicleDemo.
Lasse Öörni
2013-09-15 16:38:29 +0000
ef43398d7fAdded scene load/save to CharacterDemo, both C++ & script versions.
Lasse Öörni
2013-09-15 10:51:27 +0000
311b66f859Invert also quad projection when camera is inverted. Fixed GLSL GetQuadTexCoordNoFlip() function.
Lasse Öörni
2013-09-14 22:49:06 +0000
0f5456d35eAvoid unnecessary rendertarget blitting in OpenGL light prepass mode. Fixed too dark ambient lighting and environment cube mapping in OpenGL deferred mode. Added new shader function GetQuadTexCoordNoFlip() which can be used to sample regular texture resources in postprocessing quad passes and documented it. Removed Camera::SetFlipVertical() from the Lua script API as it should only be called internally to handle OpenGL / Direct3D9 differences.
Lasse Öörni
2013-09-14 22:20:39 +0000
393d66881cDo not initialize the quick menu twice.
Lasse Öörni
2013-09-14 17:23:13 +0000
a5998c8c89Cleaned up recent CMake module changes to use variable instead of string in regex matches.
Wei Tjong Yao
2013-09-14 15:54:58 +0000
f3e44a22b1Fix creating UI elements from the quick menu.
Lasse Öörni
2013-09-14 13:19:47 +0000
f0a965c912Added quick menu feature to editor contributed by Chris Friesen. Open with Ctrl+Space.
Lasse Öörni
2013-09-14 10:54:06 +0000
81af6af406Fixed the Lua compilation error in GCC build by making sure the right Precompiled.h include file is found by adjusting the GCC include search path.
Wei Tjong Yao
2013-09-14 09:56:11 +0000
8489eca710Do not needlessly check for Graphics subsystem in headless mode.
Lasse Öörni
2013-09-13 13:11:55 +0000
16360d506fAdd default String parameter to tolua_tourho3dstring and tolua_tofieldurho3dstring.
Aster Jian
2013-09-13 10:27:02 +0000
de816ebeaaRemove Urho3D::String binding in Lua.
Aster Jian
2013-09-13 05:44:28 +0000
26fb71536aAdd Urho3D::String support in tolua++.
Aster Jian
2013-09-13 05:41:55 +0000
bb2205e690Avoid hardcoding Lua API pkg names and at the same time improve build performance by having more granular dependency list.
Wei Tjong Yao
2013-09-13 04:11:26 +0000
f07f883ee9Set proper sound channel type for NinjaSnowWar music.
Lasse Öörni
2013-09-12 18:06:30 +0000
e9535c8336Fix Lua SendEvent with parameters.
Lasse Öörni
2013-09-12 17:59:32 +0000
fc0264e4b9Set clamp address mode for all cube textures by default. In OpenGL mode seams may appear otherwise.
Lasse Öörni
2013-09-12 17:21:06 +0000
0f52702801Fixed Node::LookAtXYZ function default value.
Aster Jian
2013-09-12 13:42:47 +0000
6f78838b5cCleaned up Lua event subscription code (do not register C++ handler before Lua function is found successfully.) Moved Lua script object destruction to a function. Destroy the old Lua script object before creating new. Unref the object specific event handler functions when destroying Lua script object.
Lasse Öörni
2013-09-12 07:34:16 +0000
d830da9801Add new CreateObject function in LuaScriptInstance, so can create script object from specific Lua file.
Aster Jian
2013-09-12 06:05:03 +0000
205fffb4adRefactored Sample.h to use class forward for Sprite class. Fixed the alignment of the forward classes to be inlined with convention used by other codes in Urho3D. Added the generated LuaScript wiki into SVN.
Wei Tjong Yao
2013-09-12 05:44:23 +0000
c8df2956a2Remove ExecuteFile function in Lua.
Aster Jian
2013-09-12 05:23:03 +0000
d41b4853c0Fixed some errors in LuaScriptAPI.dox, Add LuaScriptAPI.dox to Urho3D.dox.
Aster Jian
2013-09-12 05:21:57 +0000
a9f13ebdfeAdded LuaScriptInstance subscribe to specific sender's event.
Lasse Öörni
2013-09-11 23:51:03 +0000
e234e9e8b6Refactored slider page event parameters to be simpler and fixed unintended scrolling while hovering without mouse button pressed. Change CheckBox to react to click begin (as it was before) so that ListView hierarchy toggling doesn't break.
Lasse Öörni
2013-09-11 12:54:45 +0000
0eaadbb3ebAdd Lua Script API document.
Aster Jian
2013-09-11 12:54:39 +0000
e4970dbde6Fixed corrupted enum list of ListView.
Lasse Öörni
2013-09-11 09:39:12 +0000
54e0691610Fixed errors/omissions from the Example Applications doxygen page.
Lasse Öörni
2013-09-10 22:18:30 +0000
0d478d91ffUpdated documentation regarding Engine::Exit().
Lasse Öörni
2013-09-10 21:37:55 +0000
c089229104Added documentation on HTTP requests.
Lasse Öörni
2013-09-10 21:33:43 +0000
6350f246e6Register HttpRequest to script. Register Deserializer::Read() & Serializer::Write() to script. They operate on Array<uint8>. Trim HttpRequest headers and do not add empty headers.
Lasse Öörni
2013-09-10 21:11:39 +0000
8992e0a881Applied UI dark style improvement patch.
Lasse Öörni
2013-09-10 19:12:42 +0000
c2eec49b7aAdd faster Lua API function in Node class.
Aster Jian
2013-09-10 14:35:20 +0000
707668adfaRemoved call to finishActivity() as it is now being called from the native C code when the engine exits.
Wei Tjong Yao
2013-09-10 13:23:03 +0000
c814081a7aOnly let the Java activity finish be requested once.
Lasse Öörni
2013-09-10 13:15:29 +0000
554355ab63Disable Engine::Exit() on iOS. Disable Engine::SetAutoExit(false) on iOS and Android. On Android, request activity finish from the Java side instead of directly exiting.
Lasse Öörni
2013-09-10 13:01:07 +0000