Commit Graph

9869 Commits

Author SHA1 Message Date
Wei Tjong Yao
0940bdae46 Use backward slash for consistency. 2013-08-11 15:02:29 +00:00
Wei Tjong Yao
ddc3670238 Attempt to fix MinGW build and some other code cleanup. 2013-08-11 14:30:22 +00:00
Wei Tjong Yao
b2924c425c Rectified source code alignment. 2013-08-10 18:05:01 +00:00
Wei Tjong Yao
217c851811 Create out-of-source build directory for Android on Windows platform when mklink option is enabled. 2013-08-10 17:58:33 +00:00
Wei Tjong Yao
5f32c9dfd0 Rectified source code alignment. 2013-08-10 15:50:51 +00:00
Wei Tjong Yao
83302c3de4 Added mklink support for VS generator, enable by specifying '-DUSE_MKLINK=1' 2013-08-10 15:49:09 +00:00
Wei Tjong Yao
bdadbc926f Changed VS generator to use out-of-source build. 2013-08-10 14:03:44 +00:00
Wei Tjong Yao
63a1dcc892 Use symlink to object directory instead of direct copying for Xcode. 2013-08-10 04:53:24 +00:00
Wei Tjong Yao
1385700c7f Fixed broken wiki link. 2013-08-09 17:21:30 +00:00
Wei Tjong Yao
2eb5a49353 Updated documentation. 2013-08-09 17:00:43 +00:00
Wei Tjong Yao
a01faa3ef2 Fixed static and shared library build using Xcode. 2013-08-09 16:19:58 +00:00
Wei Tjong Yao
2b024be205 Fixed build script for Mac OS X. 2013-08-09 12:12:23 +00:00
Wei Tjong Yao
38ae7f36c5 Fixed the resource path for MacOSX. 2013-08-09 11:26:47 +00:00
Wei Tjong Yao
4524754fda Reverted back to use native copy command. 2013-08-09 10:57:52 +00:00
Wei Tjong Yao
c789be7259 Reverted back Android project properties. 2013-08-09 10:32:07 +00:00
Wei Tjong Yao
02512cecf9 In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'. 2013-08-09 10:29:22 +00:00
Wei Tjong Yao
9d9b2278fa Updated documentation on using Urho3D as external library. 2013-08-09 04:33:51 +00:00
Wei Tjong Yao
db67538bfe Refactored build script to move the ObjectLocator custom script logic to Urho3D library CMakeLists.txt, thus unifying the approach to build the static and shared library for all the supported compilers and platforms (including VS/Windows, GCC/Linux, and Clang/Mac). 2013-08-08 16:45:47 +00:00
Lasse Öörni
86a12627b2 Disable camera controls when the UI has a focused element. 2013-08-07 21:49:13 +00:00
Lasse Öörni
4f3025332c Added StaticScene sample. 2013-08-07 21:29:05 +00:00
Lasse Öörni
08d3fa5ad8 Added Urho3D namespace to macros so that they can be used without "using namespace Urho3D" 2013-08-07 11:49:39 +00:00
Lasse Öörni
99560bba71 Use SSE2 instead of SSE on MinGW, but print a warning message.
CMake options can be used to disable SSE & minidumps, instead having to modify CMake script.
2013-08-07 07:41:00 +00:00
Wei Tjong Yao
ce231388b2 Removed trailing right angle bracket. 2013-08-07 04:16:47 +00:00
Wei Tjong Yao
9dc562641a Fixed unnecessary invocation of ObjectLocator custom script and creation of CMakeScriptOutput directory when not building Urho3D library. Renamed the custom script output name as its previous name clashes with VS. Attempted a fix on ObjectLocator custom script for MinGW. 2013-08-07 03:37:02 +00:00
Lasse Öörni
feb13167ee Disable SSE instructions when compiling with MinGW as MinGW-w64 fails with them in 32bit mode. 2013-08-06 23:45:47 +00:00
Lasse Öörni
764d1689be Fixes for 64-bit build under Mingw-w64. 2013-08-06 22:58:20 +00:00
Lasse Öörni
53a49d9d12 Fixed MinGW build when not having the ability to execute sh scripts. This means a separate library build is currently not possible on MinGW. 2013-08-06 21:17:03 +00:00
Lasse Öörni
e8c16bf658 Read command line from a file on Android and iOS. 2013-08-06 19:12:44 +00:00
Lasse Öörni
3ed75bb3ba Disable ObjectLocator script for library targets when building for Android or iOS. 2013-08-06 18:24:45 +00:00
Wei Tjong Yao
a6c1e77c8d Moved the Urho3D library code to Engine directory. 2013-08-06 16:31:18 +00:00
Wei Tjong Yao
05c1360cd5 Removed execute bit from batch file. 2013-08-06 15:38:15 +00:00
Wei Tjong Yao
1cbdea8159 Added custom script for MSVC build. 2013-08-06 15:33:21 +00:00
Lasse Öörni
92aa3341d5 Simplified the instructions for enabling OpenGL mode.
Wiki update.
2013-08-06 15:26:05 +00:00
Lasse Öörni
560ffd03c2 Moved the Urho3D application code to Tools directory.
Updated documentation.
2013-08-06 15:09:47 +00:00
Aster Jian
192944cdd9 Remove Data folder in 01_LuaHelloWorld.bat. 2013-08-06 06:26:48 +00:00
Wei Tjong Yao
805b4a9902 Fixed compilation issue on Windows platform. 2013-08-06 02:46:56 +00:00
Wei Tjong Yao
cf7717be64 Code cleanup. 2013-08-06 02:22:39 +00:00
Lasse Öörni
ab67242052 Added sprite sample, based on the script SpriteTest.
Added missing include to ResourceCache.h.
Simplify sample CMakeLists; use wildcard to find .cpp & .h files.
2013-08-05 22:00:52 +00:00
Wei Tjong Yao
c319f35444 Code cleanup, removed redundant check as now Urho3D library build type is mutually exclusive of Urho3D executable build. 2013-08-05 16:02:29 +00:00
Wei Tjong Yao
36b653fecd Fixed code alignment. 2013-08-05 15:48:20 +00:00
Wei Tjong Yao
e952719302 In preparation for supporting shared library for Windows platform, selectively marked Engine class as public API. Setup the visibility compiler flags for GCC and Clang to hide non-marked API from shared library. 2013-08-05 15:40:35 +00:00
Lasse Öörni
391c3fef75 Mark animation dirty when per-bone weights are changed. 2013-08-04 12:04:12 +00:00
Lasse Öörni
96e80a2366 Per-bone weight control of animation state tracks. Not serialized yet. Eliminated map lookups from applying animations. 2013-08-04 11:32:44 +00:00
Lasse Öörni
744f51ddf0 Fixed resource picking in the editor.
Cache DebugRenderer shaders.
2013-08-03 14:52:57 +00:00
Wei Tjong Yao
8bfb657d15 Added bash SHEBANG for the CMake custom scripts because the default sh shell in Mac OS X platform is broken. Fixed the static and shared library build for Mac OS X platform using Makefile generator. 2013-08-03 08:13:50 +00:00
Aster Jian
7aba3391a5 Support subscribe to a specific sender's event in Lua. 2013-08-02 15:15:36 +00:00
Wei Tjong Yao
09cae8bd36 Removed CMake hack and replaced it with another better one. 2013-08-02 14:47:59 +00:00
Paul Noome
90f844ca93 Fix outdated comments to correspond to current code. 2013-08-02 10:41:11 +00:00
Wei Tjong Yao
c2b72e0e36 Added licence header lines. 2013-08-01 19:12:37 +00:00
Wei Tjong Yao
27199ea147 Use custom script to precisely locate all the required object files for building static/shared library instead of relying on regex find. 2013-08-01 19:07:39 +00:00