Lasse Öörni
|
172a097b1c
Mark nodes and components separately for network update, instead of looping node's all components when one of them changes.
|
13 éve |
Lasse Öörni
|
da921892b2
Rearranged Octant variables for more optimal access.
|
13 éve |
Lasse Öörni
|
5bc2c61d88
Reorganized Node, Component, Drawable & Camera member variables for more optimal access.
|
13 éve |
Lasse Öörni
|
91f6f87472
Explicitly mark changed nodes to avoid going through the whole scene in PrepareNetworkUpdate().
|
13 éve |
Lasse Öörni
|
1c2cc43f14
Refactoring of how network updates to clients are collected. This removes costly, redundant Variant compares that were performed per-user.
|
13 éve |
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 éve |
Lasse Öörni
|
1e493ba802
Networked rigidbodies should work now.
|
13 éve |
Lasse Öörni
|
1841169cb2
Fixed missing CollisionGeometryData code.
|
13 éve |
Lasse Öörni
|
26e2ebca26
Fixed enemy motion bugs in networked NinjaSnowWar.
|
14 éve |
Lasse Öörni
|
cc3ee34f58
Increased occlusion buffer depth bias.
|
14 éve |
Lasse Öörni
|
95a8c8bfa7
Added overloads to Variant & XMLElement that take char pointers.
|
14 éve |
Lasse Öörni
|
4b0b227898
Code cleanup. Reverted the more extreme XML loading optimizations for readability.
|
14 éve |
Lasse Öörni
|
ab35cefde9
Use static strings for often needed element & attribute names in XML serialization to reduce redundant string object construction and dynamic memory allocation.
|
14 éve |
Lasse Öörni
|
92d2894866
Fixed not assigning the filename & checksum after XML scene load.
|
14 éve |
Lasse Öörni
|
30430d24ad
Fixed Node::Clone() to respect the local mode of child nodes & components.
|
14 éve |
Lasse Öörni
|
b0831fcab3
Fixed bug in editor where bone hierarchy would appear twice in the scene window if loading an object with bones.
|
14 éve |
Lasse Öörni
|
6845f056a5
Refactored NinjaSnowWar example to load the scene and objects from files instead of creating them programmatically.
|
14 éve |
Lasse Öörni
|
a341b9ea4f
Cleaned up Menu code.
|
14 éve |
Lasse Öörni
|
f58e2595bf
Rewrite node & component IDs when instantiating content from file.
|
14 éve |
Lasse Öörni
|
7f2f278c58
Added Scene::Instantiate() & Scene::InstantiateXML(), which load a partial scene from binary or XML.
|
14 éve |
Lasse Öörni
|
1e1496e7d4
Refactored setting variants from strings.
|
14 éve |
Lasse Öörni
|
9abf84de11
Cleaned up SceneResolver related code. Moved post-load ApplyAttributes() to Node.
|
14 éve |
Lasse Öörni
|
b6b8279174
Added a mechanism for resolving possibly changed component & node ID attributes after scene load.
|
14 éve |
Lasse Öörni
|
9e4a9362cb
Node::SetParent() retains the world transform.
|
14 éve |
Lasse Öörni
|
4c3be1f600
Added List::Resize().
|
14 éve |
Lasse Öörni
|
d5c42e8c2c
Added Node::LookAt().
|
14 éve |
Lasse Öörni
|
9d077e78a8
Code cleanup.
|
14 éve |
Lasse Öörni
|
bad42bcc5f
Take node parenting into account when moving nodes in the editor.
|
14 éve |
Lasse Öörni
|
534546f78e
Fixed node ID reassigning logic.
|
14 éve |
Lasse Öörni
|
fd06d3cf4a
Fixed component ID overwrite when copy-pasting scene nodes in the editor.
|
14 éve |