Commit Graph

10202 Commits

Author SHA1 Message Date
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
Aster Jian
1a32c4a55e Replace tab with spaces. 2013-06-30 03:32:23 +00:00
Aster Jian
0e62845dab Replace tab with space. 2013-06-30 03:31:37 +00:00
Wei Tjong Yao
f69e7579d7 Cleaned up cmake_vs20xx.bat. 2013-06-30 01:55:26 +00:00
Lasse Öörni
4aaec71d20 If node animation has only 1 track, play it in the given root node regardless of whether the track & node name match. 2013-06-29 21:25:07 +00:00
Lasse Öörni
ea67568632 Added Lua bindings contributed by Aster Jian.
Fixed missing includes in some header files.
2013-06-29 16:42:38 +00:00
Wei Tjong Yao
75aa36c327 Clarified the purpose of the HAVE_XCONST_* tests in CMakeLists.txt. 2013-06-27 13:47:27 +00:00
Wei Tjong Yao
8843775dca Minor refactoring to detect parentage directly. 2013-06-27 05:55:51 +00:00
Wei Tjong Yao
f4076560d1 Send E_MODALCHANGED event only when the modal flag changes successfully. 2013-06-27 04:31:04 +00:00
Lasse Öörni
1114a3fc28 Option to disable the InternalEdgeUtility.
Mention indent spacing in coding conventions.
2013-06-26 08:54:56 +00:00
Wei Tjong Yao
2f88f7fc81 Fixed UI subsystem to dismiss the FileSelector correctly when its modal window is being closed via ESC key. 2013-06-26 07:49:38 +00:00