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.
|
před 12 roky |
Lasse Öörni
|
c0dbf7f545
Generalized the factory category for all objects.
|
před 12 roky |
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.
|
před 12 roky |
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.
|
před 12 roky |
Lasse Öörni
|
3cbf2cd402
Detach AnimationController & ParticleEmitter from the scene post-update when disabled.
|
před 13 roky |
Wei Tjong Yao
|
2a4a089fc1
Detached component is considered as not enabled effectively regardless of its own enabled flag. Tweaked the 'expansion triangle' icon.
|
před 13 roky |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
před 13 roky |
Lasse Öörni
|
af8825047a
Started work on node/component enable & disable.
|
před 13 roky |
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.
|
před 13 roky |
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.
|
před 13 roky |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
před 13 roky |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
před 13 roky |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
před 13 roky |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
před 13 roky |
Lasse Öörni
|
31e027b354
Maximum amount of sorted instances can be configured in Renderer. By default 1000.
|
před 13 roky |
Lasse Öörni
|
a7494cedc4
Removed NetworkState pointer from Serializable for better class memory layout control.
|
před 13 roky |
Lasse Öörni
|
e6fe0d6cf0
Removed convenience GetWorldTransform() from Component to make it explicit that an indirection to the parent node is being made.
|
před 13 roky |
Lasse Öörni
|
172a097b1c
Mark nodes and components separately for network update, instead of looping node's all components when one of them changes.
|
před 13 roky |
Lasse Öörni
|
da921892b2
Rearranged Octant variables for more optimal access.
|
před 13 roky |
Lasse Öörni
|
5bc2c61d88
Reorganized Node, Component, Drawable & Camera member variables for more optimal access.
|
před 13 roky |
Lasse Öörni
|
91f6f87472
Explicitly mark changed nodes to avoid going through the whole scene in PrepareNetworkUpdate().
|
před 13 roky |
Lasse Öörni
|
1a9dced05b
Updated to AngelScript 2.23.1 WIP.
|
před 13 roky |
Lasse Öörni
|
1c2cc43f14
Refactoring of how network updates to clients are collected. This removes costly, redundant Variant compares that were performed per-user.
|
před 13 roky |
Lasse Öörni
|
7ea084bc4b
Added missing DebugNew.h includes.
|
před 13 roky |
Lasse Öörni
|
cc3ee34f58
Increased occlusion buffer depth bias.
|
před 14 roky |
Lasse Öörni
|
1e1496e7d4
Refactored setting variants from strings.
|
před 14 roky |
Lasse Öörni
|
510125fe32
Removed unused Component::HasComponent() function.
|
před 14 roky |
Lasse Öörni
|
baa3efacc3
Fixed the Data directory getting removed in the editor, if a scene was first loaded from there, and then from elsewhere.
|
před 14 roky |
Lasse Öörni
|
3f7fffbf49
Some renames. CollisionGroup -> CollisionLayer, Scene::GetNodeByID() -> GetNode(), Ray::Distance() -> HitDistance().
|
před 14 roky |
Lasse Öörni
|
444c18673e
Code formatting & optimization.
|
před 14 roky |