Kelsidavis-WoWee/tests
Pavel Okhlopkov 39719cac82 refactor: decompose TransportManager and upgrade Entity to CatmullRom splines
TransportManager decomposition:
- Extract TransportClockSync: server clock offset, yaw flip detection,
  velocity bootstrap, client/server mode switching
- Extract TransportAnimator: spline evaluation, Z clamping, orientation
  from server yaw or spline tangent
- Slim TransportManager to thin orchestrator delegating to ClockSync and
  Animator; add pushTransform() helper to deduplicate WMO/M2 renderer calls
- Remove legacy orientationFromSplineTangent (now uses
  CatmullRomSpline::orientationFromTangent)

Entity path following upgrade:
- Replace pathPoints_/pathSegDists_ linear lerp with
  std::optional<CatmullRomSpline> activeSpline_
- startMoveAlongPath builds SplineKeys with distance-proportional timing
- updateMovement evaluates CatmullRomSpline for smooth Catmull-Rom
  interpolation matching server-side creature movement
- Reset activeSpline_ on setPosition/startMoveTo to prevent stale state

Tests:
- Add test_transport_components (9 cases): ClockSync client/server/reverse
  modes, yaw flip detection, Animator position eval, server yaw, Z clamping
- Link spline.cpp into test_entity for CatmullRomSpline dependency

Signed-off-by: Pavel Okhlopkov <pavel.okhlopkov@flant.com>
2026-04-11 09:50:38 +03:00
..
CMakeLists.txt refactor: decompose TransportManager and upgrade Entity to CatmullRom splines 2026-04-11 09:50:38 +03:00
test_activity_fsm.cpp feat(animation): decompose AnimationController into FSM-based architecture 2026-04-05 12:27:35 +03:00
test_anim_capability.cpp feat(animation): decompose AnimationController into FSM-based architecture 2026-04-05 12:27:35 +03:00
test_animation_ids.cpp feat(animation): decompose AnimationController into FSM-based architecture 2026-04-05 12:27:35 +03:00
test_blp_loader.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_combat_fsm.cpp feat(animation): decompose AnimationController into FSM-based architecture 2026-04-05 12:27:35 +03:00
test_dbc_loader.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_entity.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_frustum.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_indoor_shadows.cpp feat(rendering): add HiZ occlusion culling & fix WMO interior shadows 2026-04-06 16:40:59 +03:00
test_locomotion_fsm.cpp feat(animation): decompose AnimationController into FSM-based architecture 2026-04-05 12:27:35 +03:00
test_m2_structs.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_opcode_table.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_packet.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_spline.cpp refactor: extract spline math, consolidate packet parsing, decompose TransportManager 2026-04-11 08:30:28 +03:00
test_srp.cpp feat(animation): 452 named constants, 30-phase character animation state machine 2026-04-04 23:02:53 +03:00
test_transport_components.cpp refactor: decompose TransportManager and upgrade Entity to CatmullRom splines 2026-04-11 09:50:38 +03:00
test_transport_path_repo.cpp refactor: extract spline math, consolidate packet parsing, decompose TransportManager 2026-04-11 08:30:28 +03:00