Commit Graph

10202 Commits

Author SHA1 Message Date
urho3d-travis-ci
d17dbebcf4 Travis CI: API documentation update at 2015-08-27 03:10:06 UTC.
[ci package]

Commit: d8cfd72571

Message: Fix JSONNumberType enum error.
2015-08-27 03:10:06 +00:00
aster2013
d8cfd72571 Fix JSONNumberType enum error. 2015-08-27 10:59:41 +08:00
MonkeyFirst
46aa0c52e1 fix-m-typing 2015-08-26 23:51:13 +06:00
aster2013
b27d32a134 JSONFile
- SetRoot
    + GetRoot
JSONValue
    Rename GetUint to GetUInt
    - GetType
    + GetValueType GetNumberType
    + SetVariantXXX GetVariantXXX
2015-08-26 20:26:51 +08:00
aster2013
7082d17555 Add FALLBACK_TO_COPY argument in create_symlink.[ci skip]. 2015-08-26 20:02:13 +08:00
Lasse Öörni
e0ce3e4ad0 Take into account CollisionShape's offset position & rotation in ConvexCast. Closes #856. 2015-08-26 14:52:03 +03:00
urho3d-travis-ci
46b7d0cd89 Travis CI: API documentation update at 2015-08-25 07:28:37 UTC.
[ci package]

Commit: 2fafa4c366

Message: Add rudimentary Lua function overload checker to catch invalid order.
Fix two of the pkg files being detected to have wrong order declared.
2015-08-25 07:28:37 +00:00
Yao Wei Tjong 姚伟忠
2fafa4c366 Add rudimentary Lua function overload checker to catch invalid order.
Fix two of the pkg files being detected to have wrong order declared.
2015-08-25 15:19:53 +08:00
urho3d-travis-ci
25c00c895d Travis CI: API documentation update at 2015-08-24 14:22:21 UTC.
[ci package]

Commit: 770be2319e

Message: Fix Lua bindings for AnimationSet2D and Vector2 classes.
2015-08-24 14:22:21 +00:00
Yao Wei Tjong 姚伟忠
770be2319e Fix Lua bindings for AnimationSet2D and Vector2 classes. 2015-08-24 22:12:23 +08:00
urho3d-travis-ci
d78ea9175a Travis CI: API documentation update at 2015-08-24 10:23:12 UTC.
[ci package]

Commit: 934c640835

Message: Fix Lua binding for Localization and Database subsystems.
Fix Lua version of the localization demo.
2015-08-24 10:23:12 +00:00
Yao Wei Tjong 姚伟忠
934c640835 Fix Lua binding for Localization and Database subsystems.
Fix Lua version of the localization demo.
2015-08-24 18:14:06 +08:00
Lasse Öörni
47fe410d06 Suppress scene changes while toggling the debug icons visibility during preview camera render so that the attribute editor doesn't constantly refresh, making attributes uneditable. Closes #854. 2015-08-24 11:48:21 +03:00
urho3d-travis-ci
3b8b06783e Travis CI: API documentation update at 2015-08-24 05:40:12 UTC.
[ci package]

Commit: 61647bb887

Message: Optimize Lua Variant class bindings.
Take advantage of Lua being type-less by binding generic methods that can handle all the supported data type conversion.
At the same time reduce the amount of the overloads generated by tolua++ which could be potentially just dead code.
2015-08-24 05:40:12 +00:00
Yao Wei Tjong 姚伟忠
61647bb887 Optimize Lua Variant class bindings.
Take advantage of Lua being type-less by binding generic methods that can handle all the supported data type conversion.
At the same time reduce the amount of the overloads generated by tolua++ which could be potentially just dead code.
2015-08-24 13:26:25 +08:00
urho3d-travis-ci
9c140b503a Travis CI: API documentation update at 2015-08-21 16:27:51 UTC.
[ci package]

Commit: 53b4afcab6

Message: Fix TOC for generated LuaScript API documentation page.
2015-08-21 16:27:51 +00:00
Yao Wei Tjong 姚伟忠
53b4afcab6 Fix TOC for generated LuaScript API documentation page. 2015-08-22 00:14:15 +08:00
urho3d-travis-ci
0bbf66f40f Travis CI: API documentation update at 2015-08-21 15:51:57 UTC.
[ci package]

Commit: b1e1ab47c3

Message: Fix Lua version of crowd simulation demo due to VariantMap API changes.
2015-08-21 15:51:57 +00:00
Yao Wei Tjong 姚伟忠
b1e1ab47c3 Fix Lua version of crowd simulation demo due to VariantMap API changes. 2015-08-21 23:32:37 +08:00
Yao Wei Tjong 姚伟忠
a0125a19c1 Move the pieces around for code reuse opportunity. 2015-08-21 23:32:37 +08:00
Yao Wei Tjong 姚伟忠
937b0bcbc6 Add exposed tolua functions into documentation page. 2015-08-21 23:32:36 +08:00
Yao Wei Tjong 姚伟忠
35f3bb0a4d Store Urho3D context directly inside Lua state global table.
Remove static Lua state to context mapping. Expose the context as global property.
Prevent potential Lua VM crash when trying to get event sender or handler outside of event handling.
2015-08-21 23:32:36 +08:00
Lasse Öörni
e7b492b307 Fix integer overflow in the Random(int) functions when the range is large. 2015-08-21 17:29:51 +03:00
Lasse Öörni
42fcc37acd Merge remote-tracking branch 'silverkorn/master' 2015-08-21 13:19:12 +03:00
urho3d-travis-ci
9a23f5f172 Travis CI: API documentation update at 2015-08-21 09:50:38 UTC.
[ci package]

Commit: f0b3c8b805

Message: Allow interchangeable numeric value in Variant GetXXX(), e.g. GetFloat() succeeds when it's actually an int. Comparison still requires type and value to match exactly. Closes #851.
2015-08-21 09:50:38 +00:00
Lasse Öörni
f0b3c8b805 Allow interchangeable numeric value in Variant GetXXX(), e.g. GetFloat() succeeds when it's actually an int. Comparison still requires type and value to match exactly. Closes #851. 2015-08-21 11:59:13 +03:00
Lasse Öörni
75b1b53416 Re-fix AngelScript API. JSONArray & JSONObject are not registered into AngelScript, so they cannot be mentioned in any bindings. 2015-08-21 11:42:35 +03:00
aster2013
cd71104e90 Merge branch 'master' of https://github.com/urho3d/Urho3D
Conflicts:
	Source/Urho3D/Script/ResourceAPI.cpp
2015-08-21 15:42:24 +08:00
aster2013
57551ca717 Remove At function in JSONValue, add SetXXX functions for LuaAPI. 2015-08-21 15:36:20 +08:00
urho3d-travis-ci
2486d36a60 Travis CI: API documentation update at 2015-08-21 07:04:33 UTC.
[ci package]

Commit: f7dd38d70e

Message: Remove M_INFINITY default value from PhysicsWorld AngelScript bindings, which is illegal to Bullet.
2015-08-21 07:04:33 +00:00
Lasse Öörni
f7dd38d70e Remove M_INFINITY default value from PhysicsWorld AngelScript bindings, which is illegal to Bullet. 2015-08-21 09:56:55 +03:00
Lasse Öörni
83c889ab48 Remove invalid JSONValue AngelScript bindings, which prevent AngelScript applications from starting. Fixes #852. 2015-08-21 09:56:15 +03:00
aster2013
ddc19bf278 Fix name error, add iterator for JSON object type. 2015-08-21 10:56:19 +08:00
Silverkorn
792531552f Fix missing escape characters for the Zerobrane Studio API. 2015-08-20 22:11:57 -04:00
aster2013
d3247fccf5 Minor fixed. 2015-08-21 00:30:49 +08:00
aster2013
c0014f40bb Accroding the discuss on forum by Lasse and other users and refer to the json code in Lasse's Turso3D engine, rewrite JSONFile and JSONValue class, make it looks like JSON. 2015-08-21 00:12:42 +08:00
Lasse Öörni
999ccb9bc1 Added contributor credit. 2015-08-20 11:38:58 +03:00
Lasse Öörni
7b312275a2 Merge remote-tracking branch 'bjorn/fix-objecttype' 2015-08-20 10:59:45 +03:00
Lasse Öörni
b456f369c5 Merge remote-tracking branch 'bjorn/fix-typo' 2015-08-20 10:59:39 +03:00
Yao Wei Tjong 姚伟忠
f7a30b8306 Add back the logic to first check if keybinding length is correct. 2015-08-20 07:51:17 +08:00
Thorbjørn Lindeijer
094d146c3c TmxFile2D: Fix determination of object type
TmxObjectGroup2D::Load was using the presence of the "width" and
"height" attributes for deciding whether an object was a rectangle,
ellipse or something else. This is wrong, and the approach breaks for
maps saved in more recent versions of Tiled. This is because the width
and height are only saved when they differ from the default (0), and
because the width and height are now also used to store the size of tile
objects.

So for maps saved with Tiled >= 0.12, this change:

* Fixes identification of rectangle and ellipse objects with 0 width and
  height (which was leading to the entire map failing to load).
* Fixes identification of tile objects.
2015-08-19 21:45:22 +02:00
Thorbjørn Lindeijer
64afa327de Fix a typo: worlsScaleX -> worldScaleX 2015-08-19 21:26:47 +02:00
Yao Wei Tjong 姚伟忠
ded284e6c3 Fix a copy pasta error.
Related to commit 530950ed7c.
2015-08-20 00:41:05 +08:00
Lasse Öörni
7499e19998 Prevent creation of multiple value childs to XMLElement, when SetValue() is called several times. 2015-08-19 18:51:21 +03:00
Yao Wei Tjong 姚伟忠
530950ed7c Store keymap bindings for hat using an IntRect instead of String.
Fix #847.
2015-08-19 23:40:37 +08:00
Lasse Öörni
0e3c778f34 Fix using null handle when updating temporary component state. Closes #848. 2015-08-19 18:33:22 +03:00
Lasse Öörni
d4696f92a0 Make sure adding & deleting RigidBody2D fixtures doesn't reset the mass when not wanted (useFixtureMass = false). Fixed some mistaken if statement logic, and improved some RigidBody2D comments. Note that when useFixtureMass = false, you must set nonzero inertia to get rotation. Closes #844. 2015-08-19 18:19:31 +03:00
Yao Wei Tjong 姚伟忠
55635bdf3a Replace friend func with explicit template specialization for Get().
Credit to Aster Jian.
2015-08-19 22:11:27 +08:00
Lasse Öörni
44acf54118 Make sure the lowest bone influences are dropped if too many. 2015-08-18 21:58:24 +03:00
Lasse Öörni
b631612ff7 Force normalization of vertex weights in AssetImporter. More than 4 weights is no longer a fatal error, instead any more than that are dropped and a warning is logged. 2015-08-18 19:27:25 +03:00