From cc731f47324cf58c899b242e34d661b651d3acef Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Tue, 25 Jun 2019 01:42:23 +0300 Subject: More replay stuff --- src/audio/DMAudio.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/audio/DMAudio.cpp') 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 -- cgit v1.2.3 From fa132bb773394764feb453b08c4785364f19adf5 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Wed, 26 Jun 2019 23:47:23 +0300 Subject: Fixed merge errors --- src/audio/DMAudio.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/audio/DMAudio.cpp') diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp index 1a1e47ed..0bed8d4d 100644 --- a/src/audio/DMAudio.cpp +++ b/src/audio/DMAudio.cpp @@ -19,7 +19,9 @@ 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 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); } -- cgit v1.2.3