summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-08-27 22:46:41 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-08-27 23:45:27 +0200
commit5a36d466929ac9ba5612d577904773e3bd58bfe5 (patch)
treef775059bd6cd968b096f989243e496bea776ae4f /src/audio/AudioManager.cpp
parentCleanup (diff)
downloadre3-5a36d466929ac9ba5612d577904773e3bd58bfe5.tar
re3-5a36d466929ac9ba5612d577904773e3bd58bfe5.tar.gz
re3-5a36d466929ac9ba5612d577904773e3bd58bfe5.tar.bz2
re3-5a36d466929ac9ba5612d577904773e3bd58bfe5.tar.lz
re3-5a36d466929ac9ba5612d577904773e3bd58bfe5.tar.xz
re3-5a36d466929ac9ba5612d577904773e3bd58bfe5.tar.zst
re3-5a36d466929ac9ba5612d577904773e3bd58bfe5.zip
Diffstat (limited to 'src/audio/AudioManager.cpp')
-rw-r--r--src/audio/AudioManager.cpp42
1 files changed, 38 insertions, 4 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index 1e4b9c3b..d32d4207 100644
--- a/src/audio/AudioManager.cpp
+++ b/src/audio/AudioManager.cpp
@@ -498,7 +498,7 @@ cAudioManager::CreateEntity(int32 type, CPhysical *entity)
m_asAudioEntities[i].m_bIsUsed = true;
m_asAudioEntities[i].m_bStatus = 0;
m_asAudioEntities[i].m_nType = (eAudioType)type;
- m_asAudioEntities[i].m_pEntity = (void*)entity;
+ m_asAudioEntities[i].m_pEntity = (void *)entity;
m_asAudioEntities[i].m_awAudioEvent[0] = SOUND_TOTAL_PED_SOUNDS;
m_asAudioEntities[i].m_awAudioEvent[1] = SOUND_TOTAL_PED_SOUNDS;
m_asAudioEntities[i].m_awAudioEvent[2] = SOUND_TOTAL_PED_SOUNDS;
@@ -2823,7 +2823,6 @@ cAudioManager::GetNum3DProvidersAvailable() const
return 0;
}
-
int32
cAudioManager::GetPedCommentSfx(CPed *ped, int32 sound)
{
@@ -3038,6 +3037,13 @@ cAudioManager::PlayOneShot(int32 index, int16 sound, float vol)
EAXJMP(0x57A500);
}
+WRAPPER
+uint32
+cAudioManager::PlaySuspectLastSeen(float x, float y, float z)
+{
+ EAXJMP(0x580500);
+}
+
void
cAudioManager::PlayerJustGotInCar() const
{
@@ -3092,7 +3098,6 @@ cAudioManager::PostTerminateGameSpecificShutdown()
;
}
-
void
cAudioManager::PreInitialiseGameSpecificSetup() const
{
@@ -3100,6 +3105,13 @@ cAudioManager::PreInitialiseGameSpecificSetup() const
BankStartOffset[1] = AUDIO_SAMPLE_POLICE_COP_1_ARREST_1;
}
+WRAPPER
+void
+cAudioManager::PreloadMissionAudio(char *)
+{
+ EAXJMP(0x579550);
+}
+
void
cAudioManager::PreTerminateGameSpecificShutdown()
{
@@ -7790,6 +7802,20 @@ cAudioManager::ReleaseDigitalHandle() const
if(m_bIsInitialised) { SampleManager.ReleaseDigitalHandle(); }
}
+WRAPPER
+int32
+cAudioManager::ReportCollision(CEntity *a2, CEntity *a3, uint8 a4, uint8 a5, float a6, float a7)
+{
+ EAXJMP(0x568410);
+}
+
+WRAPPER
+int32
+cAudioManager::ReportCrime(eCrimeType crime, const CVector *pos)
+{
+ EAXJMP(0x5803D0);
+}
+
void
cAudioManager::ResetAudioLogicTimers(int32 timer)
{
@@ -7824,12 +7850,21 @@ cAudioManager::ResetPoliceRadio()
}
}
+WRAPPER
+void
+cAudioManager::ResetTimers(uint32 a2)
+{
+ EAXJMP(0x57A7B0);
+}
+
WRAPPER void
cAudioManager::Service()
{
EAXJMP(0x57A2A0);
}
+WRAPPER
+int8 cAudioManager::SetCurrent3DProvider(uint8) { EAXJMP(0x57A910); }
void
cAudioManager::SetDynamicAcousticModelingStatus(bool status)
@@ -7891,7 +7926,6 @@ cAudioManager::SetMusicMasterVolume(uint8 volume) const
SampleManager.SetMusicMasterVolume(volume);
}
-
void
cAudioManager::SetSpeakerConfig(int32 conf) const
{