2019-05-18 12:39:39 +02:00
|
|
|
#include "common.h"
|
|
|
|
#include "patcher.h"
|
|
|
|
#include "DMAudio.h"
|
|
|
|
|
2019-05-19 21:28:10 +02:00
|
|
|
cDMAudio &DMAudio = *(cDMAudio*)0x95CDBE;
|
|
|
|
|
2019-06-02 05:00:38 +02:00
|
|
|
WRAPPER void cDMAudio::Terminate(void) { EAXJMP(0x57C780); }
|
2019-05-31 19:02:26 +02:00
|
|
|
WRAPPER void cDMAudio::ReleaseDigitalHandle(void) { EAXJMP(0x57CA10); }
|
|
|
|
WRAPPER void cDMAudio::ReacquireDigitalHandle(void) { EAXJMP(0x57CA30); }
|
|
|
|
|
2019-05-31 11:44:43 +02:00
|
|
|
WRAPPER void cDMAudio::Service(void) { EAXJMP(0x57C7A0); }
|
2019-05-19 21:28:10 +02:00
|
|
|
WRAPPER void cDMAudio::ReportCollision(CEntity *A, CEntity *B, uint8 surfA, uint8 surfB, float impulse, float speed) { EAXJMP(0x57CBE0); }
|
2019-06-17 00:16:38 +02:00
|
|
|
WRAPPER void cDMAudio::ResetTimers(uint32 timerval) { EAXJMP(0x57CCD0); }
|
|
|
|
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); }
|
2019-06-07 22:31:03 +02:00
|
|
|
|
|
|
|
WRAPPER void cDMAudio::PlayFrontEndSound(uint32, uint32) { EAXJMP(0x57CC20); }
|
2019-06-20 13:22:44 +02:00
|
|
|
WRAPPER void cDMAudio::PlayOneShot(int, uint16, float) { EAXJMP(0x57C840); }
|
2019-06-25 00:42:23 +02:00
|
|
|
|
2019-06-26 22:47:23 +02:00
|
|
|
|
2019-06-25 00:42:23 +02:00
|
|
|
WRAPPER int32 cDMAudio::GetRadioInCar() { EAXJMP(0x57CE40); }
|
2019-06-26 22:47:23 +02:00
|
|
|
WRAPPER uint8 cDMAudio::IsMP3RadioChannelAvailable() { EAXJMP(0x57C9F0); }
|
2019-06-25 00:42:23 +02:00
|
|
|
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); }
|