Aster Jian
eccf0fefdd
Set generated file to CMAKE_CURRENT_BINARY_DIR/generated folder.
2013-09-29 15:01:28 +00:00
Aster Jian
a570bb8ad6
Add LuaJIT support in LuaScript module, please use ENABLE_LUA_JIT to enable it, just test on Windows.
2013-09-29 14:38:03 +00:00
Aster Jian
2d3740d28c
Fixed an error in PushString.
2013-09-29 09:00:59 +00:00
Lasse Öörni
fc2854167c
Changed Lua library & object registration order to ensure base classes are correctly set up.
2013-09-28 19:34:45 +00:00
Lasse Öörni
bd9f229045
Documented the optimization underlying node transform dirty notifications; you must use eg. GetWorldPosition() to undirty the node to get further notifications.
2013-09-28 18:12:29 +00:00
Lasse Öörni
04c3a45d92
Fixed vegetation wind effect on billboards.
...
Added unlit vegetation technique & example material.
Added alphamasked variation to Unlit shader.
Fixed billboard textures displayed upside down. Note: this is a breaking change for old scene content that manually specifies non-default billboard UV:s.
2013-09-28 09:46:12 +00:00
Lasse Öörni
c7f098de3e
Updated documentation on changed Lua function call mechanism.
2013-09-27 21:36:19 +00:00
Lasse Öörni
c3870201b9
Added TransformChanged() script method to ScriptInstance & LuaScriptInstance. Called when node transform changes (hooks to OnMarkedDirty() on C++ side)
...
Ensure that LuaScriptInstance listens only to its own scene's & physics world's update events.
Changed LuaScriptInstance to use IsEnabledEffective() to make sure it gets disabled if the node is disabled.
2013-09-27 20:56:35 +00:00
Wei Tjong Yao
09ba853aba
Keep CMakeCache.txt in between build script invocation to speed things up. Correct typo error.
2013-09-26 20:56:42 +00:00
Aster Jian
4b9f241065
Add LuaFunction class, Add more Lua API in Sound, fixed typo.
2013-09-26 16:18:38 +00:00
Lasse Öörni
04bf45e463
Added support for SDL_DROPFILE event. Input system sends event with filename only, and UI subsystem interprets that to include the element that was dropped onto. The UI variant of the event is only posted when the OS mouse cursor is visible (such as in the editor.)
2013-09-26 12:51:15 +00:00
Lasse Öörni
e5b7b6c916
Re-enable Lua's default loaders. Register own loader last into the table.
2013-09-26 07:23:09 +00:00
Lasse Öörni
0c6ee02d02
Tagged Urho3D V1.3.
2013-09-25 22:31:23 +00:00
Lasse Öörni
d90a9168cf
Applied joystick index patch from Gunnar Kriik.
2013-09-25 21:51:32 +00:00
Lasse Öörni
f052f1b76c
Fixed TestScene Lua script.
2013-09-25 21:00:45 +00:00
Lasse Öörni
49319ddb57
Disable Lua's inbuilt loaders. This fixes LuaScript's own loader possibly failing on Linux.
2013-09-25 19:44:35 +00:00
Lasse Öörni
4d4cb2cbb3
Fix incorrect assignment.
2013-09-25 17:11:05 +00:00
Wei Tjong Yao
b20ff3475f
Fixed editor's Attribute Inspector to reuse the existing component containers before creating a new one. Enhanced Attribute Inspector to change ui-element icon's color based on its 'visible' property.
2013-09-25 14:53:08 +00:00
Lasse Öörni
d22dab085d
Restored Variant constructors & equality operators.
2013-09-25 14:30:24 +00:00
Wei Tjong Yao
978bfe0f3d
Use the instance variable instead of re-obtaining the graphics subsystem from context.
2013-09-25 12:24:23 +00:00
Wei Tjong Yao
363a4055ea
Differentiate between batch option with CMake build option to prevent CMake warning on unused define. Reorder the position of optional CMake options according CMake usage documentation. Highlight the out-of-source build in change history.
2013-09-25 09:50:02 +00:00
Lasse Öörni
077887719b
Simplified the scrollbar slider definition.
2013-09-25 07:08:37 +00:00
Lasse Öörni
6ffd327a01
Make a bare slider look the same as a scrollbar slider.
2013-09-25 07:04:51 +00:00
Lasse Öörni
862ca75a46
Added script (pkgToDox.lua) which regenerates Lua script API documentation. It can be run with a standalone Lua interpreter.
2013-09-25 06:59:47 +00:00
Wei Tjong Yao
be8525ab6e
Updated documentation to confirm the existing AngelScript viewing/editing fix also work with Xcode 5 on Mountain Lion.
2013-09-25 05:10:50 +00:00
Wei Tjong Yao
24eacf9e3f
Attempt to support IOS arm64 build.
2013-09-25 04:46:23 +00:00
Wei Tjong Yao
1250776d0c
Added basic.lua as dependency in build script so that C++ to Lua binding codes would be automatically rebuilt.
2013-09-25 04:16:49 +00:00
Lasse Öörni
6228209b6f
Allow dragging scene nodes to a StaticModelGroup component in the editor to make them instance nodes.
...
Allow dragging a scene node to a Constraint component to make it the constraint's remote end.
2013-09-24 22:52:25 +00:00
Lasse Öörni
775cea68bb
Regenerate Lua API to match AngelScript API page formatting.
2013-09-24 20:38:42 +00:00
Lasse Öörni
b8a3157e91
Show enumerations in the generated AngelScript API.
2013-09-24 20:12:08 +00:00
Aster Jian
e4fda39b47
Rename function to solve name conflict with base class.
2013-09-24 15:51:21 +00:00
Aster Jian
241afce241
Handle enabled/disabled state change.
2013-09-24 13:21:27 +00:00
Lasse Öörni
ba19c8b905
Add "if exist" checks to cmake_android & cmake_mingw .bat files to avoid printing errors on first run.
2013-09-24 08:25:38 +00:00
Lasse Öörni
bb9b3a5871
Disabled depth write from Text3D generated material. Now Z-bias can default to 0.
2013-09-24 07:04:27 +00:00
Lasse Öörni
586d878509
Fix enum.
2013-09-23 18:51:50 +00:00
Lasse Öörni
dbd7687c56
Added configurable Z bias to Text3D effect.
...
Default Text effect color changed to opaque black.
2013-09-23 18:49:50 +00:00
Aster Jian
247947f2b1
Update document.
2013-09-23 15:11:34 +00:00
Aster Jian
902300e2e5
Add TextEffect in Text3D class.
2013-09-23 15:00:31 +00:00
Aster Jian
318d2bd5ef
Add TextEffect in Text class.
2013-09-23 14:38:21 +00:00
Aster Jian
6dcf4a7c9f
Restore text.h
2013-09-23 06:22:01 +00:00
Aster Jian
3e4765e4f4
Change SetRotationSpeed's parameter to Vector3.
2013-09-23 05:54:29 +00:00
Aster Jian
bbf193dd5f
Move tolua++ Urho3D extension in a file, Move PushParameters function in ToluaUrho3DEx and change return type to bool.
2013-09-23 05:29:03 +00:00
Lasse Öörni
64e826c3e3
Update changelog.
...
Position the editor windows lower so that they don't overlap the stats-text in default windowed resolution.
2013-09-23 00:22:30 +00:00
Lasse Öörni
93fe884ceb
Update script API.
2013-09-22 23:55:32 +00:00
Lasse Öörni
dd9a9feb61
Allow convenience access to scriptObjects residing in the scene root node.
2013-09-22 23:52:17 +00:00
Lasse Öörni
eb6ba62ab9
Added the LuaScript library to Doxygen documentation.
...
Added LuaScript doxygen page.
2013-09-22 23:41:27 +00:00
Lasse Öörni
f93a5e4a23
LuaScript library header formatting. Allow parameters also for procedural Lua functions. Renamed LuaScriptInstance::Execute() to ExecuteFunction().
2013-09-22 22:08:26 +00:00
Lasse Öörni
b037dc8c58
Clear the UI root in case the editor application is being live-reloaded.
2013-09-22 21:20:00 +00:00
Lasse Öörni
48532b2509
Added 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.
2013-09-22 19:15:30 +00:00
Lasse Öörni
3c60b5f2d0
Applied patch from Ali Kämäräinen. VS2013 support, ifexists checks when deleting old VS build files, and improved Tundra import.
2013-09-22 17:04:15 +00:00