summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-07-18 23:49:21 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-07-19 16:25:16 +0200
commit40b3ff31bb7fc0a38cfc29350cf1683376bfe4f7 (patch)
tree5a13e1fe3d6d6fd459284d945d9be891a8489bb6 /src/audio/AudioManager.h
parentmore audio process (diff)
downloadre3-40b3ff31bb7fc0a38cfc29350cf1683376bfe4f7.tar
re3-40b3ff31bb7fc0a38cfc29350cf1683376bfe4f7.tar.gz
re3-40b3ff31bb7fc0a38cfc29350cf1683376bfe4f7.tar.bz2
re3-40b3ff31bb7fc0a38cfc29350cf1683376bfe4f7.tar.lz
re3-40b3ff31bb7fc0a38cfc29350cf1683376bfe4f7.tar.xz
re3-40b3ff31bb7fc0a38cfc29350cf1683376bfe4f7.tar.zst
re3-40b3ff31bb7fc0a38cfc29350cf1683376bfe4f7.zip
Diffstat (limited to 'src/audio/AudioManager.h')
-rw-r--r--src/audio/AudioManager.h24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index 0c26fa0e..799526a3 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -171,6 +171,7 @@ static_assert(sizeof(cMissionAudio) == 0x20, "cMissionAudio: error");
class cVehicleParams;
class CPlane;
class CVehicle;
+class CPed;
struct cAudioScriptObject {
int16 m_wSound;
@@ -293,9 +294,10 @@ public:
uint8 Get3DProviderName(uint8 id);
- bool SetupJumboFlySound(uint8); // todo
- bool SetupJumboTaxiSound(uint8); // todo
- bool SetupJumboWhineSound(uint8, int32); // todo
+ bool SetupJumboFlySound(uint8 emittingVol); /// ok
+ bool SetupJumboRumbleSound(uint8 emittingVol); /// ok
+ bool SetupJumboTaxiSound(uint8 vol); /// ok
+ bool SetupJumboWhineSound(uint8 emittingVol, int32 freq); /// ok
void PlayLoadedMissionAudio();
@@ -335,6 +337,8 @@ public:
void DoJumboVolOffset();
+ int32 GetPedCommentSfx(CPed *ped, int32 sound);
+
uint32 GetPlayerTalkSfx(int16 sound);
uint32 GetCopTalkSfx(int16 sound);
uint32 GetSwatTalkSfx(int16 sound);
@@ -436,11 +440,11 @@ public:
// bool ProcessHelicopter(void *); // todo requires CVehicle
void ProcessHomeScriptObject(uint8 sound); /// ok
void ProcessJumbo(cVehicleParams *); /// ok
- void ProcessJumboAccel(CPlane *); // todo
- void ProcessJumboDecel(CPlane *); // todo
+ void ProcessJumboAccel(CPlane *plane); /// ok
+ void ProcessJumboDecel(CPlane *plane); /// ok
void ProcessJumboFlying(); /// ok
- void ProcessJumboLanding(CPlane *); // todo
- void ProcessJumboTakeOff(CPlane *); // todo
+ void ProcessJumboLanding(CPlane *plane); /// ok
+ void ProcessJumboTakeOff(CPlane *plane); /// ok
void ProcessJumboTaxi(); /// ok
void ProcessLaunderetteScriptObject(uint8 sound); /// ok
void ProcessLoopingScriptObject(uint8 sound); /// ok
@@ -454,14 +458,14 @@ public:
void ProcessPlane(void *); // todo
// void ProcessPlayersVehicleEngine(void *, void *);
void ProcessPoliceCellBeatingScriptObject(uint8 sound); // todo
- void ProcessPornCinema(uint8 sound); // todo
+ void ProcessPornCinema(uint8 sound); /// ok
void ProcessProjectiles(); // todo
// void ProcessRainOnVehicle(void *);
// void ProcessReverb();
// bool ProcessReverseGear(void *);
- void ProcessSawMillScriptObject(uint8 sound); // todo
+ void ProcessSawMillScriptObject(uint8 sound); /// ok
void ProcessScriptObject(int32 id); // todo
- void ProcessShopScriptObject(uint8 sound); // todo
+ void ProcessShopScriptObject(uint8 sound); /// ok
void ProcessSpecial(); /// ok
// bool ProcessTrainNoise(void *);
void ProcessVehicle(CVehicle *); // todo