summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-06-26 23:24:45 +0200
committereray orçunus <erayorcunus@gmail.com>2019-06-26 23:24:45 +0200
commit15da9beff10f44abaa4015920df412bb8cdc7d4a (patch)
treecc4203c9266b450e393c179c8d528f71c5957f01 /src/audio
parentMerge branch 'master' of git://github.com/GTAmodding/re3 into erorcun (diff)
parentMerge pull request #48 from Nick007J/master (diff)
downloadre3-15da9beff10f44abaa4015920df412bb8cdc7d4a.tar
re3-15da9beff10f44abaa4015920df412bb8cdc7d4a.tar.gz
re3-15da9beff10f44abaa4015920df412bb8cdc7d4a.tar.bz2
re3-15da9beff10f44abaa4015920df412bb8cdc7d4a.tar.lz
re3-15da9beff10f44abaa4015920df412bb8cdc7d4a.tar.xz
re3-15da9beff10f44abaa4015920df412bb8cdc7d4a.tar.zst
re3-15da9beff10f44abaa4015920df412bb8cdc7d4a.zip
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/DMAudio.cpp11
-rw-r--r--src/audio/DMAudio.h9
2 files changed, 13 insertions, 7 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp
index bfa24ab0..0bed8d4d 100644
--- a/src/audio/DMAudio.cpp
+++ b/src/audio/DMAudio.cpp
@@ -18,9 +18,12 @@ 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 int cDMAudio::GetRadioInCar() { EAXJMP(0x57CE40); }
-WRAPPER uint8 cDMAudio::IsMP3RadioChannelAvailable() { EAXJMP(0x57C9F0); }
-WRAPPER void cDMAudio::SetEffectsFadeVol(int16) { EAXJMP(0x57C8F0); }
-WRAPPER void cDMAudio::SetMusicFadeVol(int16) { EAXJMP(0x57C920); }
+WRAPPER int32 cDMAudio::GetRadioInCar() { EAXJMP(0x57CE40); }
+WRAPPER uint8 cDMAudio::IsMP3RadioChannelAvailable() { EAXJMP(0x57C9F0); }
+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 bf9b65b9..6df2ceea 100644
--- a/src/audio/DMAudio.h
+++ b/src/audio/DMAudio.h
@@ -189,10 +189,13 @@ public:
void ChangeMusicMode(uint8 mode);
void PlayFrontEndSound(uint32, uint32);
void PlayOneShot(int, uint16, float);
- int GetRadioInCar();
+ int32 GetRadioInCar(void);
+ void SetEffectsFadeVol(uint8);
+ void SetMusicFadeVol(uint8);
+ int32 CreateEntity(int, void*);
+ void SetEntityStatus(int32, int8);
+ void SetRadioInCar(int32);
uint8 IsMP3RadioChannelAvailable();
- void SetEffectsFadeVol(int16);
- void SetMusicFadeVol(int16);
};
extern cDMAudio &DMAudio;