diff options
author | aap <aap@papnet.eu> | 2019-07-12 18:01:22 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-07-12 18:01:22 +0200 |
commit | 60711154baf5477d6f4c12add1ecdd0a24c0c116 (patch) | |
tree | 460199051422d03a6a70a1e57f9c8d2d588c85b6 /src/audio | |
parent | CAutomobile::ProcessControlInputs (diff) | |
download | re3-60711154baf5477d6f4c12add1ecdd0a24c0c116.tar re3-60711154baf5477d6f4c12add1ecdd0a24c0c116.tar.gz re3-60711154baf5477d6f4c12add1ecdd0a24c0c116.tar.bz2 re3-60711154baf5477d6f4c12add1ecdd0a24c0c116.tar.lz re3-60711154baf5477d6f4c12add1ecdd0a24c0c116.tar.xz re3-60711154baf5477d6f4c12add1ecdd0a24c0c116.tar.zst re3-60711154baf5477d6f4c12add1ecdd0a24c0c116.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/DMAudio.cpp | 3 | ||||
-rw-r--r-- | src/audio/DMAudio.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp index b4fee67f..1c1316a8 100644 --- a/src/audio/DMAudio.cpp +++ b/src/audio/DMAudio.cpp @@ -33,4 +33,5 @@ WRAPPER int32 cDMAudio::CreateEntity(int, void*) { EAXJMP(0x57C7C0); } WRAPPER void cDMAudio::SetEntityStatus(int32 id, uint8 enable) { EAXJMP(0x57C810); } WRAPPER void cDMAudio::SetRadioInCar(int32) { EAXJMP(0x57CE60); } WRAPPER void cDMAudio::DestroyEntity(int32) { EAXJMP(0x57C7F0); } -WRAPPER void cDMAudio::ClearMissionAudio(void) { EAXJMP(0x57CE20); }
\ No newline at end of file +WRAPPER void cDMAudio::ClearMissionAudio(void) { EAXJMP(0x57CE20); } +WRAPPER void cDMAudio::ReportCrime(eCrimeType crime, const CVector &pos) { EAXJMP(0x57CAD0); } diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h index 8be09ac6..0a2ce6ac 100644 --- a/src/audio/DMAudio.h +++ b/src/audio/DMAudio.h @@ -173,6 +173,7 @@ enum eSound : int16 }; class CEntity; +enum eCrimeType; class cDMAudio { @@ -204,5 +205,6 @@ public: uint8 IsMP3RadioChannelAvailable(); void DestroyEntity(int32); void ClearMissionAudio(void); + void ReportCrime(eCrimeType crime, const CVector &pos); }; extern cDMAudio &DMAudio; |