Commit Graph

9886 Commits

Author SHA1 Message Date
Chris Friesen
7376e24400 Editor - numpad camera modes focus selection 2015-01-20 00:33:00 -06:00
Chris Friesen
262bb942e4 Editor deselect all 2015-01-19 23:18:43 -06:00
aster2013
c20ac4bac4 Include Urho3D.h in Str.h for URHO3D_API. 2015-01-20 12:19:30 +08:00
aster2013
e473fe6660 Change "const String&" to "const String" in pkg files. 2015-01-20 11:41:01 +08:00
Lasse Öörni
5c4dcf8035 Add export specifier to objects in GraphicsDefs and make them const. Fixes #621. 2015-01-19 21:00:59 +02:00
Mike3D
6f7ff7f5f9 Simplify sample 18 for lua 2015-01-19 16:49:45 +01:00
Yao Wei Tjong 姚伟忠
cf79f6ce1e Install CoreData and Data subdirs to 'share/Urho3D/Resources' instead.
Close #620.
2015-01-19 20:36:10 +08:00
Yao Wei Tjong 姚伟忠
69fdf1edfb Fix cross-compiling build due to incorrect CMake conditional check.
Related to commit f9158a045e.
2015-01-18 22:52:28 +08:00
Mike3D
7014e466c5 Typo 2015-01-18 15:39:56 +01:00
Yao Wei Tjong 姚伟忠
f9158a045e Install binaries to the "bin" subdir relative to install prefix.
Fix the Android installing and packaging steps which previously failed to install all the sample libs.
Close #616.
2015-01-18 22:29:57 +08:00
Yao Wei Tjong 姚伟忠
05dd995b85 Refactor all the codes and scripts to use the renamed 'bin' subdir. 2015-01-18 21:40:54 +08:00
Yao Wei Tjong 姚伟忠
05a8b79fd2 Rename "Bin" subdir to "bin". 2015-01-18 21:31:13 +08:00
Yao Wei Tjong 姚伟忠
b86c4927aa Enhance setup_main_executable() to support MACOSX_BUNDLE individually.
When the URHO3D_MACOSX_BUNDLE build option is not set, passing the MACOSX_BUNDLE explicitly when setting up a main executable target will make the corresponding target to be built as a bundle.
2015-01-18 15:59:11 +08:00
Yao Wei Tjong 姚伟忠
2906365c97 Simplify the resource prefix path engine parameter handling.
Also ensure that relative prefix path is being resolved relative to the program dir regardless of where the prefix path parameter value is coming from.
2015-01-18 15:38:35 +08:00
Yao Wei Tjong 姚伟忠
51d9b47c1c When fixing Eclipse's SCM, also exclude build tree in source filter. 2015-01-18 15:30:33 +08:00
Chris Friesen
1d954a2759 Merge pull request #560 from friesencr/editor_inspector_lock
[Editor] inspector lock
2015-01-17 23:56:34 -06:00
Lasse Öörni
365afe517a When instantiating models from the resource browser, use the drag drop target instead of editNode, which may be null. Create a new node if necessary. Closes #613. 2015-01-17 16:34:33 +02:00
Lasse Öörni
de96ff2e56 Create ParticleEmitter2D in a generic manner to allow running the editor without Urho2D classes compiled in. 2015-01-17 16:20:48 +02:00
Yao Wei Tjong 姚伟忠
33d17b6abb Clean up the file formatting on the new template files. 2015-01-17 18:50:12 +08:00
Yao Wei Tjong 姚伟忠
8a421a4012 Add new files for URHO3D_MACOSX_BUNDLE build options. 2015-01-17 18:41:33 +08:00
Yao Wei Tjong 姚伟忠
1b2dcac1d2 Add new URHO3D_MACOSX_BUNDLE build option to build bundled apps on OSX. 2015-01-17 18:34:22 +08:00
urho3d-travis-ci
116069dcd5 Travis CI: API documentation update at 2015-01-16 19:56:03 UTC.
[ci package]
2015-01-16 19:56:03 +00:00
Lasse Öörni
4d8b3b8bae Added VectorBuffer read/write to AngelScript API. 2015-01-16 18:29:15 +02:00
Lasse Öörni
e4146ba173 Added Is Enabled attribute to various Urho2D components. Updated editor icons. Fixed AnimatedSprite2D not hiding its child sprites on SetEnabled(). Closes #609. 2015-01-16 17:59:31 +02:00
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