Commit Graph

9612 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
f8b553e389 Add post-CMake step to fix file reference warnings in Xcode project.
This step can only be done when using our build script. User calling cmake-gui or cmake directly will not get this workaround fix. But it should be ok because the extra warnings are non-critical. Close #606.
2015-01-16 23:31:39 +08:00
Lasse Öörni
4a0e293cd0 If resource prefix path is specified via engine startup map, add trailing slash similarly as when reading it from the environment. Closes #612. 2015-01-16 17:17:39 +02:00
urho3d-travis-ci
686a6277c9 Travis CI: API documentation update at 2015-01-16 14:45:01 UTC.
[ci package]
2015-01-16 14:45:01 +00:00
Lasse Öörni
609c45f31f Added GetResourceDirs() to ResourceCache Lua API. Closes #611. 2015-01-16 16:30:41 +02:00
Yao Wei Tjong 姚伟忠
c6045b99b7 Skip header installation when destination include dir is not defined.
This should prevent cross-compiling with host tool building from installing header files for the host target.
2015-01-16 13:59:37 +08:00
Yao Wei Tjong 姚伟忠
d8c2d801d9 Update the comment on the build rule. [ci skip]
Related to commit 8682ba781a
2015-01-16 13:26:33 +08:00
Yao Wei Tjong 姚伟忠
8682ba781a Install header files for Lua/LuaJIT and tolua++ 3rd party libraries.
Fixes #610.
2015-01-16 13:20:44 +08:00
aster2013
2e861de366 Fix bug. [ci skip] 2015-01-16 12:34:09 +08:00
Yao Wei Tjong 姚伟忠
f865522e1d Make the xcpretty filter optional for the 'rake make' task.
Minor documentation update.
2015-01-15 23:32:15 +08:00
Yao Wei Tjong 姚伟忠
bffa727e2e Attempt to suppress Xcode multi-group resource reference warnings. 2015-01-14 13:32:11 +08:00
Yao Wei Tjong 姚伟忠
02a5945b83 For Travis CI - Display where the SDK is being installed to in the log.
Minor document update on new Rake tasks.
2015-01-12 14:17:33 +08:00
Mike3D
322d7bc1d9 Fix TileMapObject2D::GetProperty() AngelScript binding 2015-01-11 19:06:39 +01:00
Yao Wei Tjong 姚伟忠
1f0897ec9c Fix the dumb version of post-CMake command to always exit successfuly.
External project may not have install steps defined but the post-CMake fix is still being applied causing build failure previously.
2015-01-11 22:01:42 +08:00
Lasse Öörni
4d320ad198 Fixed the "lightvolumes" render path command not allowing custom shader defines. Added hardware depth utilizing deferred & prepass renderpaths as an example. These use less bandwidth and therefore perform faster, but the deferred path will cause far plane artifacts on OpenGL due to stencil buffer not being available when a readable depth format is used. 2015-01-11 13:47:04 +02:00
Yao Wei Tjong 姚伟忠
8bb7d680ed Dumb down the post-CMake fix for iOS platform. Fixes #602.
The post-CMake fix is now reapplied on each iOS build without first checking it needs the fix or not. But since the 'sed' fix is harmless to be repeated, it is ok to do so.
The original 'smart' post-CMake fix uses shell [] operator but have to be removed to keep the CMake 3.0.0 and 3.0.1 users happy.
[ci skip]
2015-01-11 13:50:45 +08:00
urho3d-travis-ci
021040c1bd Travis CI: API documentation update at 2015-01-10 21:11:52 UTC.
[ci package]
2015-01-10 21:11:52 +00:00
Lasse Öörni
7d393ddc75 Removed use of nullptr construct. 2015-01-10 22:59:42 +02:00
Lasse Öörni
1b8b1929f3 Added contributor credit. [ci skip] 2015-01-10 22:56:48 +02:00
Lasse Öörni
52aa4bc780 Use SDL_PollEvent() instead of SDL_PumpEvents() / SDL_PeepEvent() for subjectively smoother mouse input under vsync (Windows.) 2015-01-10 22:02:57 +02:00
Lasse Öörni
6f3ef0c3f4 Added Lua API to access a renderpath's commands. 2015-01-10 21:21:27 +02:00
Lasse Öörni
0b3e6e2bbb Added "renderui" render path command to render the UI into an arbitrary rendertarget. This disables the default UI render to the backbuffer. Removed functions from UI Lua API that shouldn't be exposed to scripting (update, render.) 2015-01-10 21:10:18 +02:00
Lasse Öörni
d023b06b3d Get rid of overrideView_ member in Batch, as it is no longer used by Skybox, and directional light quads can be made to work without it. Cleanup Light code. 2015-01-10 20:44:26 +02:00
Lasse Öörni
64cb9cd104 Use shadow pass to render depth in ForwardHWDepth, so that linear depth is not calculated unnecessarily. 2015-01-10 19:53:25 +02:00
Lasse Öörni
a31d9ac842 Fix resource dir contained within resource dir being added. Closes #599. 2015-01-10 19:49:09 +02:00
urho3d-travis-ci
7ba89fa755 Travis CI: API documentation update at 2015-01-10 14:36:30 UTC.
[ci package]
2015-01-10 14:36:30 +00:00
Lasse Öörni
b6caeb02a5 Document depth rendering. Disable depth write when sampling a HW depth texture. Disable stencil optimizations when using a custom depth texture, as in that case stencil channel availability can't be guaranteed. Changed -renderpath command line option to use the full resource name instead of defaulting to the RenderPaths directory. Removed test code from ForwardHWDepth renderpath. Closes #597. 2015-01-10 15:54:00 +02:00
Lasse Öörni
6fc05e9373 Added support for defining custom depth-stencil textures in the renderpath, and performing depth-only rendering passes. Readded support for readable HW depth format (on D3D9 it uses the INTZ hack.) Improved RenderPath & Graphics Lua bindings. Added -renderpath command line option to specify the renderpath file to use. 2015-01-10 15:54:00 +02:00
Yao Wei Tjong 姚伟忠
32212b1a12 Minor document update. 2015-01-10 21:23:12 +08:00
Yao Wei Tjong 姚伟忠
3ae2942ad2 Move the cricial post-CMake fix into CMake rules for iOS platform.
This should ensure the Xcode project generated from user calling cmake-gui directly or cmake directly (not via our build scripts) would also geting the critical fix, and also whenever CMake performs a rerun internally then our post-CMake fix is reapplied automatically.
2015-01-09 18:02:42 +08:00
Yao Wei Tjong 姚伟忠
d83de4904e Create the 'generated' subdir regardless whether Lua/LuaJIT is enabled. 2015-01-09 12:26:33 +08:00
aster2013
906f71ad6d Fix #590. 2015-01-08 13:57:51 +08:00
aster2013
23b53e7ac5 Do not clone temporary node or component. fix issue #589 2015-01-08 13:01:36 +08:00
Yao Wei Tjong 姚伟忠
74296e8123 Clean up the rake task comment. [ci skip] 2015-01-08 12:23:27 +08:00
Yao Wei Tjong 姚伟忠
2ad47fc0ff Enhance 'rake cmake' and 'rake make' tasks to take optional arguments.
When the '<platform-specific>_build_tree' or 'build_tree' argument is provided then use it as the build tree path, otherwise use the default build tree path as before.
The '<platform-specific>_build_tree' takes precedence over 'build_tree'.
2015-01-08 11:42:12 +08:00
Yao Wei Tjong 姚伟忠
9d15448830 Keep the basic project structure simple and stupid. 2015-01-08 11:42:12 +08:00
Lasse Öörni
94b4c8f6e6 Added DiffUnlitAlphaMask technique. Closes #595. 2015-01-07 22:35:27 +02:00
Mike3D
0f8f50c35c Removed tab 2015-01-07 21:18:04 +01:00
Yao Wei Tjong 姚伟忠
dc620f1f6a Code clean up. [ci skip] 2015-01-07 22:02:41 +08:00
Yao Wei Tjong 姚伟忠
35307869ee Clean up to remove unused CMake variables.
LIBS is now defunct. No more dual purpose usage.
INCLUDE_DIRS_ONLY is renamed to INCLUDE_DIRS.
LINK_LIBS_ONLY is renamed to LIBS.
2015-01-07 21:51:00 +08:00
Yao Wei Tjong 姚伟忠
eb4a7663b5 Avoid hardcoding rapidjson as dependency to Urho3D library. 2015-01-07 21:25:20 +08:00
Yao Wei Tjong 姚伟忠
cffcd1e07f Revise the log message when the resource prefix path is not set.
Hopefully in doing so, this will not become FAQ in the support forum.
2015-01-07 21:09:44 +08:00
Mike3D
4a6355b136 Fix GetRigidBodies in PhysicsWorld2D 2015-01-07 12:21:33 +01:00
urho3d-travis-ci
32a20c360a Travis CI: API documentation update at 2015-01-06 17:00:05 UTC.
[ci package]
2015-01-06 17:00:05 +00:00
Yao Wei Tjong 姚伟忠
0246b11299 Fix Lua API doxygen hook. 2015-01-07 00:36:28 +08:00
urho3d-travis-ci
a5747148c1 Travis CI: API documentation update at 2015-01-06 14:44:53 UTC.
[ci package]
2015-01-06 14:44:53 +00:00
Yao Wei Tjong 姚伟忠
bde0b2bcfe Fix Android build on Windows host system without MKLINK capability. 2015-01-06 22:20:04 +08:00
Yao Wei Tjong 姚伟忠
9a109399ee Remove MSVC "workaround" and add dummy rapidjson target as dependency.
The dependency is required when not using MKLINK on Windows host.
2015-01-06 21:43:13 +08:00
Yao Wei Tjong 姚伟忠
7dd9143f59 Fix the include path for the generated Lua API bindings. 2015-01-06 21:41:17 +08:00
Yao Wei Tjong 姚伟忠
2e9d9f4806 Fix MinGW build on Windows host system. 2015-01-06 17:25:58 +08:00
Yao Wei Tjong 姚伟忠
352842b0fa For Travis CI - skip the site update when it is already done earlier. 2015-01-06 13:28:09 +08:00