Commit History

Author SHA1 Message Date
  Lasse Öörni ad7b7451b4 As latest SDL was found to be non-threadsafe in practice, removed the StaticMutex and the OBJECTTYPESTATIC constructs which were added to support multi-context use within a single process. 12 years ago
  Wei Tjong Yao 521ee691c3 Enhanced DropDownList to support showing of placeholder text when there is no selection. The text could be used to show a 'Please choose ...' kind of prompt. Rearranged child XML-chunk resources responsible for Attribute Inspector to remove duplicate definition. Added new child XML-chunk to display and manipulate applied style of the UI-element in the Editor (not yet fully functional). Adjusted DefaultStyle.xml to distinguish between auto and non-auto types. Added new method in Serializable to remove instance default and in UIElement to return applied style name, in preparation for future work. 12 years ago
  Wei Tjong Yao 184360dc82 Added new feature in the Editor's edit menu to reset-to-default selected serializable objects (nodes, components, UI-elements) to their default values with undo/redo support. Added new method ResetToDefault() in Serializable class and exposed it to Script. Fixed the constness in Serializable class and all the recently added filtering methods in UIElement descandant classes. Exposed AM_NODEID and AM_COMPONENTID to Script. Added new Keys() method in HashMap class. Fixed SetModel() method in StaticModel and AnimatedModel to accept null model pointer in order to make reset-to-default to work. 12 years ago
  Lasse Öörni 3dac8c7a59 Added setInstanceDefault parameter also to binary serialization. 12 years ago
  Wei Tjong Yao 9bfb0019e3 Added logic to filter UI-style and implicit attributes from UI serialization result. Added logic to let Attribute Inspector to recognize derived values from UI-style file (so, only user modified and programmatically modified attributes are displayed using 'modified color'). Enhanced UI style file processing to support derived 'style' (see how 'ListView' style is derived from 'ScrollView' style and 'CloseButton' derived from 'Button' in file 'DefaultStyle.xml' as examples). Enhanced Serializable class to support instance-level default values (used in XML serialization filtering and also in Editor app). Enhanced Context class to support update of class-level default values during object registration in UIElement's descendant classes. Verified and fixed the attribute default values in RegisterObject() method for all UIElement's descendant classes. Added new method in XMLElement to remove attribute. Exposed new methods to Script API accordingly. 12 years ago
  Wei Tjong Yao 06f3580948 Enhanced the Attribute Inspector to show the 'Is Enabled' check box on the node/component 'title bar' instead of in the attribute list; and small refactoring to reduce the number of parameters being passed in a number of functions. Refactored to modify AttributeInfo's name to become a String. Exposed 'internal' property of UIElement to Script API. Enhanced Text class so that it renders the selected text being hovered by mouse a little differently than those without. 12 years ago
  Lasse Öörni 55f249e548 Automatically show compatible script object variables as ScriptInstance attributes and file-serialize them. 13 years ago
  Lasse Öörni da243eb31b Applied UI & editor related patch from weitjong. 13 years ago
  Lasse Öörni 193735e090 Reverted the enum optimization from Serializable. 13 years ago
  Lasse Öörni a40fead7dc Updated license for the new year. 13 years ago
  Lasse Öörni 7d8558a51f Applied massive patch from weitjong. 13 years ago
  Lasse Öörni 88aaa46465 Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding. 13 years ago
  Lasse Öörni 4cef5395f5 Completed the UI element refactoring. Removed hardcoded SetStyle() functions which would read UI element attributes from XML. 13 years ago
  Lasse Öörni 83e90ae61c Started work on UI element attributes. 13 years ago
  Lasse Öörni f0b6d55b28 Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries. 13 years ago
  Lasse Öörni 51c4336f2f Moved HashMap & Vector allocations to .cpp files so that they can be more easily tracked. 13 years ago
  Lasse Öörni ef421ef32d Initial Bullet constraint implementation. 13 years ago
  Lasse Öörni 31e027b354 Maximum amount of sorted instances can be configured in Renderer. By default 1000. 13 years ago
  Lasse Öörni a7494cedc4 Removed NetworkState pointer from Serializable for better class memory layout control. 13 years ago
  Lasse Öörni 172a097b1c Mark nodes and components separately for network update, instead of looping node's all components when one of them changes. 13 years ago
  Lasse Öörni 8a4351b8ec Removed the IsLoading() flag from Serializable. Instead implemented separately in AnimatedModel, which is the only component that needs that information. 13 years ago
  Lasse Öörni da921892b2 Rearranged Octant variables for more optimal access. 13 years ago
  Lasse Öörni 1c2cc43f14 Refactoring of how network updates to clients are collected. This removes costly, redundant Variant compares that were performed per-user. 13 years ago
  Lasse Öörni c710fb4ef6 Further optimization of network updates. Use a HashMap to store replicated and local nodes and components separately. Query depended on scene nodes only once per network frame, not per user. Cache the network attribute infos to Serializable. 13 years ago
  Lasse Öörni 8c2b820d71 Added warning for possible crash situation. 13 years ago
  Lasse Öörni be16c000d1 Changed variable name to be more descriptive. 13 years ago
  Lasse Öörni a4a0458981 Removed Connection's own framenumber as redundant. 13 years ago
  Lasse Öörni 1cf5d99d44 Optimized network server operation by using HashMap instead of Map where applicable and by querying Serializable attributes once per network frame, instead of per user. 13 years ago
  Lasse Öörni cc3ee34f58 Increased occlusion buffer depth bias. 14 years ago
  Lasse Öörni 1b82b726bf Further optimization of enum attribute load. 14 years ago