summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-27 23:42:18 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-27 23:42:18 +0200
commit029e315f0a73c6fc8a07d4adcc823239fe0ae067 (patch)
treea7ab894f80ab5fe7da699732475a7c78ca693d6f /src/audio/AudioManager.h
parentMerge branch 'miami' into lcs (diff)
parentAudioLogic type fixes and reordering (before peds) (diff)
downloadre3-029e315f0a73c6fc8a07d4adcc823239fe0ae067.tar
re3-029e315f0a73c6fc8a07d4adcc823239fe0ae067.tar.gz
re3-029e315f0a73c6fc8a07d4adcc823239fe0ae067.tar.bz2
re3-029e315f0a73c6fc8a07d4adcc823239fe0ae067.tar.lz
re3-029e315f0a73c6fc8a07d4adcc823239fe0ae067.tar.xz
re3-029e315f0a73c6fc8a07d4adcc823239fe0ae067.tar.zst
re3-029e315f0a73c6fc8a07d4adcc823239fe0ae067.zip
Diffstat (limited to 'src/audio/AudioManager.h')
-rw-r--r--src/audio/AudioManager.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index 04144b7e..480f39f9 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -260,7 +260,7 @@ public:
// "Should" be in alphabetic order, except "getXTalkSfx"
void AddDetailsToRequestedOrderList(uint8 sample); // inlined in vc
- void AddPlayerCarSample(uint8 emittingVolume, int32 freq, uint32 sample, uint8 bank, uint8 counter, bool8 notLooping);
+ void AddPlayerCarSample(uint8 emittingVolume, uint32 freq, uint32 sample, uint8 bank, uint8 counter, bool8 notLooping);
void AddReflectionsToRequestedQueue();
void AddReleasingSounds();
void AddSampleToRequestedQueue();
@@ -390,8 +390,8 @@ public:
float GetCollisionLoopingRatio(uint32 a, uint32 b, float c); // not used
float GetCollisionOneShotRatio(int32 a, float b);
float GetCollisionRatio(float a, float b, float c, float d); // inlined in vc
- float GetDistanceSquared(const CVector &v) const; // inlined in vc
- int32 GetJumboTaxiFreq() const; // inlined in vc
+ float GetDistanceSquared(const CVector &v); // inlined in vc
+ int32 GetJumboTaxiFreq(); // inlined in vc
uint8 GetMissionAudioLoadingStatus(uint8 slot) const;
int8 GetMissionScriptPoliceAudioPlayingStatus();
uint8 GetNum3DProvidersAvailable();
@@ -401,7 +401,7 @@ public:
float velocityChange);
float GetVehicleNonDriveWheelSkidValue(CVehicle *veh, tWheelState wheelState, cTransmission *transmission, float velocityChange);
- bool8 HasAirBrakes(int32 model) const;
+ bool8 HasAirBrakes(uint32 model);
void Initialise();
void InitialisePoliceRadio();
@@ -418,11 +418,11 @@ public:
void PlayLoadedMissionAudio(uint8 slot);
void PlayOneShot(int32 index, uint16 sound, float vol);
void PlaySuspectLastSeen(float x, float y, float z);
- void PlayerJustGotInCar() const;
- void PlayerJustLeftCar() const;
+ void PlayerJustGotInCar();
+ void PlayerJustLeftCar();
void PostInitialiseGameSpecificSetup();
void PostTerminateGameSpecificShutdown();
- void PreInitialiseGameSpecificSetup() const;
+ void PreInitialiseGameSpecificSetup();
void PreloadMissionAudio(uint8 slot, Const char *name);
void PreTerminateGameSpecificShutdown();
/// processX - main logic of adding new sounds
@@ -468,7 +468,7 @@ public:
void ProcessPlayersVehicleEngine(cVehicleParams& params, CVehicle* veh);
void ProcessProjectiles();
void ProcessRainOnVehicle(cVehicleParams& params);
- void ProcessReverb() const;
+ void ProcessReverb();
bool8 ProcessReverseGear(cVehicleParams& params);
void ProcessScriptObject(int32 id);
void ProcessSpecial();
@@ -534,9 +534,9 @@ public:
void UpdateGasPedalAudio(CVehicle *veh, int vehType);
void UpdateReflections();
- bool8 UsesReverseWarning(int32 model) const;
- bool8 UsesSiren(cVehicleParams &params) const;
- bool8 UsesSirenSwitching(cVehicleParams &params) const;
+ bool8 UsesReverseWarning(uint32 model);
+ bool8 UsesSiren(cVehicleParams &params);
+ bool8 UsesSirenSwitching(cVehicleParams &params);
CVehicle *FindVehicleOfPlayer();
void SetPedTalkingStatus(CPed *ped, bool8 status);