Commit Graph

10202 Commits

Author SHA1 Message Date
Lasse Öörni
9c3348ed98 Only perform AnimatedModel bone hitbox ray testing when RAY_TRIANGLE is specified, to allow RAY_OBB to test against the whole model's OBB. 2015-02-12 22:45:46 +02:00
Lasse Öörni
785997b596 Removed unused variable. 2015-02-12 22:38:58 +02:00
Lasse Öörni
793a40f48a Use C-style cast as per Urho convention when dealing with primitive types. 2015-02-12 21:59:43 +02:00
Lasse Öörni
5f9ad3237c Merge remote-tracking branch 'stinkfist/Vector-int-uint-Win64' 2015-02-12 21:58:45 +02:00
Stinkfist0
03f6cb137b Fix signed-unsigned conversion warnings that leak into applications using Urho when doing Win64 build. 2015-02-12 16:31:30 +02:00
Lasse Öörni
b96f47db61 Change order of matrix multiplies in GLSL to eliminate need to transpose matrix uniforms and make the order consistent with skinned & instanced rendering. 2015-02-12 00:05:32 +02:00
Lasse Öörni
0990fd72f2 Added Graphics::GetPixelUVOffset() to get the half-pixel offset required by D3D9, avoids #ifdef'ing. Clean up shadow matrix calculation. 2015-02-11 23:21:57 +02:00
Lasse Öörni
06a7412d64 Exclude the "generated" source directory when not including Lua support. 2015-02-11 21:53:27 +02:00
urho3d-travis-ci
e6629d3c8a Travis CI: API documentation update at 2015-02-11 16:43:27 UTC.
[ci package]
2015-02-11 16:43:27 +00:00
Lasse Öörni
347a9c9719 Recreate the tab escape sequence from tab character to the dumped AngelScript API. 2015-02-11 18:30:35 +02:00
urho3d-travis-ci
0702003614 Travis CI: API documentation update at 2015-02-10 17:48:35 UTC.
[ci package]
2015-02-10 17:48:35 +00:00
Lasse Öörni
5e133eb639 Added file modification remark with credit to prettywriter.h. Added indentation parameter to several SaveXML() functions including Node & Scene. Code convention edit to use String& throughout. Removed outdated remark of being only able to save to File. 2015-02-10 19:32:45 +02:00
Lasse Öörni
70054dd036 Merge remote-tracking branch 'stinkfist/indent' 2015-02-10 18:21:27 +02:00
Stinkfist0
4b9e4f6097 User-configurable indentation for XML and JSON files (AS and Lua bindings included). Closes #591 2015-02-10 17:18:52 +02:00
Yao Wei Tjong 姚伟忠
96a3126557 Fix SpritePacker build on Mac OS X platform. 2015-02-10 00:49:52 +08:00
Lasse Öörni
4354b1709c Tabs to spaces and update copyright year. 2015-02-09 23:44:01 +02:00
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