summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-06-20 13:22:44 +0200
committereray orçunus <erayorcunus@gmail.com>2019-06-20 16:31:14 +0200
commit7cfff963f792d37692c7c5355bffbe776dcd3639 (patch)
tree56c846811df4b118fe3246db09b5848b451af297 /src/audio
parentMerge pull request #25 from gennariarmando/master (diff)
downloadre3-7cfff963f792d37692c7c5355bffbe776dcd3639.tar
re3-7cfff963f792d37692c7c5355bffbe776dcd3639.tar.gz
re3-7cfff963f792d37692c7c5355bffbe776dcd3639.tar.bz2
re3-7cfff963f792d37692c7c5355bffbe776dcd3639.tar.lz
re3-7cfff963f792d37692c7c5355bffbe776dcd3639.tar.xz
re3-7cfff963f792d37692c7c5355bffbe776dcd3639.tar.zst
re3-7cfff963f792d37692c7c5355bffbe776dcd3639.zip
Diffstat (limited to '')
-rw-r--r--src/audio/DMAudio.cpp1
-rw-r--r--src/audio/DMAudio.h7
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;