Commit Graph

9836 Commits

Author SHA1 Message Date
Lasse Öörni
4eb7aca7d4 Disabled specular from too complex SM2 shaders. 2012-08-31 23:24:15 +00:00
Lasse Öörni
fa69f2e174 Fixed texture unit enumeration and the environment texture sampler. Removed references to the nonexistent detail texture sampler in the documentation. 2012-08-31 22:24:59 +00:00
Lasse Öörni
d262ed3f3d Added error message if trying to clone an unparented node. 2012-08-31 15:57:20 +00:00
Lasse Öörni
59ad97a04b Fixed ScrollView position not being correctly applied after deserialization. 2012-08-31 15:15:19 +00:00
Lasse Öörni
2c5b3f9fed Fixed ScrollView serialization/deserialization issue. 2012-08-31 14:44:47 +00:00
Lasse Öörni
d5783d284f Fixed comment. 2012-08-30 20:39:12 +00:00
Lasse Öörni
9401ad8063 Removed UI serialization hacks related to the Menu & DropDownList popup element. To avoid layout problems, now it is never added as a child temporarily.
Do not abort UI layout deserialization on encountering an unknown element.
2012-08-30 20:34:17 +00:00
Lasse Öörni
053c1f3e6a Added convenience overloads for LoadLayout().
Added DropDownList selection attribute.
Removed duplicated code from UIElement.
2012-08-30 12:37:36 +00:00
Lasse Öörni
94fc8ce4e4 Removed the hack way of filling a DropDownList from XML layout. As a consequence defining dropdown items in XML is more complex.
Fixed ListView not setting its content element as internal.
Fixed ScrollView not making the scroll panel's child as content element after XML deserialization.
2012-08-30 09:13:58 +00:00
Lasse Öörni
6771cb1dec Fixed iOS build path escaping. 2012-08-30 06:52:46 +00:00
Lasse Öörni
1ed8f1fe94 Removed unnecessary line of code from DropDownList. 2012-08-29 21:17:53 +00:00
Lasse Öörni
e4688aaee8 Fixed scroll view positioning bug. 2012-08-29 21:16:56 +00:00
Lasse Öörni
da7c57c7b8 Added quotes to iOS resource copy commands. 2012-08-29 08:02:31 +00:00
Lasse Öörni
903ab2f595 Renamed the checked attribute to match convention. 2012-08-28 21:33:10 +00:00
Lasse Öörni
85c14f96f9 Added checked attribute to CheckBox.
Perform re-parenting hacks during Menu & DropDownList serialization to allow reloading the popup content.
2012-08-28 21:27:22 +00:00
Lasse Öörni
4cef5395f5 Completed the UI element refactoring. Removed hardcoded SetStyle() functions which would read UI element attributes from XML.
Added SaveLayout() function to UI.
Fixed serialization & deserialization of IntRect & IntVector2 variants.
Fixed crash when querying a BorderImage's texture in script.
2012-08-28 20:22:51 +00:00
Lasse Öörni
0a16099532 UIElement serialization / deserialization.
Fixed XML serialization of IntVector2.
2012-08-27 06:15:29 +00:00
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