Commit Graph

9612 Commits

Author SHA1 Message Date
Lasse Öörni
10bfa2423a Removed unneeded includes. 2013-07-24 23:50:07 +00:00
Lasse Öörni
0a70acdad0 Added Samples directory & first sample (HelloWorld) contributed by Paul Noome. 2013-07-24 23:41:57 +00:00
Wei Tjong Yao
e3b7eede33 Cleanup now unused member variable. 2013-07-24 12:07:20 +00:00
Lasse Öörni
adf668b386 Refactored the system cursor shape definition inside Cursor class; use SetUseSystemShapes() to enable.
Define OS cursors on demand when setting the shape; removed OS cursor visible parameter from Cursor::DefineShape().
2013-07-24 10:52:46 +00:00
Lasse Öörni
53d2404aee Applied OS cursor shape patch from Paul Noome. 2013-07-23 23:29:00 +00:00
Lasse Öörni
6325520ef3 Include large vertex shader array uniforms only when needed. 2013-07-23 23:05:27 +00:00
Aster Jian
fba80ac13b rename Eq with Equals. 2013-07-21 13:25:41 +00:00
Lasse Öörni
6dcffc2f67 Serialize the node animation states of an AnimationController.
Merged DecalSet & ParticleEmitter components to the Geometry component category.
2013-07-20 20:09:12 +00:00
Lasse Öörni
ad8b44d478 Added GetModel() & GetNode() to AnimationState.
Avoid double update in animation test, if an AnimationController is also playing the same animation.
2013-07-20 17:40:55 +00:00
Aster Jian
3f3d58c050 Rename StringEq to StringEquals. 2013-07-20 14:30:32 +00:00
Aster Jian
4248c9f65b Update Lua api. 2013-07-20 14:08:22 +00:00
Lasse Öörni
e908a9076a Support defining different action buttons for different resource types in the editor.
Added functionality to test animations in the editor.
Expose RefCounted class properly to script so that WeakHandle can point to all RefCounted types instead of just Object.
2013-07-20 13:53:42 +00:00
Aster Jian
35757c88fa Update TestScene.lua, Replace some method with property. 2013-07-20 13:49:57 +00:00
Lasse Öörni
9ff5b3d222 Renamed "Label Offset" attribute in Button to "Pressed Child Offset" to more accurately reflect what it does. 2013-07-20 09:30:31 +00:00
Lasse Öörni
3cd4625ad1 Store shader parameters as Variants to preserve the coordinate count & distinguish between eg. floats and Vector4's.
Fixed Lua API (bindings of RenderSurface object) in OpenGL mode.
2013-07-19 19:58:58 +00:00
Aster Jian
522ea62a33 Add default value in GetMaterial function, so we can use material as a property. 2013-07-19 15:03:11 +00:00
Aster Jian
ed8eec63bd Replace some method with property in lua. 2013-07-19 15:01:57 +00:00
Aster Jian
6ba4451ffd Update Core, IO, Math Lua API. 2013-07-19 14:59:20 +00:00
Lasse Öörni
fc841ce8d1 Applied global UI double click patch from Chris Friesen. Removed individual double click handling in LineEdit & ListView elements.
Fixed RigidBody potentially moving too fast when its rotation is being forced.
Fixed NinjaSnowWar server freelook camera movement speed.
2013-07-19 10:30:59 +00:00
Aster Jian
a5abda17b7 Update Graphics Lua API. 2013-07-19 06:38:28 +00:00
Aster Jian
5e203f1bba Update Audio, Input, IO module Lua API. 2013-07-19 04:54:21 +00:00
Aster Jian
8d10c165ed Update Navigation, Network, Physics, Resource, Scene, UI Lua API. 2013-07-18 06:04:35 +00:00
Aster Jian
bf02252c65 Update Navigation Lua API. 2013-07-18 04:29:26 +00:00
Aster Jian
29b3207a8c Update Network Lua API. 2013-07-18 04:28:25 +00:00
Lasse Öörni
97af5ba002 Removed unused function declarations in RigidBody and fixed misleading comments. 2013-07-16 22:01:33 +00:00
Aster Jian
ad5bf73d10 Update Lua API. In SpriteTest.lua replace some function with property to make the code clean. 2013-07-16 15:45:27 +00:00
Aster Jian
e1780d0f74 Fixed tolua++ bug, let it generate reference property's set code. 2013-07-16 14:57:56 +00:00
Aster Jian
63dfd780ba Add property with no prefix. Remove fixed propety error code in pkg files. 2013-07-16 13:43:23 +00:00
Aster Jian
df1ee41817 Fixed tolua++ generate property code error. 2013-07-16 13:35:41 +00:00
Wei Tjong Yao
5d301cb151 Fixed UIElement's CombinedScreenRect property error in LuaScript subsystem. 2013-07-15 15:23:44 +00:00
Aster Jian
a6bae0a3db Fixed textureAttr property error. 2013-07-15 11:21:03 +00:00
Lasse Öörni
f167112a6a Update documentation. 2013-07-14 21:09:31 +00:00
Lasse Öörni
5bf8f5d56d Disable touchpad touch events on OS X, as they lead to erroneous input. 2013-07-14 20:35:42 +00:00
Aster Jian
3060463e4f Add property in UI module. Add support for function with default argument. 2013-07-14 15:02:21 +00:00
Lasse Öörni
6d852735b2 Removed the hacks to detect emulated mouse in NinjaSnowWar.
Modify SDL to remove Android & iOS emulated mouse events, and to detect Windows emulated mouse events and disregard them.
Fixed touch handling in UI.
Added Button::IsPressed() function.
2013-07-14 14:33:51 +00:00
Wei Tjong Yao
4f5763125c Removed the sed command that altered the make target to install/strip as it is not needed anymore now that the stripping is done via custom command. 2013-07-14 05:36:23 +00:00
Lasse Öörni
dac3f4e0a8 Fixed Android library stripping on some Windows configurations.
Perform Android build as out-of-source on Windows to match the Unix behavior and allow the same commands to be used.
Finalized the Android build documentation.
Removed the old Android native code build path using ndk-build.
Fixed post processing intermediate rendertargets not matching the rendertarget format.
2013-07-13 18:47:36 +00:00
Lasse Öörni
c37695b16a For consistency, emulate touch as mouse on all platforms (on Windows it is unavoidable.)
Fix erroneous controls in NinjaSnowWar when touch control is used on Windows.
2013-07-13 16:44:43 +00:00
Aster Jian
23d25cefa4 Remove unused function in LuaScript. Add Lua property to Audio module. 2013-07-13 14:55:10 +00:00
Lasse Öörni
5ad269e68c Reverted the addition of IsTouchEnabled() as on some platforms it is set dynamically on receiving the first touch. 2013-07-13 13:31:36 +00:00
Lasse Öörni
4c46fe72df Always delete CMakeLists directory also in the Windows CMake batch files to prevent using wrong toolchain.
Added IsTouchEnabled() function to Input.
2013-07-13 12:53:24 +00:00
Wei Tjong Yao
1d4bebc75c Reverted Doxyfile to keep Windows developer happy. 2013-07-11 02:23:01 +00:00
Wei Tjong Yao
f570d88f1b Fixed GCC build under Mac platform. 2013-07-11 02:16:59 +00:00
Wei Tjong Yao
92d4e9831b Configured GCC to use out-of-source build. Set RelWithDebInfo as default build type for single-configuration generator (can be overridden via '-DCMAKE_BUILD_TYPE=xxxx' command line argument). Enhanced cmake_gcc.sh and cmake_eclipse.sh to generate Android project when ANDROD_NDK environment variable is set. Hence, deprecated cmake_android.sh. Updated document to reflect out-of-source gcc build and added a new paragraph on using Eclipse ADT plugin for Android building/deployment. 2013-07-11 01:52:23 +00:00
Wei Tjong Yao
0a712e2e6a Reversed the parameter handling logic in cmake_xxxx.bat and to make it consistent with their shell script counterpart. Updated the documentation accordingly. Reverted back main CMakeLists.txt. 2013-07-10 15:20:44 +00:00
Aster Jian
8d3d69e134 Add Object::GetTypeName support. 2013-07-10 11:02:16 +00:00
Aster Jian
38e2d98085 Replace require with ExecuteFile. Fixed property error, Add CreateRigidBody with mode paramter support. 2013-07-10 04:50:15 +00:00
Lasse Öörni
d5e4b732e9 Use GCC built-in atomic functions instead of inline assembly on Android. This fixes SDL armeabi build failing on release mode. 2013-07-09 19:46:14 +00:00
Lasse Öörni
815f205896 Allow supplying arbitrary parameters to cmake_android.bat, similar to cmake_android.sh. 2013-07-09 18:53:42 +00:00
Wei Tjong Yao
256314c222 Fixed missing comma in Log.cpp. 2013-07-09 16:00:31 +00:00