From 0df6fbb30a4279521fed7efcc6620afed45d0532 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Mon, 30 Aug 2021 08:23:10 +0300 Subject: Add new tSound field --- src/audio/AudioManager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/audio/AudioManager.h') diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h index f9472a52..e4256996 100644 --- a/src/audio/AudioManager.h +++ b/src/audio/AudioManager.h @@ -59,6 +59,7 @@ public: #if defined(FIX_BUGS) && defined(EXTERNAL_3D_SOUND) int8 m_nEmittingVolumeChange; // same as above but for m_nEmittingVolume #endif + uint8 field_51_lcs; }; VALIDATE_SIZE(tSound, 96); @@ -347,7 +348,7 @@ public: uint32 ComputeDopplerEffectedFrequency(uint32 oldFreq, float position1, float position2, float speedMultiplier); int32 RandomDisplacement(uint32 seed); void InterrogateAudioEntities(); // inlined - void AddSampleToRequestedQueue(); + void AddSampleToRequestedQueue(uint8 unk_lcs = 0); void AddDetailsToRequestedOrderList(uint8 sample); // inlined in vc #ifdef AUDIO_REFLECTIONS void AddReflectionsToRequestedQueue(); -- cgit v1.2.3