From 8adc8e8c23240ba69c181aa4d89bf35e790cf748 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 10:53:42 +0400 Subject: feat(render): play authored shield pulses on impact Use the Control 9 resource and impact basis to start three reusable mode-1 instances per owner. Draw the Op9 layers with the sampled MAT0 color and start the authored Op2 sound. Check the blue pulse and its expiry in a fixed-camera Vulkan run. --- crates/fparkan-runtime/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crates/fparkan-runtime/src/lib.rs') diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs index 927ef138..be2005b1 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -104,6 +104,9 @@ mod projectile; mod projectile_damage; mod projectile_parts; mod projectile_shield; +pub use projectile_shield::{ + collect_shield_impacts, shield_effect_sources, take_shield_impacts, ShieldImpact, +}; mod repair_zone; mod research; mod resource_distribution; @@ -1414,6 +1417,7 @@ pub struct Engine { autodemo_reinforcements: Option, production: Option, destruction_effects: Option>, + shield_impacts: Option>, } struct LoadedMissionState { @@ -1803,6 +1807,7 @@ pub fn create(services: EngineServices) -> Result { autodemo_reinforcements: None, production: None, destruction_effects: None, + shield_impacts: None, }) } -- cgit v1.2.3