diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-25 00:42:23 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-06-25 00:42:23 +0200 |
commit | cc731f47324cf58c899b242e34d661b651d3acef (patch) | |
tree | a096e4563ff09b208ff4697635baab2ec85395b4 /src/audio | |
parent | CReplay::StorePedAnimation (diff) | |
download | re3-cc731f47324cf58c899b242e34d661b651d3acef.tar re3-cc731f47324cf58c899b242e34d661b651d3acef.tar.gz re3-cc731f47324cf58c899b242e34d661b651d3acef.tar.bz2 re3-cc731f47324cf58c899b242e34d661b651d3acef.tar.lz re3-cc731f47324cf58c899b242e34d661b651d3acef.tar.xz re3-cc731f47324cf58c899b242e34d661b651d3acef.tar.zst re3-cc731f47324cf58c899b242e34d661b651d3acef.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/DMAudio.cpp | 7 | ||||
-rw-r--r-- | src/audio/DMAudio.h | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp index c320ea94..1a1e47ed 100644 --- a/src/audio/DMAudio.cpp +++ b/src/audio/DMAudio.cpp @@ -18,3 +18,10 @@ WRAPPER void cDMAudio::ChangeMusicMode(uint8 mode) { EAXJMP(0x57CCF0); } WRAPPER void cDMAudio::PlayFrontEndSound(uint32, uint32) { EAXJMP(0x57CC20); } WRAPPER void cDMAudio::PlayOneShot(int, uint16, float) { EAXJMP(0x57C840); } + +WRAPPER int32 cDMAudio::GetRadioInCar() { EAXJMP(0x57CE40); } +WRAPPER void cDMAudio::SetEffectsFadeVol(uint8) { EAXJMP(0x57C8F0); } +WRAPPER void cDMAudio::SetMusicFadeVol(uint8) { EAXJMP(0x57C920); } +WRAPPER int32 cDMAudio::CreateEntity(int, void*) { EAXJMP(0x57C7C0); } +WRAPPER void cDMAudio::SetEntityStatus(int32, int8) { EAXJMP(0x57C810); } +WRAPPER void cDMAudio::SetRadioInCar(int32) { EAXJMP(0x57CE60); }
\ No newline at end of file diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h index 3ebeaad8..7a3d1477 100644 --- a/src/audio/DMAudio.h +++ b/src/audio/DMAudio.h @@ -189,5 +189,11 @@ public: void ChangeMusicMode(uint8 mode); void PlayFrontEndSound(uint32, uint32); void PlayOneShot(int, uint16, float); + int32 GetRadioInCar(void); + void SetEffectsFadeVol(uint8); + void SetMusicFadeVol(uint8); + int32 CreateEntity(int, void*); + void SetEntityStatus(int32, int8); + void SetRadioInCar(int32); }; extern cDMAudio &DMAudio; |