aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/lib.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-26 05:07:45 +0300
committerValentin Popov <valentin@popov.link>2026-11-26 05:07:45 +0300
commit81eb7cd67af54780756a98475145a864b72cbee0 (patch)
treef9a388c0c4410ac4c2059d96fb976f89c162bb37 /crates/fparkan-runtime/src/lib.rs
parent4e4a0795fccbcc4a2dd2f4b51c8f8f7802812791 (diff)
downloadfparkan-81eb7cd67af54780756a98475145a864b72cbee0.tar.xz
fparkan-81eb7cd67af54780756a98475145a864b72cbee0.zip
feat(combat): aim autonomous turrets with authored tracks
Convert the selected target to the turret mount space and sample the authored azimuth and elevation tracks for rendering and the CPU muzzle query. Leave trigger cadence and target selection intact. Verified the stock AutoDemo launch, turret swivel with Vulkan validation clean, and a stock combat regression. Aim slew and recoil providers remain open.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
-rw-r--r--crates/fparkan-runtime/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs
index 9fb9a262..dda56734 100644
--- a/crates/fparkan-runtime/src/lib.rs
+++ b/crates/fparkan-runtime/src/lib.rs
@@ -102,6 +102,10 @@ use resource_distribution::advance_behavior_distributor_tick;
mod script_host;
mod script_patrol;
mod script_time;
+mod turret_aim;
+pub use turret_aim::{
+ apply_autonomous_turret_pose, autonomous_turret_aim, has_turret_aim, TurretAim,
+};
mod unit_chassis;
pub use unit_chassis::loaded_walk_chassis;
mod unit_combat;