diff options
author | aap <aap@papnet.eu> | 2019-06-21 11:15:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-21 11:15:08 +0200 |
commit | 3271467976b30edb0eba2bb0d43d47c0a7f38c86 (patch) | |
tree | 54ce20b6dbdb56a0c7fff067b93ae00278782dc4 /src/audio | |
parent | added some World defines (diff) | |
parent | Fix throwable weapons (diff) | |
download | re3-3271467976b30edb0eba2bb0d43d47c0a7f38c86.tar re3-3271467976b30edb0eba2bb0d43d47c0a7f38c86.tar.gz re3-3271467976b30edb0eba2bb0d43d47c0a7f38c86.tar.bz2 re3-3271467976b30edb0eba2bb0d43d47c0a7f38c86.tar.lz re3-3271467976b30edb0eba2bb0d43d47c0a7f38c86.tar.xz re3-3271467976b30edb0eba2bb0d43d47c0a7f38c86.tar.zst re3-3271467976b30edb0eba2bb0d43d47c0a7f38c86.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/DMAudio.cpp | 1 | ||||
-rw-r--r-- | src/audio/DMAudio.h | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp index 7f74fd8a..c320ea94 100644 --- a/src/audio/DMAudio.cpp +++ b/src/audio/DMAudio.cpp @@ -17,3 +17,4 @@ WRAPPER bool cDMAudio::CheckForAnAudioFileOnCD() { EAXJMP(0x57CA70); } 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); } diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h index 9006d248..3ebeaad8 100644 --- a/src/audio/DMAudio.h +++ b/src/audio/DMAudio.h @@ -51,9 +51,9 @@ enum eSound SOUND_WEAPON_BAT_ATTACK = 46, SOUND_WEAPON_SHOT_FIRED = 47, SOUND_WEAPON_RELOAD = 48, - SOUND_31 = 49, - SOUND_32 = 50, - SOUND_33 = 51, + SOUND_WEAPON_AK47_BULLET_ECHO = 49, + SOUND_WEAPON_UZI_BULLET_ECHO = 50, + SOUND_WEAPON_M16_BULLET_ECHO = 51, SOUND_WEAPON_FLAMETHROWER_FIRE = 52, SOUND_WEAPON_SNIPER_SHOT_NO_ZOOM = 53, SOUND_WEAPON_ROCKET_SHOT_NO_ZOOM = 54, @@ -188,5 +188,6 @@ public: bool CheckForAnAudioFileOnCD(void); void ChangeMusicMode(uint8 mode); void PlayFrontEndSound(uint32, uint32); + void PlayOneShot(int, uint16, float); }; extern cDMAudio &DMAudio; |