Commit Graph

9886 Commits

Author SHA1 Message Date
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
Aster Jian
02899e9a4e Apply patch to PhysicsWorld.gravity property. 2013-07-09 15:17:17 +00:00
Wei Tjong Yao
82a24ee63a Fixed Lua library for Android build. 2013-07-09 15:06:32 +00:00
Aster Jian
aa633f2e2e Apply patch to CollisionShape.worldBoundingBox property.
Apply patch to NavigationMesh.worldBoundingBox and numTiles property.
2013-07-09 15:05:04 +00:00
Lasse Öörni
e87ff28e40 Use no-invalid-offsetof flag on Android.
Restored logic of using debug log level in debug mode by default.
2013-07-09 14:54:10 +00:00
Aster Jian
9edef1996a Add property support in Engine, Navigable, Physics. 2013-07-09 12:59:54 +00:00
Lasse Öörni
a5223e76f2 Removed deprecated mention of OBJECTTYPESTATIC macro in the getting started documentation. 2013-07-09 11:07:09 +00:00
Wei Tjong Yao
6ad6966ea9 Updated documentation for CMake-based android build. 2013-07-09 06:03:40 +00:00
Wei Tjong Yao
ace1fef9e6 Fixed android-gcc build. Moved enabling of ASM_MASM to the library targets that need it (for Win64 build). 2013-07-09 05:40:14 +00:00
Lasse Öörni
09463e6963 Documentation edit. 2013-07-08 21:34:48 +00:00
Lasse Öörni
8b6be62a0f Tidied up the message of SDL joystick support. 2013-07-08 20:10:44 +00:00
Lasse Öörni
4a93b29845 Fall back to SDL Windows multimedia joystick support if no wbemcli.h. 2013-07-08 19:51:38 +00:00
Lasse Öörni
0915fbddf3 Added SetAutoExit & GetAutoExit to Engine Lua bindings.
Update generated documentation.
2013-07-08 18:05:19 +00:00
Lasse Öörni
4f5e060a6a Fixed possible subsystem deinitialization order error.
Fixed uninitialized variable in GraphicsImpl, which caused crash when exiting before opening the rendering window.
2013-07-08 14:37:04 +00:00
Lasse Öörni
0092e3da5b Applied resource search path patch from Erik Beran.
Added similar fallback to executable search path (FileSystem::SystemRun()).
2013-07-08 09:54:57 +00:00
Aster Jian
4264ac0651 Hide console at startup. 2013-07-08 05:34:59 +00:00
Aster Jian
36daf7ad8e Port TestScene to Lua Finished. 2013-07-08 05:24:05 +00:00
Aster Jian
a924f29076 Add Node, Scene etc support in VariantMap.
Fixed SendRemoteEvent function in Connection.
Add DrawDebugGeometry function in Renderer.
Add HasComponent function in Node.
2013-07-08 05:23:27 +00:00
Wei Tjong Yao
56e60a59d8 Fixed Win64 build. Enhanced cmake_vs20xx.bat to accept extra command line arguments, such as ENABLE_64BIT, ENABLE_LUA, or ENABLE_EXTRAS. 2013-07-08 00:13:55 +00:00
Lasse Öörni
61a8f4a98f Fixed SDL thumb mode inline assembly when compiling in release mode with the Android toolchain. 2013-07-07 23:03:20 +00:00
Lasse Öörni
fa0ba1f2d8 Updated Android toolchain to newer.
Reverted some of the hacks for CMake Android build.
Documented the work-in-progress CMake Android build path.
2013-07-07 22:04:18 +00:00
Lasse Öörni
1704bd16a9 Initial support for CMake-based Android build. 2013-07-07 19:41:45 +00:00
Aster Jian
92b3892124 Port TestScene sample to Lua, finish 80%. 2013-07-07 14:45:06 +00:00
Aster Jian
34db58e4b9 Update Lua api, more classed are supported.
Replace tab with spaces.
2013-07-07 14:37:22 +00:00
Aster Jian
4dbf6197e0 Create Sprite and Cursor using Constructor.
String compare operator to String::Eq function.
2013-07-07 12:30:58 +00:00
Lasse Öörni
f92b8f14aa Applied 64bit out-of-source build patch from Erik Beran. 2013-07-07 11:15:59 +00:00
Wei Tjong Yao
225f5ea0b5 Fixed LuaScript's CMakeLists.txt to include *.pkg files in the respective sub-folders under 'pkgs' folder as dependencies. Removed non-existent header include to keep GCC happy. 2013-07-07 08:28:20 +00:00