aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/lib.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-12-01 10:43:57 +0300
committerValentin Popov <valentin@popov.link>2026-12-01 10:43:57 +0300
commitbf991ad728dd6cdc02168b4d6552f0e7e85181a2 (patch)
tree20f796e1fd77ec39a63f2f25a9a42f491dd9ce55 /crates/fparkan-runtime/src/lib.rs
parent6bd2930a1805ee27b32f9329fa8d9aeb16479da9 (diff)
downloadfparkan-bf991ad728dd6cdc02168b4d6552f0e7e85181a2.tar.xz
fparkan-bf991ad728dd6cdc02168b4d6552f0e7e85181a2.zip
fix(render): drive warbot muzzle flashes with firing phases
Use the first CPT node when the effect has no explicit override. Feed the autonomous weapon banks into the same phase sampling path as manual weapons. Confirm the effect constructor and phase reads in the original DLLs, and compare the two cannon flashes in a live AutoDemo window at the same clock sample.
Diffstat (limited to 'crates/fparkan-runtime/src/lib.rs')
-rw-r--r--crates/fparkan-runtime/src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs
index 1a46e031..eef3a158 100644
--- a/crates/fparkan-runtime/src/lib.rs
+++ b/crates/fparkan-runtime/src/lib.rs
@@ -193,7 +193,10 @@ pub use projectile::{
pub use projectile_parts::{depleted_chassis_nodes, depleted_warbot_nodes};
pub use research::order_lab_research;
pub use robot_designer::{load_gameplay_mission, load_gameplay_mission_with_build_parts};
-pub use unit_combat::{AutoDemoCombatEvent, AutoDemoProjectileType, FiringEffectInstance};
+pub use unit_combat::{
+ autonomous_firing_effect_phases, AutoDemoCombatEvent, AutoDemoProjectileType,
+ FiringEffectInstance,
+};
pub use unit_spawn::SpawnedUnit;
const MISSION_DECODED_PAYLOAD_CACHE_ENTRIES: usize = 256;