Commit Graph

9612 Commits

Author SHA1 Message Date
urho3d-travis-ci
40b1871c31 Travis CI: API documentation update at 2015-02-03 12:03:10 UTC.
[ci package]
2015-02-03 12:03:10 +00:00
Lasse Öörni
a2da4d9763 Include kNet memory leak check only on MSVC to fix possible build error. 2015-02-03 13:51:18 +02:00
aster2013
c8ed3759d8 Fix bug.[ci skip] 2015-02-03 19:36:28 +08:00
aster2013
82afdc9c02 Merge branch 'lua-event-handler' 2015-02-03 19:22:30 +08:00
aster2013
10f80cd011 Add LuaScriptEventInvoker in LuaScriptInstance. 2015-02-03 18:29:10 +08:00
aster2013
1782985056 Separate LuaScriptEventInvoker out of LuaScript. 2015-02-03 13:15:32 +08:00
aster2013
73fad1dc04 Fix build error. 2015-02-03 12:53:53 +08:00
Lasse Öörni
4d69285422 Update to kNet master branch latest revision, with Urho's custom flow control re-applied on top. Fixes #645. 2015-02-03 01:56:07 +02:00
Lasse Öörni
8bb3e649e5 Add profiling block for Lua garbage collection. 2015-02-02 23:12:09 +02:00
aster2013
ff91be64ad Fix bug. 2015-02-02 23:54:49 +08:00
aster2013
f5522a07a8 Add LuaScriptEventListener and LuaScriptEventInvoker. 2015-02-02 23:48:44 +08:00
Yao Wei Tjong 姚伟忠
060801abcc Correct MinGW sysroot path for RedHad-based host system.
[ci skip]
2015-02-02 20:42:23 +08:00
urho3d-travis-ci
5adbf2876d Travis CI: API documentation update at 2015-02-02 10:41:03 UTC.
[ci package]
2015-02-02 10:41:03 +00:00
hdunderscore
7000780beb Fixed an error in AngelScript bindings for Octree::GetDrawables (incorrect return type). 2015-02-02 21:30:59 +11:00
hdunderscore
3ec8ecdfcf Merge pull request #648 from friesencr/infinate_package
Fixed a bug in ResourceCache->AddPackageFile(string) that was causing infinite loop. The issue prevents packages loading in Emscripten.
2015-02-02 18:11:35 +11:00
hdunderscore
9a9a79412e Fixed a bug in ResourceCache->AddPackageFile(string) that was causing infinite loop. 2015-02-01 20:22:26 -06:00
Yao Wei Tjong 姚伟忠
365a83bda1 Revert back cmake_generic.bat changes. 2015-02-02 06:51:20 +08:00
Lasse Öörni
c08fa5e94d Calculate a shader parameter hash value to eliminate setting of unnecessary constants/uniforms when rendering with multiple materials that have the same parameters. 2015-02-01 15:20:07 +02:00
Lasse Öörni
2716bcf12e Code cleanup related to the D3D9 shader parameter change. 2015-02-01 13:56:07 +02:00
Lasse Öörni
73bbf3f787 Fix textures left bound in multiple units if the texture type (2D, cubemap) differs on OpenGL. 2015-02-01 13:33:37 +02:00
Lasse Öörni
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. 2015-02-01 13:33:37 +02:00
Yao Wei Tjong 姚伟忠
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
2015-02-01 08:16:05 +08:00
Lasse Öörni
bb2ebf7568 Bump copyright to 2015. 2015-01-31 21:03:53 +02:00
Mike3D
fbc7c06929 Typo 2015-01-31 14:51:08 +01:00
Mike3D
5a7523eddd Urho2D documentation enhancement 2015-01-31 11:23:19 +01:00
Yao Wei Tjong 姚伟忠
88220f4f8a Simplify the variables used in two-phase setups of enable_pch() macro. 2015-01-30 11:46:07 +08:00
Yao Wei Tjong 姚伟忠
f9f13cd3fa Add build script for generating Code::Blocks project on Windows host.
Close #644.
2015-01-30 11:46:06 +08:00
urho3d-travis-ci
c747198101 Travis CI: API documentation update at 2015-01-29 14:56:49 UTC.
[ci package]
2015-01-29 14:56:49 +00:00
aster2013
c11db9fdcd Add SetAlpha in StaticSprite2D to AnimatedSprite2D alpha animation bug.
Add typedef in Vector and HashMap.
2015-01-29 22:45:22 +08:00
Yao Wei Tjong 姚伟忠
64a96090e3 Code and comment clean up. 2015-01-29 20:51:35 +08:00
Yao Wei Tjong 姚伟忠
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.
2015-01-29 20:15:13 +08:00
Yao Wei Tjong 姚伟忠
4db362f95c Use the actual dependency list returned by the compiler. 2015-01-29 16:13:43 +08:00
Yao Wei Tjong 姚伟忠
9c61a7673b Add option to exclude individual C++ source file from using PCH.
Clean up enable_pch() macro and minor update on code comments.
2015-01-29 16:13:43 +08:00
Yao Wei Tjong 姚伟忠
51178c4328 Enable PCH for Assimp library with GCC/Clang compilers too.
Simplify to always use force include when enabling the PCH.
2015-01-29 16:13:43 +08:00
Yao Wei Tjong 姚伟忠
e0bab60f46 On MSVC also enable PCH in two phases to cater for generated C++ files. 2015-01-29 16:13:43 +08:00
Yao Wei Tjong 姚伟忠
7ddd46b172 Move GenerateExportHeader module inclusion to Urho3D common module. 2015-01-29 16:13:42 +08:00
Yao Wei Tjong 姚伟忠
11814c9cc6 Add check so that precompiled header is only included for C++ sources. 2015-01-29 16:13:42 +08:00
Yao Wei Tjong 姚伟忠
18261e3d2a Use Cmake function to determine whether to add compiler export flags. 2015-01-29 16:13:42 +08:00
Yao Wei Tjong 姚伟忠
f50ffaff8c Fix precompiling header file for Clang. [ci rebase] 2015-01-29 16:13:42 +08:00
Yao Wei Tjong 姚伟忠
8f2ac49cb0 Suppress GCC/Clang warning on pragma once on main file.
Fix precompiling header file on MinGW builds.
2015-01-29 16:13:42 +08:00
Yao Wei Tjong 姚伟忠
fdcd44381a Keep the CMake version less than 2.8.12 happy. 2015-01-29 16:13:42 +08:00
Yao Wei Tjong 姚伟忠
f719e3a429 Remove explicit inclusion of precompiled header file.
The precompiled header file would be included using compiler flags.
2015-01-29 16:13:42 +08:00
Yao Wei Tjong 姚伟忠
8743413816 Attempt to enable precompiled header support for GCC and Clang. 2015-01-29 16:13:41 +08:00
Lasse Öörni
4ff4d8e486 Fix crash related to dragElements_ iteration re-entry. Code convention fixes. Closes #642. 2015-01-28 22:03:30 +02:00
Lasse Öörni
4d8ad0888f Clang friction fix from bullet3 repo. 2015-01-28 14:02:33 +02:00
Lasse Öörni
86df5e0a96 Use Renderer as the event sender for view update begin & end events to not break code relying on that. 2015-01-27 22:02:55 +02:00
Lasse Öörni
2153a5dfc5 Removed unnecessary line of code. 2015-01-27 21:38:13 +02:00
Lasse Öörni
62b3d6987f Remove all instances of Drawable2D from materialDirtyDrawables_ when it is being removed from the scene. Fixes #618. 2015-01-27 21:36:04 +02:00
Lasse Öörni
7740bb5ee4 Do not call MarkForUpdate() in AnimatedSprite2D, as Drawable2D's are not added to the octree. 2015-01-27 20:58:37 +02:00
Yao Wei Tjong 姚伟忠
b82fe08521 Fix wrong include search path for Bullet and Lua. Fix #640. 2015-01-27 16:46:52 +08:00