Commit Graph

  • 3ec8ecdfcf Merge pull request #648 from friesencr/infinate_package hdunderscore 2015-02-02 18:11:35 +1100
  • 9a9a79412e Fixed a bug in ResourceCache->AddPackageFile(string) that was causing infinite loop. hdunderscore 2015-02-02 03:17:36 +1100
  • 365a83bda1 Revert back cmake_generic.bat changes. Yao Wei Tjong 姚伟忠 2015-02-02 06:51:20 +0800
  • c08fa5e94d Calculate a shader parameter hash value to eliminate setting of unnecessary constants/uniforms when rendering with multiple materials that have the same parameters. Lasse Öörni 2015-02-01 15:20:07 +0200
  • 2716bcf12e Code cleanup related to the D3D9 shader parameter change. Lasse Öörni 2015-02-01 13:56:07 +0200
  • 73bbf3f787 Fix textures left bound in multiple units if the texture type (2D, cubemap) differs on OpenGL. Lasse Öörni 2015-02-01 13:33:07 +0200
  • 79e45ba7e3 Reduce cost of shader switching on Direct3D9 by maintaining shader parameter list for each vertex/pixel shader combination similarly to the OpenGL ShaderProgram class. Remove the shadertype parameter from Graphics::HasShaderParameter() as unnecessary. Lasse Öörni 2015-02-01 02:54:46 +0200
  • cfff44873f Bump missed out files. [ci skip] $ for f in git grep -l '2008-2014 the Urho3D project'; do perl -pi -e 's/2008-2014 the Urho3D project/2008-2015 the Urho3D project/g' $f; done Yao Wei Tjong 姚伟忠 2015-02-01 08:13:52 +0800
  • bb2ebf7568 Bump copyright to 2015. Lasse Öörni 2015-01-31 21:03:53 +0200
  • fbc7c06929 Typo Mike3D 2015-01-31 14:51:08 +0100
  • 5a7523eddd Urho2D documentation enhancement Mike3D 2015-01-31 11:23:19 +0100
  • 88220f4f8a Simplify the variables used in two-phase setups of enable_pch() macro. Yao Wei Tjong 姚伟忠 2015-01-30 11:45:13 +0800
  • f9f13cd3fa Add build script for generating Code::Blocks project on Windows host. Close #644. Yao Wei Tjong 姚伟忠 2015-01-30 11:37:38 +0800
  • c747198101 Travis CI: API documentation update at 2015-01-29 14:56:49 UTC. [ci package] urho3d-travis-ci 2015-01-29 14:56:49 +0000
  • c11db9fdcd Add SetAlpha in StaticSprite2D to AnimatedSprite2D alpha animation bug. Add typedef in Vector and HashMap. aster2013 2015-01-29 22:45:22 +0800
  • 64a96090e3 Code and comment clean up. Yao Wei Tjong 姚伟忠 2015-01-29 20:51:35 +0800
  • 8e81d3ff36 Use regex replacement to handle path with spaces in between correctly. Enhance build scripts to handle source tree and build tree with spaces. Fix PCH generation with incorrect compiler flags caused by -fPIC and -fpic from being added at the same time. Fix compiler warning on Android platform with PCH enabled on the external main project due to CMake bug in 'VISIBILITY_INLINES_HIDDEN' implementation. Close #637. Yao Wei Tjong 姚伟忠 2015-01-29 15:36:04 +0800
  • 4db362f95c Use the actual dependency list returned by the compiler. Yao Wei Tjong 姚伟忠 2015-01-27 20:39:20 +0800
  • 9c61a7673b Add option to exclude individual C++ source file from using PCH. Clean up enable_pch() macro and minor update on code comments. Yao Wei Tjong 姚伟忠 2015-01-27 16:06:07 +0800
  • 51178c4328 Enable PCH for Assimp library with GCC/Clang compilers too. Simplify to always use force include when enabling the PCH. Yao Wei Tjong 姚伟忠 2015-01-26 23:51:06 +0800
  • e0bab60f46 On MSVC also enable PCH in two phases to cater for generated C++ files. Yao Wei Tjong 姚伟忠 2015-01-26 19:05:38 +0800
  • 7ddd46b172 Move GenerateExportHeader module inclusion to Urho3D common module. Yao Wei Tjong 姚伟忠 2015-01-26 14:10:18 +0800
  • 11814c9cc6 Add check so that precompiled header is only included for C++ sources. Yao Wei Tjong 姚伟忠 2015-01-26 12:47:09 +0800
  • 18261e3d2a Use Cmake function to determine whether to add compiler export flags. Yao Wei Tjong 姚伟忠 2015-01-26 12:36:14 +0800
  • f50ffaff8c Fix precompiling header file for Clang. [ci rebase] Yao Wei Tjong 姚伟忠 2015-01-26 00:38:59 +0800
  • 8f2ac49cb0 Suppress GCC/Clang warning on pragma once on main file. Fix precompiling header file on MinGW builds. Yao Wei Tjong 姚伟忠 2015-01-25 23:44:54 +0800
  • fdcd44381a Keep the CMake version less than 2.8.12 happy. Yao Wei Tjong 姚伟忠 2015-01-25 23:31:05 +0800
  • f719e3a429 Remove explicit inclusion of precompiled header file. The precompiled header file would be included using compiler flags. Yao Wei Tjong 姚伟忠 2015-01-25 23:03:41 +0800
  • 8743413816 Attempt to enable precompiled header support for GCC and Clang. Yao Wei Tjong 姚伟忠 2015-01-25 23:02:58 +0800
  • 4ff4d8e486 Fix crash related to dragElements_ iteration re-entry. Code convention fixes. Closes #642. Lasse Öörni 2015-01-28 22:03:30 +0200
  • 4d8ad0888f Clang friction fix from bullet3 repo. Lasse Öörni 2015-01-28 14:02:33 +0200
  • 86df5e0a96 Use Renderer as the event sender for view update begin & end events to not break code relying on that. Lasse Öörni 2015-01-27 22:02:55 +0200
  • 2153a5dfc5 Removed unnecessary line of code. Lasse Öörni 2015-01-27 21:38:13 +0200
  • 62b3d6987f Remove all instances of Drawable2D from materialDirtyDrawables_ when it is being removed from the scene. Fixes #618. Lasse Öörni 2015-01-27 21:36:04 +0200
  • 7740bb5ee4 Do not call MarkForUpdate() in AnimatedSprite2D, as Drawable2D's are not added to the octree. Lasse Öörni 2015-01-27 20:58:37 +0200
  • b82fe08521 Fix wrong include search path for Bullet and Lua. Fix #640. Yao Wei Tjong 姚伟忠 2015-01-27 16:46:52 +0800
  • a12cd3823e Multiple view support for 2D drawables. Closes #638. Lasse Öörni 2015-01-27 01:20:20 +0200
  • b8e66f96ac Travis CI: API documentation update at 2015-01-26 20:36:19 UTC. [ci package] urho3d-travis-ci 2015-01-26 20:36:19 +0000
  • c2535edac3 Added LOD level attribute support to Terrain collision shape & SetTerrain() function. This works like mipmap levels: each successive LOD level halves the resolution. Closes #639. Lasse Öörni 2015-01-26 22:23:26 +0200
  • c75f38b5a1 Use range-based for in ForEach.h if available. Closes #561. Lasse Öörni 2015-01-26 17:11:14 +0200
  • 39bbb86205 Travis CI: API documentation update at 2015-01-26 12:26:14 UTC. [ci package] urho3d-travis-ci 2015-01-26 12:26:14 +0000
  • 3dc651ca74 Fix Renderer2D build. Code cleanup. Lasse Öörni 2015-01-26 13:33:37 +0200
  • 5198313a93 Fix null exception in multiple nodes duplication. Closes #632. Lasse Öörni 2015-01-26 01:12:05 +0200
  • 988d77f06c Removed GetVisibility / SetVisibility from Drawable2D. Instead they are marked for view similarly as other drawables. Fixes #636. Lasse Öörni 2015-01-26 00:59:39 +0200
  • e67d9d3065 Include iOS 8 orientation fix conditionally. Fixes #635. Lasse Öörni 2015-01-25 23:49:35 +0200
  • 809d4fb920 Travis CI: API documentation update at 2015-01-23 13:47:05 UTC. [ci package] urho3d-travis-ci 2015-01-23 13:47:05 +0000
  • 354d1bb8c0 Added lua bindings for TileMap2D::DrawDebugGeometry() and TileMapLayer2D::DrawDebugGeometry() Mike3D 2015-01-23 13:53:55 +0100
  • 69185a10ce Revert typedef. aster2013 2015-01-23 20:22:02 +0800
  • a8833c9712 Add typedef in Vector and HashMap. aster2013 2015-01-23 20:02:56 +0800
  • f1545328b3 Hack fix for window size on iOS 8. Fix screen joysticks not resizing along with the screen. Note that there may still be other iOS 8 orientation bugs, for example related to the screen keyboard. These are pending a proper fix from SDL. Closes #553. Lasse Öörni 2015-01-23 11:29:35 +0200
  • 75c1d9780c Fix red screen issue on affected Android devices models, e.g. S3. Yao Wei Tjong 姚伟忠 2015-01-22 20:07:16 +0800
  • 3115f08265 Enforce Urho3DPlayer command line format and only use the first argument as the script file name to avoid misparsing rest of the command line. See #628. Lasse Öörni 2015-01-22 11:27:54 +0200
  • 40879a3b49 Fix includes and namespace in the application C++ example. Lasse Öörni 2015-01-21 18:18:06 +0200
  • dc39d9e17c Fix wrong matrix math in gizmo scaling. Take zoom into account. Lasse Öörni 2015-01-21 12:11:52 +0200
  • fd84488a73 Add new build option to setup main executable as console application. The new build option is only applicable for Windows platform only. Yao Wei Tjong 姚伟忠 2015-01-21 16:50:09 +0800
  • 97b83aaa0a Travis CI: API documentation update at 2015-01-21 04:12:47 UTC. [ci package] urho3d-travis-ci 2015-01-21 04:12:47 +0000
  • 2cb66a1d36 Clean up ScriptFile & ScriptInstance Execute() AngelScript bindings. Allow to call ScriptFile::Execute() without parameters. Lasse Öörni 2015-01-20 23:54:43 +0200
  • 895dfcdb3a Fix gizmo scale in orthographic mode (ortho size not taken into account). Cleaned up gizmo scaling code to use camera view matrix. Closes #626. Lasse Öörni 2015-01-20 18:03:28 +0200
  • 6e5d0db379 If Urho3DPlayer command line is empty, attempt to read Data/CommandLine.txt on all platforms. Closes #615. Lasse Öörni 2015-01-20 12:42:32 +0200
  • ed214bbeb3 Avoid the include dirs hack for finding the Urho3D.h header. It is now a library user own's responsibility to include the Urho3D.h in their source code. Or to include it as part of their own precompiled header similar to what Urho3D project has done. Yao Wei Tjong 姚伟忠 2015-01-20 18:15:29 +0800
  • bcf451bfe2 Prevent additive scale modification making particle scale negative. Closes #624. Lasse Öörni 2015-01-20 11:22:59 +0200
  • 40f2229954 Specify extern also in .cpp file to fix error on MinGW. Normalize order of extern and dllexport/import. Lasse Öörni 2015-01-20 11:04:54 +0200
  • 7376e24400 Editor - numpad camera modes focus selection Chris Friesen 2015-01-20 00:33:00 -0600
  • 262bb942e4 Editor deselect all Chris Friesen 2015-01-19 23:13:37 -0600
  • c20ac4bac4 Include Urho3D.h in Str.h for URHO3D_API. aster2013 2015-01-20 12:19:30 +0800
  • e473fe6660 Change "const String&" to "const String" in pkg files. aster2013 2015-01-20 11:41:01 +0800
  • 5c4dcf8035 Add export specifier to objects in GraphicsDefs and make them const. Fixes #621. Lasse Öörni 2015-01-19 21:00:59 +0200
  • 6f7ff7f5f9 Simplify sample 18 for lua Mike3D 2015-01-19 16:49:45 +0100
  • cf79f6ce1e Install CoreData and Data subdirs to 'share/Urho3D/Resources' instead. Close #620. Yao Wei Tjong 姚伟忠 2015-01-19 20:36:10 +0800
  • 69fdf1edfb Fix cross-compiling build due to incorrect CMake conditional check. Related to commit f9158a045e. Yao Wei Tjong 姚伟忠 2015-01-18 22:45:54 +0800
  • 7014e466c5 Typo Mike3D 2015-01-18 15:39:56 +0100
  • 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. Yao Wei Tjong 姚伟忠 2015-01-18 22:25:36 +0800
  • 05dd995b85 Refactor all the codes and scripts to use the renamed 'bin' subdir. Yao Wei Tjong 姚伟忠 2015-01-18 21:40:54 +0800
  • 05a8b79fd2 Rename "Bin" subdir to "bin". Yao Wei Tjong 姚伟忠 2015-01-18 21:31:13 +0800
  • 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. Yao Wei Tjong 姚伟忠 2015-01-18 15:42:20 +0800
  • 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. Yao Wei Tjong 姚伟忠 2015-01-18 15:38:35 +0800
  • 51d9b47c1c When fixing Eclipse's SCM, also exclude build tree in source filter. Yao Wei Tjong 姚伟忠 2015-01-18 15:28:02 +0800
  • 1d954a2759 Merge pull request #560 from friesencr/editor_inspector_lock Chris Friesen 2015-01-17 23:56:34 -0600
  • 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. Lasse Öörni 2015-01-17 16:34:33 +0200
  • de96ff2e56 Create ParticleEmitter2D in a generic manner to allow running the editor without Urho2D classes compiled in. Lasse Öörni 2015-01-17 16:20:48 +0200
  • 33d17b6abb Clean up the file formatting on the new template files. Yao Wei Tjong 姚伟忠 2015-01-17 18:50:12 +0800
  • 8a421a4012 Add new files for URHO3D_MACOSX_BUNDLE build options. Yao Wei Tjong 姚伟忠 2015-01-17 18:41:33 +0800
  • 1b2dcac1d2 Add new URHO3D_MACOSX_BUNDLE build option to build bundled apps on OSX. Yao Wei Tjong 姚伟忠 2015-01-17 18:34:22 +0800
  • 116069dcd5 Travis CI: API documentation update at 2015-01-16 19:56:03 UTC. [ci package] urho3d-travis-ci 2015-01-16 19:56:03 +0000
  • 4d8b3b8bae Added VectorBuffer read/write to AngelScript API. Lasse Öörni 2015-01-16 18:29:15 +0200
  • e4146ba173 Added Is Enabled attribute to various Urho2D components. Updated editor icons. Fixed AnimatedSprite2D not hiding its child sprites on SetEnabled(). Closes #609. Lasse Öörni 2015-01-16 17:54:28 +0200
  • 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. Yao Wei Tjong 姚伟忠 2015-01-16 23:31:39 +0800
  • 4a0e293cd0 If resource prefix path is specified via engine startup map, add trailing slash similarly as when reading it from the environment. Closes #612. Lasse Öörni 2015-01-16 17:16:49 +0200
  • 686a6277c9 Travis CI: API documentation update at 2015-01-16 14:45:01 UTC. [ci package] urho3d-travis-ci 2015-01-16 14:45:01 +0000
  • 609c45f31f Added GetResourceDirs() to ResourceCache Lua API. Closes #611. Lasse Öörni 2015-01-16 16:30:41 +0200
  • 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. Yao Wei Tjong 姚伟忠 2015-01-16 13:59:37 +0800
  • d8c2d801d9 Update the comment on the build rule. [ci skip] Related to commit 8682ba781a Yao Wei Tjong 姚伟忠 2015-01-16 13:25:49 +0800
  • 8682ba781a Install header files for Lua/LuaJIT and tolua++ 3rd party libraries. Fixes #610. Yao Wei Tjong 姚伟忠 2015-01-16 13:20:44 +0800
  • 2e861de366 Fix bug. [ci skip] aster2013 2015-01-16 12:34:09 +0800
  • f865522e1d Make the xcpretty filter optional for the 'rake make' task. Minor documentation update. Yao Wei Tjong 姚伟忠 2015-01-15 23:32:15 +0800
  • bffa727e2e Attempt to suppress Xcode multi-group resource reference warnings. Yao Wei Tjong 姚伟忠 2015-01-14 13:32:11 +0800
  • 02a5945b83 For Travis CI - Display where the SDK is being installed to in the log. Minor document update on new Rake tasks. Yao Wei Tjong 姚伟忠 2015-01-12 12:24:48 +0800
  • 322d7bc1d9 Fix TileMapObject2D::GetProperty() AngelScript binding Mike3D 2015-01-11 19:06:39 +0100
  • 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. Yao Wei Tjong 姚伟忠 2015-01-11 21:53:37 +0800
  • 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. Lasse Öörni 2015-01-11 03:11:34 +0200