diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2019-06-07 22:31:03 +0200 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2019-06-12 01:23:49 +0200 |
commit | ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f (patch) | |
tree | 366f56253d34262c47a5ac002ea5ed4d05aa7783 /src/audio | |
parent | Add GetTranslatedName to CZone (diff) | |
download | re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.tar re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.tar.gz re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.tar.bz2 re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.tar.lz re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.tar.xz re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.tar.zst re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/DMAudio.cpp | 2 | ||||
-rw-r--r-- | src/audio/DMAudio.h | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp index d7b334c6..dcfdc81b 100644 --- a/src/audio/DMAudio.cpp +++ b/src/audio/DMAudio.cpp @@ -15,3 +15,5 @@ WRAPPER Bool cDMAudio::IsAudioInitialised() { EAXJMP(0x57CAB0); } WRAPPER Char cDMAudio::GetCDAudioDriveLetter() { EAXJMP(0x57CA90); } WRAPPER Bool cDMAudio::CheckForAnAudioFileOnCD() { EAXJMP(0x57CA70); } WRAPPER void cDMAudio::ChangeMusicMode(UInt8 mode) { EAXJMP(0x57CCF0); } + +WRAPPER void cDMAudio::PlayFrontEndSound(uint32, uint32) { EAXJMP(0x57CC20); } diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h index ee052dfc..91a3ff0f 100644 --- a/src/audio/DMAudio.h +++ b/src/audio/DMAudio.h @@ -9,11 +9,13 @@ public: void ReleaseDigitalHandle(void); void ReacquireDigitalHandle(void); void Service(void); - void ReportCollision(CEntity *A, CEntity *B, uint8 surfA, uint8 surfB, float impulse, float speed); - void ResetTimers(UInt32 timerval); + void ReportCollision(CEntity* A, CEntity* B, uint8 surfA, uint8 surfB, + float impulse, float speed); + void ResetTimers(UInt32 timerval); Bool IsAudioInitialised(void); Char GetCDAudioDriveLetter(void); Bool CheckForAnAudioFileOnCD(void); void ChangeMusicMode(UInt8 mode); + void PlayFrontEndSound(uint32, uint32); }; -extern cDMAudio &DMAudio; +extern cDMAudio& DMAudio; |