Commit Graph

9869 Commits

Author SHA1 Message Date
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
Aster Jian
e91dcff71b Fixed missing header file. 2013-07-07 05:24:19 +00:00
Aster Jian
52516fbfa2 Force lua GC. 2013-07-07 05:23:43 +00:00
Aster Jian
1cdb324a6e Update tolua++ pkg files. 2013-07-07 05:15:03 +00:00
Lasse Öörni
82201f831c Detect missing include file and build SDL without Windows joystick support if necessary. 2013-07-06 20:21:03 +00:00
Lasse Öörni
ad7b7451b4 As latest SDL was found to be non-threadsafe in practice, removed the StaticMutex and the OBJECTTYPESTATIC constructs which were added to support multi-context use within a single process.
Fixed single SDL memory leak on exit.
2013-07-06 12:30:40 +00:00
Wei Tjong Yao
e1a05e621c Simplified app exit code path. 2013-07-06 04:20:16 +00:00
Lasse Öörni
a18ad2b45d Do not allow Input to directly close the rendering window and cause engine main loop termination. Instead send an event. Engine::SetAutoExit() controls whether to exit automatically as a response.
Do not pump OS events inside static mutex, as SDL's own event queue is already thread-safe.
2013-07-05 21:08:23 +00:00
Lasse Öörni
14fc3cbe5c Fixed multiple instance SDL event handling. 2013-07-05 16:08:05 +00:00
Wei Tjong Yao
d0bbb1b1d4 Fixed cmake_ios.sh to accept command line arguments, such as '-DENABLE_LUA=1' to turn on Lua support. 2013-07-05 11:37:12 +00:00
Lasse Öörni
0687f75fdb Added comment on threaded Octree update. 2013-07-05 07:04:07 +00:00
Lasse Öörni
e5d4a3939b Emit public drag start/move/end events. Adapted from patch contributed by Chris Friesen. 2013-07-04 21:34:58 +00:00
Lasse Öörni
ad84d373b9 Removed X11 const defines from SDL Linux config. 2013-07-04 19:38:47 +00:00
Lasse Öörni
b1ce162af1 React to window closed by setting Engine to exiting state.
Eliminated circular dependency between Engine & Input.
2013-07-04 13:57:32 +00:00
Wei Tjong Yao
29c4f5cc62 Reverted back to UNIX eol and a minor cleaned up. 2013-07-04 12:09:44 +00:00
Lasse Öörni
17d990098c Updated to new SDL 2.0. 2013-07-04 11:04:02 +00:00
Wei Tjong Yao
487981c76f Fixed MSVC/Win. 2013-07-04 05:50:57 +00:00
Wei Tjong Yao
2946fb3198 Removed generated artifacts from SVN. Automated the generation of *LuaAPI.cpp as part of the build process. 2013-07-04 04:29:22 +00:00