diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-10-25 09:42:24 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-10-25 09:42:24 +0200 |
commit | 93b318cfdf75b8ca33ee70cbe1afeee851fce27e (patch) | |
tree | 08bb69cfaeaa18d94cc5e1a046947375b632911f /src/audio/DMAudio.h | |
parent | de09a80a357dbfdba2a5272c2181b6c5726f4c79 (diff) |
DMAudio fixes
Diffstat (limited to 'src/audio/DMAudio.h')
-rw-r--r-- | src/audio/DMAudio.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h index ef62294e..2c10043f 100644 --- a/src/audio/DMAudio.h +++ b/src/audio/DMAudio.h @@ -69,15 +69,15 @@ public: void ReportCollision(CEntity *entityA, CEntity *entityB, uint8 surfaceTypeA, uint8 surfaceTypeB, float collisionPower, float velocity); void PlayFrontEndSound(uint16 frontend, uint32 volume); - void PlayRadioAnnouncement(uint8 announcement); - void PlayFrontEndTrack(uint8 track, uint8 frontendFlag); + void PlayRadioAnnouncement(uint32 announcement); + void PlayFrontEndTrack(uint32 track, uint8 frontendFlag); void StopFrontEndTrack(void); void ResetTimers(uint32 time); void ChangeMusicMode(uint8 mode); - void PreloadCutSceneMusic(uint8 track); + void PreloadCutSceneMusic(uint32 track); void PlayPreloadedCutSceneMusic(void); void StopCutSceneMusic(void); @@ -90,14 +90,14 @@ public: uint8 GetRadioInCar(void); void SetRadioInCar(uint32 radio); - void SetRadioChannel(int8 radio, int32 pos); + void SetRadioChannel(uint32 radio, int32 pos); void SetStartingTrackPositions(uint8 isStartGame); float *GetListenTimeArray(); uint32 GetFavouriteRadioStation(); int32 GetRadioPosition(uint32 station); void SetPedTalkingStatus(class CPed *ped, uint8 status); - void SetPlayersMood(uint8 mood, int32 time); + void SetPlayersMood(uint8 mood, uint32 time); void ShutUpPlayerTalking(uint8 state); }; extern cDMAudio DMAudio; |