Commit Graph

9612 Commits

Author SHA1 Message Date
aster2003
8098f588b4 Change LuaFunction to subclass of RefCounted. 2013-10-03 21:06:46 +08:00
weitjong
6fec33aada Simplified logic for detecting the availability of GIT command line tool
and GIT repository.
2013-10-03 19:40:52 +08:00
Lasse Öörni
9d4a0ff334 Disabled the Google Code specific wiki conversion. 2013-10-03 12:56:01 +03:00
weitjong
242f317ddd Configure Doxyfile according to the value of USE_OPENGL variable. 2013-10-03 17:41:17 +08:00
Lasse Öörni
402a027ae4 On Windows, clean also Build/CMakeFiles directory to ensure MinGW build variables do not spill over to a subsequent MSVC build. 2013-10-02 20:36:57 +03:00
Lasse Öörni
44e00ced45 Fix comments in cmake_clean.bat. 2013-10-02 20:33:58 +03:00
Lasse Öörni
9a5632f745 Use kNet debug memory leak check on MSVC only. Fixes #1. 2013-10-02 20:29:51 +03:00
weitjong
79017b26de Fixed the condition to check GIT_EXIT_CODE variable. 2013-10-02 21:44:14 +08:00
weitjong
e6b690a9dc Replace svnversion with git tool to generate library revision number." 2013-10-02 21:24:33 +08:00
Lasse Öörni
7ee92c03a7 Add compiled shaders, compiled AngelScript & generated html to .gitignore. 2013-10-02 14:56:08 +03:00
weitjong
8df8843c7a Setup git ignore. 2013-10-02 19:37:34 +08:00
weitjong
11ffd62f0c Provide new batch and shell script to clean CMake cache for convenience and document it. Adjust line width of Readme.txt to prevent text overwrap in GitHub view. 2013-10-02 17:04:56 +08:00
Lasse Öörni
165b7c8eae Default to ENABLE_SAFE_LUA=0 for improved performance. 2013-10-01 18:40:47 +00:00
Aster Jian
68a081f0b5 Fix minilua link error on Linux. 2013-10-01 05:58:11 +00:00
Lasse Öörni
c169684bcd Crashproofed most of the C++ samples when running with empty resource directories. 18 & 19 will still crash inside Bullet. 2013-09-30 20:12:45 +00:00
Lasse Öörni
869eeac20c Moved ENABLED_LUA_JIT check for InitFPU() to the outer #if directive. 2013-09-30 11:35:27 +00:00
Lasse Öörni
36e165596a Create a dedicated depth stencil texture in View3D so that temporary depth stencils are not constantly generated when resizing a View3D.
Decrease screen buffer idle time before destruction to 1 second.
2013-09-30 11:22:11 +00:00
Aster Jian
11674b421a Fix LuaJIT CMakeLists.txt. 2013-09-30 05:09:44 +00:00
Lasse Öörni
0618b5fc94 Added LuaJIT license and documented the LuaJIT CMake option. 2013-09-29 22:29:24 +00:00
Lasse Öörni
56b453c25e Update to AngelScript 2.28.0 WIP to fix a ternary operator crash bug. 2013-09-29 15:47:55 +00:00
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