diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 04:15:02 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 04:15:02 +0300 |
| commit | b5c1c1d4b108260765095c1dea6814ad6f707589 (patch) | |
| tree | e1fc34f806a95236261fc2aad96e8dcec99bf085 /crates/fparkan-runtime/src/lib.rs | |
| parent | da4c8ed23fe5289dbdc7d81a6eb6ddf66ff94ef7 (diff) | |
| download | fparkan-b5c1c1d4b108260765095c1dea6814ad6f707589.tar.xz fparkan-b5c1c1d4b108260765095c1dea6814ad6f707589.zip | |
fix(movement): account for vehicle traffic along ground routes
Ground routes now clear live vehicle bounds as well as buildings. Each movement step reserves the space it traversed for the rest of the frame. A parked vehicle can delay arrival without deleting the destination, and an obstructed detour can be replaced.
Verified head-on passing, crossing during one long frame and resuming after an occupied goal clears. Workspace checks, the AutoDemo window, stock builder resupply and the 29-mission simulation corpus passed. Tight groups and airborne clearance remain approximate.
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 606b0987..309ff388 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -95,6 +95,7 @@ mod research; mod resource_distribution; mod route_motion; mod route_obstacles; +mod route_traffic; use resource_distribution::advance_behavior_distributor_tick; mod script_host; mod script_patrol; |
