Commit Graph

9869 Commits

Author SHA1 Message Date
Lasse Öörni
860fc1bf49 Register UIElements to script as serializables. 2012-08-26 22:16:54 +00:00
Lasse Öörni
83e90ae61c Started work on UI element attributes. 2012-08-26 21:19:02 +00:00
Lasse Öörni
879d65bd86 Expanded VariantValue unions to better describe various objects stored inside it. 2012-08-26 17:51:36 +00:00
Lasse Öörni
1f4ae6aa40 Clarified comment. 2012-08-25 09:25:20 +00:00
Lasse Öörni
e586349114 Added UIElement::CreateChild().
Added internal flag to UI elements, meaning a child element has been programmatically created (for example the slider of a scroll bar.)
2012-08-25 09:22:43 +00:00
Lasse Öörni
948590623d Added IntVector2 Variant type. 2012-08-24 18:52:05 +00:00
Lasse Öörni
683aa3c5fb Added script bindings for Variant IntRect operations. 2012-08-23 22:13:42 +00:00
Lasse Öörni
943d7d1a37 Removed the Variant Rect type as it's too large to fit in 16 bytes due to the defined_ flag. 2012-08-23 22:08:11 +00:00
Lasse Öörni
b3f08ee3e9 Fixed Rect::Equals(). 2012-08-23 21:51:24 +00:00
Lasse Öörni
5aeebaa3bf Added Rect & IntRect Variant types.
Added Rect::Equals().
2012-08-23 21:49:50 +00:00
Lasse Öörni
196c2158b8 Cleaned up diffuse lighting shader code. 2012-08-22 22:05:08 +00:00
Lasse Öörni
7813601540 Added scene timescale attribute. 2012-08-22 19:22:13 +00:00
Lasse Öörni
e0a0b184e6 Shadow code cleanup in shaders. 2012-08-22 18:20:58 +00:00
Lasse Öörni
24dc5ed707 Fixed MSVC executable copy step when path has spaces.
Fixed MinGW warning of unrecognized option when compiling C files.
2012-08-21 16:17:23 +00:00
Lasse Öörni
26fa24ed01 Re-added support for varying shadow intensity on OpenGL ES, as the calculation is not very complex. 2012-08-21 12:41:41 +00:00
Lasse Öörni
eafd7a0632 Fixed buffer overflow in String::Replace(). 2012-08-20 23:34:33 +00:00
Lasse Öörni
ba890672dd Added Size(), Width() and Height() to IntRect. 2012-08-20 15:30:22 +00:00
Lasse Öörni
7c22605019 Use static gcc libs with MinGW. 2012-08-20 13:27:48 +00:00
Lasse Öörni
7c7e63f4ff Added fixes for compiling with MinGW. 2012-08-20 11:46:42 +00:00
Lasse Öörni
fa4e6ea827 To be consistent, removed the dependency of animation and terrain LOD from viewport pixel size, as the actual size of screen pixels can not be known. Now the LOD only depends on distance and scale. 2012-08-19 11:42:32 +00:00
Lasse Öörni
71cf37c257 Applied CMakeLists.txt patches from skaiware. 2012-08-18 14:58:12 +00:00
Lasse Öörni
0b374285ee Main.h patch from Magic.Lixin. 2012-08-17 16:29:24 +00:00
Lasse Öörni
eea6559d7c Exclude OpenGL versions of Graphics library classes from Doxygen documentation to avoid classes being listed twice. 2012-08-17 13:42:43 +00:00
Lasse Öörni
a2c547e5e3 Retry window creation without multisampling. 2012-08-16 22:59:37 +00:00
Lasse Öörni
290d393cfc List command line options on non-Win32 systems when run without script file name. 2012-08-16 21:34:28 +00:00
Lasse Öörni
698b9fddb6 Added CMake checks to catch missing Linux development headers/libraries. 2012-08-16 19:33:52 +00:00
Lasse Öörni
f0b6d55b28 Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries. 2012-08-15 22:57:52 +00:00
Lasse Öörni
b35fed22ce Fixed erroneous capitalization. 2012-08-10 22:19:55 +00:00
Lasse Öörni
128aa4735d Fixed Scene not calling MarkNetworkUpdate() on itself when the smoothing parameters are changed. 2012-08-09 19:03:41 +00:00
Lasse Öörni
5e7387b695 Added physics stresstest example. 2012-08-09 18:36:36 +00:00
Lasse Öörni
bb0bd71d1d Fixed undefined constants on OpenGL ES. 2012-08-08 17:17:49 +00:00
Lasse Öörni
c64dfb114e Added back polygon fill mode. 2012-08-08 17:15:13 +00:00
Lasse Öörni
8a4dcf1f88 Added editor sound picker patch from Magic.Lixin.
Update audio listener position in editor.
2012-08-08 15:18:43 +00:00
Lasse Öörni
312ddc0242 Added repeat flag to delayed method calls.
Added possibility to remove delayed method calls selectively.
Documented delayed method calls.
2012-08-06 10:51:43 +00:00
Lasse Öörni
064842c6da Reset next node/component ID's when scene is cleared. 2012-08-04 15:00:26 +00:00
Lasse Öörni
b52fea0618 Fixed GCC build. 2012-08-03 22:24:26 +00:00
Lasse Öörni
94a4ee958a Fixed comment. 2012-08-03 21:54:40 +00:00
Lasse Öörni
ea2f6e967a Added DelayedStart() script object method to work around missing child scene nodes during Start(). 2012-08-03 21:06:40 +00:00
Lasse Öörni
d38bf9f95f Fixed node list in the editor sometimes scrolling to wrong position after deleting nodes/components. 2012-08-03 18:55:41 +00:00
Lasse Öörni
18f0bc23ee Fixed crash in editor. 2012-08-03 18:21:39 +00:00
Lasse Öörni
eb3af6e90f Animation state editing. Note: is a breaking change to AnimatedModel serialization, due to the extra variable needed! 2012-08-03 15:23:44 +00:00
Lasse Öörni
3d4eb6bdc8 Event refactoring. Removed the concept of targeted events and a Node forwarding a targeted event to all components, which was used only for physics node collision events. Now the node will instead send the collision event, and it can be explicitly subscribed to.
Remote node events specify a sender node instead of a receiver node. The sender connection is always available as an event parameter.
2012-08-03 09:03:02 +00:00
Lasse Öörni
0da5064e27 Added missing animation trigger files. 2012-08-02 21:33:30 +00:00
Lasse Öörni
9d3ead100c Fixed Doxygen comment. 2012-08-02 21:22:02 +00:00
Lasse Öörni
3b67320a49 Added animation trigger event system.
Added ReplaceExtension() utility function to simplify filename manipulation code.
Cleaned up NinjaSnowWar script code. Added particle effect on ninja's footsteps and landing from jump.
2012-08-02 21:19:57 +00:00
Lasse Öörni
ae0259c1e3 Remove nodes/components in Scene destructor before cleaning up the scene object maps. 2012-08-02 09:36:22 +00:00
Lasse Öörni
6dac86e2e7 Added option to disable log timestamps. 2012-08-01 22:27:32 +00:00
Lasse Öörni
76454f0385 Reset old node/component ID's consistently when scene is deleted or when node/component ID conflicts happen, in addition to removing the scene reference. 2012-08-01 13:39:43 +00:00
Lasse Öörni
146cba8bc4 Fixed typos. 2012-07-31 07:00:41 +00:00
Lasse Öörni
bdb060bd7d Moved StringHash to Math library. 2012-07-31 06:31:48 +00:00