diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 03:54:04 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 03:54:04 +0300 |
| commit | 683d970343383d63eeb22219080c190769f888b1 (patch) | |
| tree | 7dd144180881f1ed5656fa7959d2656a485e1be0 /crates/fparkan-runtime/src/lib.rs | |
| parent | 0a4aada114bdcce5dba69bdbb88fa0ed44cf6733 (diff) | |
| download | fparkan-683d970343383d63eeb22219080c190769f888b1.tar.xz fparkan-683d970343383d63eeb22219080c190769f888b1.zip | |
fix(movement): carry frame time across route waypoints
Route following now spends the same frame interval on turning and all reachable waypoints. Go, Patrol and pursuit keep their existing speeds and share this step. Stop counting the obsolete per-waypoint time loss.
Verified with the corner route regression, workspace checks, release AutoDemo in a window, and two-minute AutoDemo and Single.01 smoke runs. Obstacle avoidance, locomotion animation and comparison with the original remain open.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs index cf5625fc..a4444860 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -93,6 +93,7 @@ mod production; mod projectile; mod research; mod resource_distribution; +mod route_motion; use resource_distribution::advance_behavior_distributor_tick; mod script_host; mod script_patrol; |
