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.
|
il y a 12 ans |
Lasse Öörni
|
c0dbf7f545
Generalized the factory category for all objects.
|
il y a 12 ans |
Wei Tjong Yao
|
8d1c28bc3e
Group components into categories. In the Editor app, dynamically create the menu structure based on the component categories. Added new GetCategory() method in Component class and exposed it to script. Reviewed and fixed as necessary the default attributes registration of Component's descendant classes. Removed 'Attenuation' and 'Panning' attributes from SoundSource3D as they are updated constantly in this class. Enhanced Context class to 'register' component category during the component factory registration.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Lasse Öörni
|
3cbf2cd402
Detach AnimationController & ParticleEmitter from the scene post-update when disabled.
|
il y a 12 ans |
Wei Tjong Yao
|
2a4a089fc1
Detached component is considered as not enabled effectively regardless of its own enabled flag. Tweaked the 'expansion triangle' icon.
|
il y a 12 ans |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
il y a 12 ans |
Lasse Öörni
|
af8825047a
Started work on node/component enable & disable.
|
il y a 12 ans |
Lasse Öörni
|
e9aacd1df9
Removed the AttributeListChanged event for now, as it was causing stack overflows in the editor. It was only needed to track changed attributes on script file reload.
|
il y a 12 ans |
Lasse Öörni
|
171e802c8f
Scene change events. Removes need for hardcoded hierarchy updates in the editor. May potentially have caused regressions, so needs to be approached with care.
|
il y a 12 ans |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
il y a 13 ans |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
il y a 13 ans |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
il y a 13 ans |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
il y a 13 ans |
Lasse Öörni
|
31e027b354
Maximum amount of sorted instances can be configured in Renderer. By default 1000.
|
il y a 13 ans |
Lasse Öörni
|
a7494cedc4
Removed NetworkState pointer from Serializable for better class memory layout control.
|
il y a 13 ans |
Lasse Öörni
|
e6fe0d6cf0
Removed convenience GetWorldTransform() from Component to make it explicit that an indirection to the parent node is being made.
|
il y a 13 ans |
Lasse Öörni
|
172a097b1c
Mark nodes and components separately for network update, instead of looping node's all components when one of them changes.
|
il y a 13 ans |
Lasse Öörni
|
da921892b2
Rearranged Octant variables for more optimal access.
|
il y a 13 ans |
Lasse Öörni
|
5bc2c61d88
Reorganized Node, Component, Drawable & Camera member variables for more optimal access.
|
il y a 13 ans |
Lasse Öörni
|
91f6f87472
Explicitly mark changed nodes to avoid going through the whole scene in PrepareNetworkUpdate().
|
il y a 13 ans |
Lasse Öörni
|
1a9dced05b
Updated to AngelScript 2.23.1 WIP.
|
il y a 13 ans |
Lasse Öörni
|
1c2cc43f14
Refactoring of how network updates to clients are collected. This removes costly, redundant Variant compares that were performed per-user.
|
il y a 13 ans |
Lasse Öörni
|
7ea084bc4b
Added missing DebugNew.h includes.
|
il y a 13 ans |
Lasse Öörni
|
cc3ee34f58
Increased occlusion buffer depth bias.
|
il y a 14 ans |
Lasse Öörni
|
1e1496e7d4
Refactored setting variants from strings.
|
il y a 14 ans |
Lasse Öörni
|
510125fe32
Removed unused Component::HasComponent() function.
|
il y a 14 ans |
Lasse Öörni
|
baa3efacc3
Fixed the Data directory getting removed in the editor, if a scene was first loaded from there, and then from elsewhere.
|
il y a 14 ans |
Lasse Öörni
|
3f7fffbf49
Some renames. CollisionGroup -> CollisionLayer, Scene::GetNodeByID() -> GetNode(), Ray::Distance() -> HitDistance().
|
il y a 14 ans |
Lasse Öörni
|
444c18673e
Code formatting & optimization.
|
il y a 14 ans |