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