aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-26 11:41:29 +0300
committerValentin Popov <valentin@popov.link>2026-11-26 11:41:29 +0300
commit56abb3e3362f77a434ce55716891e5fca16b9070 (patch)
treef29c858101c2060f7e7948f27397403847575555 /crates/fparkan-runtime
parentf707bc6179521d316a93dde9beca2668115ad6cd (diff)
downloadfparkan-56abb3e3362f77a434ce55716891e5fca16b9070.tar.xz
fparkan-56abb3e3362f77a434ce55716891e5fca16b9070.zip
chore(coverage): label shared route motion as approximate
Use the same coverage label in runtime logs and simulation reports. Document the observed idle warbot handler and the parts of native locomotion still open. The stock AutoDemo keeps the same first shot and destruction times.
Diffstat (limited to 'crates/fparkan-runtime')
-rw-r--r--crates/fparkan-runtime/src/unit_motion.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/fparkan-runtime/src/unit_motion.rs b/crates/fparkan-runtime/src/unit_motion.rs
index 14c5e848..a2c39aef 100644
--- a/crates/fparkan-runtime/src/unit_motion.rs
+++ b/crates/fparkan-runtime/src/unit_motion.rs
@@ -1,9 +1,9 @@
-//! Observations of the temporary unit controller, not a native motion solver.
+//! Coverage of the shared route follower and its approximations.
use crate::{CombatObject, Engine};
use std::collections::BTreeMap;
-/// Work performed by the temporary controller for one retained object identity.
+/// Route follower updates for one retained object identity.
#[derive(Clone, Debug, Default, Eq, PartialEq)]
pub struct UnitMotionSample {
pub updates: u64,
@@ -20,7 +20,7 @@ pub struct UnitMotionReport {
impl UnitMotionReport {
pub(super) fn update(&mut self, object: CombatObject, now: u32) {
let sample = self.objects.entry(object).or_insert_with(|| {
- eprintln!("sim_coverage unit_motion_controller_stub=1 object={object} original_id={:?} first_ms={now}", object.original_id);
+ eprintln!("sim_coverage unit_route_motion_approx=1 object={object} original_id={:?} first_ms={now}", object.original_id);
UnitMotionSample {
first_ms: now,
..Default::default()