summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-30 09:58:51 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-30 09:58:51 +0200
commit8cbdf272289240913884ef9a484a2fb027349c8d (patch)
treea853b02aaef34a33ddaec5f5d621aaa9be06c5f2 /src/audio/AudioManager.h
parentscript revision p2 (diff)
parentFix yet another DirectlyEnqueueSample (diff)
downloadre3-8cbdf272289240913884ef9a484a2fb027349c8d.tar
re3-8cbdf272289240913884ef9a484a2fb027349c8d.tar.gz
re3-8cbdf272289240913884ef9a484a2fb027349c8d.tar.bz2
re3-8cbdf272289240913884ef9a484a2fb027349c8d.tar.lz
re3-8cbdf272289240913884ef9a484a2fb027349c8d.tar.xz
re3-8cbdf272289240913884ef9a484a2fb027349c8d.tar.zst
re3-8cbdf272289240913884ef9a484a2fb027349c8d.zip
Diffstat (limited to 'src/audio/AudioManager.h')
-rw-r--r--src/audio/AudioManager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index f9472a52..c5436cc0 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();
@@ -415,6 +416,7 @@ public:
#ifdef GTA_TRAIN
bool8 ProcessTrainNoise(cVehicleParams &params);
#endif
+ bool8 ProcessFerryNoise(cVehicleParams &params);
bool8 ProcessBoatEngine(cVehicleParams &params);
bool8 ProcessBoatMovingOverWater(cVehicleParams &params);
void ProcessPlane(cVehicleParams &params);