summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-09-13 02:10:14 +0200
committerGitHub <noreply@github.com>2020-09-13 02:10:14 +0200
commit25a22cc6f25c01c7fc777bc41f632e6237ac8426 (patch)
tree4323944c27801c403fcea94a4fee9913570b172e /src/audio/AudioManager.h
parentMerge pull request #701 from erorcun/miami (diff)
parentAdd missing file (diff)
downloadre3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.tar
re3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.tar.gz
re3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.tar.bz2
re3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.tar.lz
re3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.tar.xz
re3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.tar.zst
re3-25a22cc6f25c01c7fc777bc41f632e6237ac8426.zip
Diffstat (limited to 'src/audio/AudioManager.h')
-rw-r--r--src/audio/AudioManager.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index b34dbed0..f07a801e 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -196,9 +196,9 @@ public:
cAudioScriptObjectManager m_sAudioScriptObjectManager;
// miami
- uint8 field_4B30;
- uint8 m_bPlayerMood;
- uint32 field_4B34;
+ uint8 m_bIsPlayerShutUp;
+ uint8 m_nPlayerMood;
+ uint32 m_nPlayerMoodTimer;
uint8 field_rest[4];
uint8 field_4B3C;
@@ -269,6 +269,7 @@ public:
char *Get3DProviderName(uint8 id) const;
uint8 GetCDAudioDriveLetter() const;
int8 GetCurrent3DProviderIndex() const;
+ int8 AutoDetect3DProviders() const;
float GetCollisionLoopingRatio(uint32 a, uint32 b, float c) const; // not used
float GetCollisionOneShotRatio(int32 a, float b) const;
float GetCollisionRatio(float a, float b, float c, float d) const;
@@ -386,6 +387,7 @@ public:
void SetDynamicAcousticModelingStatus(uint8 status);
void SetEffectsFadeVol(uint8 volume) const;
void SetEffectsMasterVolume(uint8 volume) const;
+ void SetMP3BoostVolume(uint8 volume) const;
void SetEntityStatus(int32 id, uint8 status);
uint32 SetLoopingCollisionRequestedSfxFreqAndGetVol(const cAudioCollision &audioCollision);
void SetMissionAudioLocation(uint8 slot, float x, float y, float z);
@@ -414,6 +416,10 @@ public:
bool UsesSiren(int32 model) const;
bool UsesSirenSwitching(int32 model) const;
+ CVehicle *FindVehicleOfPlayer();
+ void SetPedTalkingStatus(CPed *ped, uint8 status);
+ void SetPlayersMood(uint8 mood, int32 time);
+
#ifdef GTA_PC
// only used in pc
void AdjustSamplesVolume();