Commit Graph

9612 Commits

Author SHA1 Message Date
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
Lasse Öörni
20c63654e3 Fixed gravity being incorrectly applied if framerate is low. 2013-07-02 22:35:24 +00:00
Aster Jian
008480cb27 Update Lua API. 2013-07-02 12:36:57 +00:00
Aster Jian
7f15f788e6 Add Vector type support. 2013-07-02 12:18:58 +00:00
Aster Jian
4f15793699 Add missing header file. 2013-07-02 12:18:07 +00:00
Wei Tjong Yao
aee4fa62dd Corrected the lettercase to fix GCC compile. 2013-07-02 11:16:27 +00:00
Wei Tjong Yao
96fd774edc Changed SystemRun() to return the actual exit code returned by subprocess. Added error log when failed to open file externally. 2013-06-30 08:32:14 +00:00
Wei Tjong Yao
5d0641bdf5 Implemented SystemOpen() method for Linux platform. The implementation relies on xdg-open from xdg-utils package which should be pre-installed by default in mainstream Linux distros like Fedora, Ubuntu, Mint. 2013-06-30 07:22:16 +00:00