Lasse Öörni
4cd279cc90
Always call SetNode(0) on removing a component from a scene node. Fixes #658 .
2015-02-09 23:41:32 +02:00
Lasse Öörni
5ab72bf620
Merge remote-tracking branch 'friesencr/sprite_packer'
2015-02-09 23:40:09 +02:00
Lasse Öörni
90833996fa
Make sure to avoid memory overwrite in case the light's cascade splits would be configured incorrectly in respect to hardware limits.
2015-02-09 11:41:29 +02:00
Lasse Öörni
61af3c9593
Fix GCC error with URHO3D_SAFE_LUA=1. Closes #654 .
2015-02-08 00:12:13 +02:00
Lasse Öörni
b18ae1809c
Hack fix for build failing on MinGW due to -include Precompiled.h option included multiple times for the generated Lua API .cpp files without a space in between.
2015-02-07 23:54:46 +02:00
Lasse Öörni
cc8eb57eba
Workaround for GCC optimization of IsNan, thanks to reattiva. Closes #655 .
2015-02-07 23:52:51 +02:00
Chris Friesen
6f383f64df
SpritePacker cli
2015-02-07 12:40:01 -06:00
Yao Wei Tjong 姚伟忠
564b77c39f
Fix Ninja build by adding directory containing PCH to its search path.
...
Officially add Ninja build support. Close #653 .
2015-02-06 13:49:32 +08:00
urho3d-travis-ci
3aae6785a4
Travis CI: API documentation update at 2015-02-05 15:19:32 UTC.
...
[ci package]
2015-02-05 15:19:32 +00:00
Lasse Öörni
680d334a99
Fix Physics2D events not getting included in events documentation. Fix alphabetic sorting of event documentation sections according to header file name, not full path. Fix Physics2DPreStep2D event name to PhysicsPreStep2D to match the rest. Closes #652 .
2015-02-05 17:08:31 +02:00
urho3d-travis-ci
deab9cf4de
Travis CI: API documentation update at 2015-02-05 10:51:01 UTC.
...
[ci package]
2015-02-05 10:51:01 +00:00
aster2013
ec839a8e39
Merge branch 'lua-event-handler'
2015-02-05 16:58:59 +08:00
aster2013
83e1fbebe3
Remove WeakPtr<LuaFunction> in LuaIntegration sample;
...
Convert tab to spaces in ParticleEffect2D.
2015-02-05 14:01:17 +08:00
aster2013
52731a6d22
Replace WeakPtr<LuaFunction> with LuaFunction ptr.
2015-02-05 11:44:57 +08:00
aster2013
b6e413e49d
Simplify Lua event handler, keep it has same behavior as AngleScript and C++.
2015-02-05 11:37:40 +08:00
Yao Wei Tjong 姚伟忠
395b926d26
Rename Readme.md to README.md. Replace history section with link.
...
[ci package]
2015-02-05 11:07:18 +08:00
CrackedP0t
70fd3c7988
Rename Readme.txt to Readme.md.
2015-02-05 10:49:58 +08:00
aster2013
392efab9d7
Change GetIntensity, make it same to Color::Luma().[ci skip]
2015-02-04 13:26:41 +08:00
aster2013
bfea7a0e3f
Use shared ptr to keep instance alive during invoking.
2015-02-04 12:13:11 +08:00
aster2013
a8104ef27c
Use command to record add or remove event handler when invoking.
...
Convert tab to spaces.
2015-02-03 23:57:55 +08:00
aster2013
5882cb9975
Change argument type from String to StringHash.
2015-02-03 23:27:44 +08:00
aster2013
a6b4c78734
Return same LuaFunction object with index and funciton name.
2015-02-03 23:19:34 +08:00
Yao Wei Tjong 姚伟忠
1e7ec258d2
Better CMake error message when compiler not able to handle the flags.
...
With the precompiled header support now properly enabled for GCC (including all other cross-compiling toolchains based on GCC) and Clang, any incompabitility between the C++ compiler and the compiler flags required by Urho3D will be thrown out earlier at the time when CMake is about to generate the build tree, which is a good thing. Previously user would probably only know this much later when trying to build the project.
2015-02-03 22:38:27 +08:00
Lasse Öörni
d0d400b1a6
Windows.h in lowercase in kNet to fix case-sensitive MinGW cross-compile.
2015-02-03 15:44:31 +02:00
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