From ad31192ab5d8c5f2b0d2d44b787d04c29cb49dc8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 2 Dec 2026 13:53:20 +0400 Subject: feat(ui): acknowledge accepted strategic warbot orders Use the original size-based shared acknowledgement selector. Verify direct orders, a patrol target, and single- and multi-point routes from the stock Two Fortresses start. A valid right-click supplies the final waypoint and sends the route. --- apps/fparkan-game/src/audio.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/fparkan-game/src/audio.rs') diff --git a/apps/fparkan-game/src/audio.rs b/apps/fparkan-game/src/audio.rs index 4e180ba2..1a708339 100644 --- a/apps/fparkan-game/src/audio.rs +++ b/apps/fparkan-game/src/audio.rs @@ -21,7 +21,7 @@ use std::io::Cursor; use std::sync::{Arc, Mutex}; use std::time::{SystemTime, UNIX_EPOCH}; -mod capture_voice; +mod unit_acknowledgement; const SWAV_TYPE: u32 = u32::from_le_bytes(*b"SWAV"); const DEFAULT_MUSIC_TRACK: u8 = 2; @@ -640,7 +640,7 @@ pub(crate) struct GameAudio { mission_voice: Player, radar: Player, radar_sample: Option, - vehicle_capture_voice: capture_voice::VehicleCaptureVoice, + unit_acknowledgement: unit_acknowledgement::UnitAcknowledgement, mission_cfg: NormalizedPath, weather_loop: NativeSpatialPlayer, control_sounds: BTreeMap, @@ -691,7 +691,7 @@ impl GameAudio { mission_voice, radar, radar_sample: None, - vehicle_capture_voice: capture_voice::VehicleCaptureVoice::new(random_seed()), + unit_acknowledgement: unit_acknowledgement::UnitAcknowledgement::new(random_seed()), mission_cfg, weather_loop, control_sounds: BTreeMap::new(), -- cgit v1.2.3