summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-16 09:00:10 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-16 09:00:10 +0200
commitc7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66 (patch)
treebe74ff00397d85ecdec1ec65198fed0516b82935 /src/audio/AudioManager.h
parentFix CW build (diff)
downloadre3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.tar
re3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.tar.gz
re3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.tar.bz2
re3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.tar.lz
re3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.tar.xz
re3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.tar.zst
re3-c7e05c74b9b38c90bdb6d3c85c5ffc73bdf88f66.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioManager.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index 526df1f8..383644e0 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -27,10 +27,12 @@ public:
uint8 m_nEmittingVolume;
#endif
float m_fSpeedMultiplier;
- float m_fSoundIntensity;
+ float m_SoundIntensity;
bool8 m_bReleasingSoundFlag;
CVector m_vecPos;
- bool8 m_bReverbFlag;
+#ifndef GTA_PS2
+ bool8 m_bReverbFlag; // TODO: ifdef all the occurrences
+#endif
uint8 m_nLoopsRemaining;
bool8 m_bRequireReflection; // Used for oneshots
uint8 m_nOffset;
@@ -219,10 +221,8 @@ public:
tAudioEntity m_asAudioEntities[NUM_AUDIOENTITIES];
int32 m_anAudioEntityIndices[NUM_AUDIOENTITIES];
int32 m_nAudioEntitiesTotal;
-#ifdef GTA_PC
CVector m_avecReflectionsPos[NUM_AUDIO_REFLECTIONS];
float m_afReflectionsDistances[NUM_AUDIO_REFLECTIONS];
-#endif
cAudioScriptObjectManager m_sAudioScriptObjectManager;
// miami
@@ -301,10 +301,8 @@ public:
void InterrogateAudioEntities(); // inlined
void AddSampleToRequestedQueue();
void AddDetailsToRequestedOrderList(uint8 sample); // inlined in vc
-#ifdef GTA_PC
void AddReflectionsToRequestedQueue();
void UpdateReflections();
-#endif
void AddReleasingSounds();
void ProcessActiveQueues();
void ClearRequestedQueue(); // inlined in vc
@@ -341,7 +339,7 @@ public:
void ProcessVehicleFlatTyre(cVehicleParams &params);
bool8 ProcessVehicleRoadNoise(cVehicleParams &params);
bool8 ProcessWetRoadNoise(cVehicleParams &params);
- void ProcessVehicleEngine(cVehicleParams &params);
+ bool8 ProcessVehicleEngine(cVehicleParams &params);
void UpdateGasPedalAudio(CVehicle *veh, int vehType);
void PlayerJustGotInCar();
void PlayerJustLeftCar();