Audio: a couple of LCS changes

This commit is contained in:
Sergeanur 2021-08-21 13:32:37 +03:00
parent e0be6beb18
commit 3779a39f1f
4 changed files with 10 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#pragma once
#define NUMAUDIOCOLLISIONS 10
#define NUMAUDIOCOLLISIONS 14
class CEntity;

View file

@ -527,7 +527,7 @@ cAudioManager::ServiceSoundEffects()
ClearRequestedQueue();
InterrogateAudioEntities();
m_sPedComments.Process();
ServicePoliceRadio();
//ServicePoliceRadio(); // LCS: removed
ServiceCollisions();
AddReleasingSounds();
ProcessMissionAudio();

View file

@ -119,7 +119,7 @@ public:
VALIDATE_SIZE(cPedComments, 0x490);
#define MISSION_AUDIO_SLOTS (2)
#define MISSION_AUDIO_SLOTS (5)
// name made up
class cAudioScriptObjectManager
@ -241,6 +241,7 @@ public:
#endif
cAudioScriptObjectManager m_sAudioScriptObjectManager;
bool8 field_4348_lcs;
// miami
bool8 m_bIsPlayerShutUp;
uint8 m_nPlayerMood;
@ -284,6 +285,10 @@ public:
bool8 m_nPreviousUserPause;
uint32 m_FrameCounter;
uint32 field_5644_lcs;
uint32 field_5648_lcs;
uint8 field_564C_lcs;
cAudioManager();
~cAudioManager();

View file

@ -119,6 +119,7 @@ cAudioManager::DoPoliceRadioCrackle()
void
cAudioManager::ServicePoliceRadio()
{
/*
int32 wantedLevel = 0; // uninitialized variable
static uint32 nLastSeen = 300;
@ -150,6 +151,7 @@ cAudioManager::ServicePoliceRadio()
}
}
ServicePoliceRadioChannel(wantedLevel);
*/
}
void