Commit Graph

9886 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
f5637c6fef Fix a formatting issue. 2013-11-06 23:06:43 +08:00
Yao Wei Tjong 姚伟忠
1b97acc6f3 Minor documentation update for Raspberry Pi cross-compiling build. 2013-11-06 22:53:45 +08:00
Yao Wei Tjong 姚伟忠
79ebb142d7 Use a more concise REGEX to prevent unwanted match. Closes #38. 2013-11-06 16:14:52 +08:00
Paweł Mogiła
1cb217a8ef Expose anisotropic friction to Lua and AngelScript 2013-11-06 01:53:22 +01:00
Paweł Mogiła
3cb9afe865 Added Bullet anisotropic friction to RigidBody 2013-11-06 01:23:44 +01:00
Yao Wei Tjong 姚伟忠
a96a94a4f6 Fix FindUrho3D.cmake module to include back SDL headers as dep.
Install SDL headers for all platforms (not just Android).
2013-11-06 08:04:48 +08:00
Lasse Öörni
a56be53ef4 Allow specifying -DUSE_OPENGL=0 for MinGW. Compiling ShaderCompiler is likely to fail in that case. Closes #36. 2013-11-06 01:27:43 +02:00
Lasse Öörni
719e640c99 Fixed Android file access from within the .apk. 2013-11-05 18:31:08 +02:00
Yao Wei Tjong 姚伟忠
bd3ee3f932 Fix the destination template dir for GCC only.
Android build on Windows platform should also use the same template location installed in the NDK or standalone toolchain.
2013-11-05 17:05:31 +08:00
Yao Wei Tjong 姚伟忠
24c11dda23 Revert "Setup Android template directory for both Windows and non-Windows."
This reverts commit 06f7d73922.
2013-11-05 17:00:43 +08:00
Yao Wei Tjong 姚伟忠
06f7d73922 Setup Android template directory for both Windows and non-Windows. 2013-11-05 16:36:14 +08:00
Yao Wei Tjong 姚伟忠
8a571ae437 Document how to install library and how to find it from installed SDK. 2013-11-05 15:52:37 +08:00
Lasse Öörni
cfa6b135ce Moved Urho3DPlayer class definition to a .h file. Updated documentation to refer to Urho3DPlayer. 2013-11-04 19:07:00 +02:00
Yao Wei Tjong 姚伟忠
768c28139e Change the scripts to use the new player name. 2013-11-04 19:42:08 +08:00
Yao Wei Tjong 姚伟忠
c1480abfb8 Rename Urho3D script host app from "Urho3D" to "Urho3DPlayer". 2013-11-04 19:36:36 +08:00
Yao Wei Tjong 姚伟忠
017891d1e7 Temporary fix to work around Xcode generator bug for target installation. 2013-11-04 12:14:55 +08:00
Yao Wei Tjong 姚伟忠
a93d3fbf7e Add condition to turn off the temporary fix on CMake 2.8.12.
CMake/Xcode v2.8.12 appears to have fixed the iOS auto-linking issue. Tested on Xcode 5.
2013-11-04 10:21:36 +08:00
Yao Wei Tjong 姚伟忠
9161188398 Add more git ignore patterns for Mac OS X platform. 2013-11-04 10:21:36 +08:00
Yao Wei Tjong 姚伟忠
300efe0f7d Reinstate comment on RedHat-based system that needs LIB_SUFFIX. 2013-11-04 08:36:15 +08:00
Yao Wei Tjong 姚伟忠
e8fbcf8a82 Add 'install' option for cross-compiling build and IOS as well.
Note: there is a known bug in CMake/Xcode generator that prevents iOS targets (library and bundle) to be installed correctly (see http://public.kitware.com/Bug/bug_relationship_graph.php?bug_id=12506&graph=dependency).
2013-11-04 00:13:49 +08:00
Yao Wei Tjong 姚伟忠
b45de628e7 Reduce 3rd-party headers installation to as minimum as possible. 2013-11-03 06:28:41 +08:00
Yao Wei Tjong 姚伟忠
a542556a91 Rephrase error message when Urho3D library is not found. 2013-11-03 03:45:58 +08:00
Lasse Öörni
6133c24a53 Official fix for the void assert from AngelScript SVN. 2013-11-02 19:47:01 +02:00
Lasse Öörni
bdd2d03c81 Fixed AngelScript assert/crash if void value is attempted to be cast explicitly. Closes #33. 2013-11-02 17:23:41 +02:00
Yao Wei Tjong 姚伟忠
e496dfbbcb Prevent spamming stderr stream when log file could not be opened.
This occurs when the binary is installed and executed in a filesystem where user does not have write permissions.
2013-11-02 18:07:54 +08:00
Yao Wei Tjong 姚伟忠
8c248bdb7c Fix URHO3D_INCLUDE_DIR to also include sub-dirs to 3rd-party headers. 2013-11-02 17:10:25 +08:00
Yao Wei Tjong 姚伟忠
52ff881c54 Add 'install' option (currently only available for native build).
Also enhance FindUrho3D.cmake module to find Urho3D library in the Urho3D SDK installation location.
2013-11-02 16:45:44 +08:00
Lasse Öörni
8ca86afbe7 Merge branch 'sdl-update' 2013-11-02 01:04:02 +02:00
Yao Wei Tjong 姚伟忠
8ff3348503 Refactor define_dependency_libs macro.
Change to remove the references to engine's sub-library targets which are now defunct. General cleanup of the build scripts.
2013-11-01 17:58:47 +08:00
Yao Wei Tjong 姚伟忠
ba55fd1ecf Add iOS app bundle directory pattern into .gitignore. 2013-11-01 00:36:14 +08:00
Yao Wei Tjong 姚伟忠
b15b871db5 Fixed CMake warning after upgrading to CMake 2.8.12. 2013-10-31 23:06:02 +08:00
Yao Wei Tjong 姚伟忠
da155d2b9a Generating all the output files in the desired output directories.
Thus, avoiding the copying and symlinks setup (for Xcode debugging) post-build steps.
2013-10-31 17:27:18 +08:00
Yao Wei Tjong 姚伟忠
7e64ba7557 Add Android auto-generated project properties to .gitignore.
Also, do not create symbolic link to project.properties anymore.
2013-10-31 13:04:50 +08:00
Lasse Öörni
67e8ea47e5 Do not attempt to copy the .pdb for static Urho3D lib due to recent CMake behavior change. Fixes #32. 2013-10-31 02:46:54 +02:00
Lasse Öörni
c057b29dba Unify how command line options are shown in utilities.
Added note in documentation about lack of space between command line option and its parameter.
Prepend Materials/ to the material list written by OgreImporter (assume "standard" materials subdirectory.)
2013-10-30 18:49:27 +02:00
Yao Wei Tjong 姚伟忠
cdd9b7bdea Reverted back EXTRA_FLAGS which was changed unintendedly. 2013-10-30 18:14:41 +08:00
Yao Wei Tjong 姚伟忠
6071001b5c Refactor define_source_files macro.
Change the argument names to indicate their intent usage better. Add option to pass in directly globbing patterns.
2013-10-30 18:06:24 +08:00
Yao Wei Tjong 姚伟忠
4b549c9c7a Revert back to no-ops for Input::SetMouseVisible() on RPI.
The OS cursor on Raspberry Pi does not behave like other OS cursor on other platforms.
2013-10-30 17:00:02 +08:00
Yao Wei Tjong 姚伟忠
95a9c71a21 Fixed runtime issue on Raspberry Pi with Pidora as OS. 2013-10-30 12:31:32 +08:00
Lasse Öörni
b957f60143 Added ApplyMaterialList() function to StaticModel so that the feature can be used outside the editor as well. Refactored editor to use that function instead of its own implementation.
Unified the switch to output material list to -l in both AssetImporter & OgreImporter.
Removed the "use local IDs" toggle from editor as that can be specified with the import options.
2013-10-29 23:04:51 +02:00
Yao Wei Tjong 姚伟忠
953f87d052 Fixed mouse motion spin bug.
This bug only manifests itself when the SDL video driver has "WarpMouse" function implemented, like RPI video driver, in conjuction with call to SDL_SendMouseMotion() with relative event position.
2013-10-29 23:48:03 +08:00
Yao Wei Tjong 姚伟忠
7a82151933 Reenable the function for RPI since new video driver support mouse. 2013-10-29 22:07:43 +08:00
Yao Wei Tjong 姚伟忠
f442c0c16a Updated documentation on additional Linux software package for RPI. 2013-10-29 21:28:38 +08:00
Yao Wei Tjong 姚伟忠
9e09e958dc Fixed event handling for Raspberry Pi. 2013-10-29 13:58:47 +08:00
Lasse Öörni
8077ee4a53 Added option to OgreImporter to save material list file next to the model. 2013-10-28 21:35:53 +02:00
Yao Wei Tjong 姚伟忠
6cf19fa9ce Fixed Raspberry Pi error (could open Window). 2013-10-28 22:30:01 +08:00
Lasse Öörni
3ce378d5e2 Merge branch 'master' into sdl-update 2013-10-28 13:13:08 +02:00
Yao Wei Tjong 姚伟忠
e423a26461 Refactor CMake build scripts.
Changes:
- Avoid globbing engine source files twice.
- Setup folder group for VS and Xcode. Also group object files according to 3rd-party library name.
- New define_source_files() macro.
2013-10-28 18:21:18 +08:00
Lasse Öörni
c1a1864a40 Fixed black window on subsequent application starts on Android. Removed GL synchronization before swapping buffers, which should be unnecessary. 2013-10-28 05:06:23 +02:00
Lasse Öörni
e74ee4ce52 Fixed exiting on Android. 2013-10-28 01:45:44 +02:00