mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-24 18:15:41 +00:00
SetDynamicAcousticModelingStatus
This commit is contained in:
parent
7488f094e2
commit
404d9bedd2
2 changed files with 9 additions and 3 deletions
|
@ -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 a new issue