SetDynamicAcousticModelingStatus
This commit is contained in:
parent
7488f094e2
commit
404d9bedd2
@ -12,7 +12,12 @@ cAudioManager &AudioManager = *(cAudioManager *)0x880FC0;
|
||||
bool
|
||||
cAudioManager::IsAudioInitialised() const
|
||||
{
|
||||
return m_bIsInitialised;
|
||||
return m_bIsInitialised;
|
||||
}
|
||||
|
||||
void cAudioManager::SetDynamicAcousticModelingStatus(bool status)
|
||||
{
|
||||
m_bDynamicAcousticModelingStatus = status;
|
||||
}
|
||||
|
||||
void
|
||||
@ -2694,7 +2699,7 @@ cAudioManager::Service()
|
||||
}
|
||||
|
||||
STARTPATCHES
|
||||
|
||||
InjectHook(0x57AA00, &cAudioManager::SetDynamicAcousticModelingStatus, PATCH_JUMP);
|
||||
InjectHook(0x57AA50, &cAudioManager::IsAudioInitialised, PATCH_JUMP);
|
||||
InjectHook(0x57C290, &cAudioManager::GenerateIntegerRandomNumberTable, PATCH_JUMP);
|
||||
InjectHook(0x56AD20, &cAudioManager::PlayerJustLeftCar, PATCH_JUMP);
|
||||
|
@ -175,7 +175,7 @@ public:
|
||||
char field_2;
|
||||
char m_bActiveSamples;
|
||||
char field_4;
|
||||
char m_bDynamicAcousticModelingStatus;
|
||||
bool m_bDynamicAcousticModelingStatus;
|
||||
char field_6;
|
||||
char field_7;
|
||||
float field_8;
|
||||
@ -217,6 +217,7 @@ public:
|
||||
int m_nTimeOfRecentCrime;
|
||||
|
||||
bool IsAudioInitialised() const;
|
||||
void SetDynamicAcousticModelingStatus(bool status);
|
||||
void GenerateIntegerRandomNumberTable();
|
||||
|
||||
void PlayerJustLeftCar(void);
|
||||
|
Loading…
Reference in New Issue
Block a user