Commit Graph

9612 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
a7d43dc67b For Travis CI - reshuffle build matrix to optimise build jobs. 2014-03-15 18:13:46 +08:00
Yao Wei Tjong 姚伟忠
4a061aa451 Add option for console to auto visible on receiving error.
Refactor editor to use the enhancement.
2014-03-15 18:02:09 +08:00
Yao Wei Tjong 姚伟忠
3979aece4e Fix partial init causing Editor to crash when loading 2D physics scene. 2014-03-14 20:59:19 +08:00
Yao Wei Tjong 姚伟忠
4e29e1209b Fix uninitialize member var causing CollissionCircle2D to missbehave. 2014-03-14 20:59:19 +08:00
urho3d-travis-ci
f6cd0f07d7 Travis CI: API documentation update at 2014-03-14 11:42:25 UTC.
[ci package]
2014-03-14 11:42:25 +00:00
Yao Wei Tjong 姚伟忠
2ea6f31f2b Cleanup code as it does not use Scene's attribute anymore. 2014-03-14 17:52:23 +08:00
Yao Wei Tjong 姚伟忠
0115beaad6 Minor refactoring on Urho3D common cmake module for setting GCC cflags.
[ci skip]
2014-03-14 17:49:22 +08:00
Yao Wei Tjong 姚伟忠
f2c5f1573c Minor typo fix on documentation. [ci skip] 2014-03-14 17:49:20 +08:00
aster2013
aa10e2222a Add GetTexture function in Drawable2D.[ci skip] 2014-03-14 17:48:08 +08:00
aster2013
c5c715ee84 Add 2D sprite to physics samples.[ci skip] 2014-03-14 14:03:14 +08:00
aster2013
392e5456e3 Add 2D physics sample in Lua and AngelScript. [ci skip] 2014-03-14 13:31:07 +08:00
aster2013
8dca005f9c Add Lua binding and AngelScript Binding.[ci skip] 2014-03-14 13:30:02 +08:00
aster2013
b9940bdac1 Apply node transform to collision shape, add CollisionCircle2D.[ci skip] 2014-03-13 22:03:38 +08:00
Lasse Öörni
f9ff9550bd Added documentation on light brightness and negative lights. 2014-03-13 14:25:07 +02:00
urho3d-travis-ci
57631dff23 Travis CI: API documentation update at 2014-03-13 08:41:02 UTC.
[ci package]
2014-03-13 08:41:03 +00:00
Lasse Öörni
0b87faa856 Minor code formatting. Prefer machine word loop counter. 2014-03-13 10:26:37 +02:00
Lasse Öörni
d534efd7c9 Use light's effective color for debug drawing. 2014-03-13 10:19:29 +02:00
Lasse Öörni
094006ef91 Added brightness attribute to Light. Added separate equality test with and without epsilon to Color, similar to Vector2/3/4. 2014-03-13 10:19:28 +02:00
Yao Wei Tjong 姚伟忠
e933a51703 Add instruction to install Box2D header files. [ci skip] 2014-03-13 15:51:36 +08:00
aster2013
03b73c4771 Fixed Header file name. 2014-03-13 14:18:21 +08:00
aster2013
f1d7d0d5dc Remove UpdateBody and UpdateFixture funcition. 2014-03-13 14:09:48 +08:00
aster2013
5bb12f4a2d Add Box collision shape. 2014-03-13 13:14:15 +08:00
aster2013
c54c6456a8 Fixed bug in RigidBody2D.cpp 2014-03-13 12:31:12 +08:00
Lasse Öörni
4080f024c5 Exposed IsPowerOfTwo(), NextPowerOfTwo() and SDBMHash() to script. 2014-03-12 23:07:25 +02:00
Lasse Öörni
832d0c7dab Fix Lua binding of PhysicsWorld2D. Closes #250. 2014-03-12 22:31:27 +02:00
Lasse Öörni
0ddc3c774e Clean up Batch code. Give larger sorting priority to negative lights so that they are applied right after ambient, followed by additive lights. 2014-03-12 15:50:45 +02:00
Lasse Öörni
8f2ed8b97b Guard LuaScript subsystem against unsubscribing internally listened events. 2014-03-12 15:50:45 +02:00
aster2013
a3c79a67d5 Add attribute accessor in Physics2D classes.. 2014-03-12 21:26:27 +08:00
aster2013
74a059d899 Add Urho2D Physics sample. 2014-03-12 20:59:39 +08:00
aster2013
90f87a2a2c Add Lua and AngelScript binding. 2014-03-12 20:59:24 +08:00
aster2013
e116ab8150 Add 2D physics class. 2014-03-12 20:58:35 +08:00
aster2013
130551f4d8 Add fixed pixel size (user don't need change the value). 2014-03-12 19:58:32 +08:00
Lasse Öörni
5100562788 Added .tga to the editor's file picker for textures/images, as it is supported by stb_image. 2014-03-12 10:11:08 +02:00
Yao Wei Tjong 姚伟忠
3eceb385fe For Travis CI - fix non uniq revision deletion list for housekeeping.
[ci package]
2014-03-12 12:26:34 +08:00
Yao Wei Tjong 姚伟忠
19c9452944 For Travis CI - setup digital key earlier for housekeeping to work.
[ci package]
2014-03-12 10:53:58 +08:00
urho3d-travis-ci
eff35a4ae7 Travis CI: API documentation update at 2014-03-12 02:39:20 UTC.
[ci skip]
2014-03-12 02:39:20 +00:00
Yao Wei Tjong 姚伟忠
a6036755b9 For Travis CI - automate housekeeping of old snapshots.
[ci package]
2014-03-12 10:12:51 +08:00
Lasse Öörni
02e543ba5c Support for per-pixel negative lights. Added BLEND_SUBTRACT & BLEND_SUBTRACTALPHA blend modes. Light code cleanup. 2014-03-12 00:29:27 +02:00
Lasse Öörni
ec43000d09 Added teapot & torus models from Hgdavidy's pull request. 2014-03-11 19:52:36 +02:00
urho3d-travis-ci
261a0326c1 Travis CI: API documentation update at 2014-03-11 17:21:25 UTC.
[ci package]
2014-03-11 17:21:25 +00:00
Yao Wei Tjong 姚伟忠
24aeabb02f Move back MarkAllDrawable2DDirty() to Node class as public method.
The method could be called to mark Drawable2D as dirty for other reasons and not just because of Scene's pixels per unit attribute has changed. It could also be called on a particular node instead of Scene node to partially mark the attached 2D components as dirty.
2014-03-11 23:09:27 +08:00
aster2013
c96d44fcb8 rename unitSize2D to pixelsPerUnit. 2014-03-11 22:39:18 +08:00
aster2013
d79c151f84 Revert ParticleModel2D model scale, apply scene unit size to ParticleEmitter2D. 2014-03-11 22:21:17 +08:00
aster2013
3101a308f9 Change default unitSize2D to 100, Apply model scale in ParticleModel2D. 2014-03-11 22:14:50 +08:00
Lasse Öörni
160279a2b0 Add Box2D also to library list in Urho3D.dox. 2014-03-11 14:31:57 +02:00
aster2013
3c7a52d6f3 Make MarkAllDrawable2DDirty function private in Scene class. 2014-03-11 20:28:14 +08:00
aster2013
9a61734d15 Add Box2D license. 2014-03-11 20:28:14 +08:00
Yao Wei Tjong 姚伟忠
68be9a9e57 Fix MINGW_ROOT variable value computation when not being provided. 2014-03-11 20:03:20 +08:00
Lasse Öörni
2e212023fb Fixed the Lua binding of UIElement::GetParent() to return the proper type. 2014-03-11 12:48:48 +02:00
Lasse Öörni
88853388a9 Use proper object return type in Lua bindings of UIElement::GetChild() to enable subclass properties & functions. 2014-03-11 12:48:47 +02:00