diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-14 12:12:02 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-14 12:12:02 +0300 |
| commit | 6c81f0c6b2bf8d79c4a83fb0d693b57b799eea7f (patch) | |
| tree | 8d8714109889dcccad98da89ed4a6f0ed33153d5 /apps | |
| parent | 6328279a3b310ba11153d0a345f1edc005d61e4d (diff) | |
| download | fparkan-6c81f0c6b2bf8d79c4a83fb0d693b57b799eea7f.tar.xz fparkan-6c81f0c6b2bf8d79c4a83fb0d693b57b799eea7f.zip | |
feat(runtime): execute scripted place patrol orders
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/fparkan-game/src/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/fparkan-game/src/main.rs b/apps/fparkan-game/src/main.rs index 7585dff7..3f6932e0 100644 --- a/apps/fparkan-game/src/main.rs +++ b/apps/fparkan-game/src/main.rs @@ -11251,6 +11251,9 @@ impl StaticVulkanApp { log_mission_event_stop(stop); } if let Some(tick) = &frame.mission_event { + for &(handle, [x, y]) in &tick.patrol_orders { + eprintln!("mission_patrol_order unit={} target=[{x},{y}] queue_time_ms={control_clock_ms}", handle.slot); + } for ¬ice in &tick.notices { match notice { MissionNotice::ObjectiveComplete(index) => eprintln!("mission_objective index={index} status=complete queue_time_ms={control_clock_ms}"), |
