Commit Graph

10202 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
c96200b53b Fix AngelScript compilation due to a wrong letter case. 2013-11-14 11:36:50 +08:00
Lasse Öörni
3168019a5f Updated to AngelScript 2.28.0. Added dictionary addon from AngelScript SDK. Closes #46. 2013-11-14 00:16:56 +02:00
Yao Wei Tjong 姚伟忠
2ccf009362 Add linked resource to Bin output folder.
So that Eclipse binaries parser sees the executables and creates a corresponding Binaries virtual folder to contain them (easier to Run/Debug executable).
2013-11-13 17:41:09 +08:00
Yao Wei Tjong 姚伟忠
e1c8aa301f Add log file pattern to .gitignore. 2013-11-13 14:37:13 +08:00
Yao Wei Tjong 姚伟忠
657696cec5 Suppress Eclipse link resource overlaps warning during project import. 2013-11-13 12:55:16 +08:00
Lasse Öörni
bb56ee95d2 Added support for DelayedExecute() from free script functions. This allows calling free functions in the same script module as delayed. 2013-11-13 02:11:29 +02:00
Lasse Öörni
2c0c10cdcb Renamed "Example applications" Doxygen page to "Examples". 2013-11-12 01:42:58 +02:00
Lasse Öörni
ee8e8031d2 Rework command line options that need a parameter value to have a space in between. Fixes #44. 2013-11-12 01:33:15 +02:00
Yao Wei Tjong 姚伟忠
c3b95cf81e Eliminate overhead to maintain the pkg file list manually.
Also reorder output sections to be consistent with AngelScript API documentation.
2013-11-11 01:21:56 +08:00
Lasse Öörni
82007cc4f4 Removed the nonintuitive "invisible LOD factor" attribute from AnimatedModel and replaced it with updateInvisible flag similar to ParticleEmitter. This flag must be used for ragdolls or other physically animated objects to ensure that they come into view properly during animation if they previously were outside view. Fixes #40. 2013-11-09 21:26:08 +02:00
Yao Wei Tjong 姚伟忠
fd8ccff7ba Let our tools deal with CRLF instead of us. 2013-11-09 15:43:12 +08:00
Yao Wei Tjong 姚伟忠
529f577e7a Fix index out of bound. 2013-11-09 08:53:08 +08:00
Yao Wei Tjong 姚伟忠
5bda958857 Enhance UpdateDocument.bat/sh script to also update LuaScriptAPI.dox.
Not fully tested UpdateDocument.bat on Windows platform yet.
2013-11-09 07:43:23 +08:00
Yao Wei Tjong 姚伟忠
a27560c719 Enhance ScriptCompiler to also dump API as C Header file.
The C Header file is intended to be 'force included' in the IDE to get content assist / code completion when editing AngelScript file in the C/C++ editor. The output section of DumpAPI() method is reordered slightly to keep the parser happy. This work is inspired by the work done by Vladimir Andri (see https://groups.google.com/forum/#!topic/urho3d/8WOOGAdwlEU).
2013-11-08 12:41:21 +08:00
Lasse Öörni
27d54428d5 Fix the delayed method calls attribute for a deserialized ScriptInstance overwriting a delayed method call that was newly stored in code (eg. inside script object's Start() function) 2013-11-07 22:53:57 +02:00
Lasse Öörni
efaf7d28f0 Merge remote-tracking branch 'remotes/szamq/master' 2013-11-06 21:31:14 +02:00
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