summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-28 09:36:18 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-28 09:36:18 +0200
commit81673ab304bbe0816785e95acd91c03c14674064 (patch)
tree50f9e2b018d1bd368f4e310c9284c305969c231b /src/audio/AudioManager.h
parentOne more type fix (diff)
downloadre3-81673ab304bbe0816785e95acd91c03c14674064.tar
re3-81673ab304bbe0816785e95acd91c03c14674064.tar.gz
re3-81673ab304bbe0816785e95acd91c03c14674064.tar.bz2
re3-81673ab304bbe0816785e95acd91c03c14674064.tar.lz
re3-81673ab304bbe0816785e95acd91c03c14674064.tar.xz
re3-81673ab304bbe0816785e95acd91c03c14674064.tar.zst
re3-81673ab304bbe0816785e95acd91c03c14674064.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioManager.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index b836f221..5757a873 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -267,7 +267,7 @@ public:
uint8 ComputeVolume(uint8 emittingVolume, float soundIntensity, float distance);
void TranslateEntity(Const CVector *v1, CVector *v2);
int32 ComputePan(float, CVector *);
- int32 ComputeDopplerEffectedFrequency(uint32 oldFreq, float position1, float position2, float speedMultiplier); // inlined on PS2
+ uint32 ComputeDopplerEffectedFrequency(uint32 oldFreq, float position1, float position2, float speedMultiplier); // inlined on PS2
int32 RandomDisplacement(uint32 seed);
void InterrogateAudioEntities(); // inlined on PS2
void AddSampleToRequestedQueue();
@@ -300,14 +300,14 @@ public:
void ProcessSpecial();
void ProcessEntity(int32 sound);
void ProcessPhysical(int32 id);
+
+ // vehicles
void ProcessVehicle(CVehicle *vehicle);
void ProcessRainOnVehicle(cVehicleParams &params);
bool8 ProcessReverseGear(cVehicleParams &params);
void ProcessModelCarEngine(cVehicleParams &params);
bool8 ProcessVehicleRoadNoise(cVehicleParams &params);
bool8 ProcessWetRoadNoise(cVehicleParams &params);
-
- // vehicles
void ProcessVehicleEngine(cVehicleParams &params);
void UpdateGasPedalAudio(CAutomobile *automobile); // inlined on PS2
void PlayerJustGotInCar();
@@ -317,7 +317,7 @@ public:
void ProcessPlayersVehicleEngine(cVehicleParams &params, CAutomobile *automobile);
bool8 ProcessVehicleSkidding(cVehicleParams &params);
float GetVehicleDriveWheelSkidValue(uint8 wheel, CAutomobile *automobile, cTransmission *transmission, float velocityChange);
- float GetVehicleNonDriveWheelSkidValue(uint8 wheel, CAutomobile *automobile, cTransmission *transmission, float velocityChange); // was in .h on PS2
+ float GetVehicleNonDriveWheelSkidValue(uint8 wheel, CAutomobile *automobile, cTransmission *transmission, float velocityChange); // inlined on PS2
void ProcessVehicleHorn(cVehicleParams &params);
bool8 UsesSiren(uint32 model); // inlined on PS2
bool8 UsesSirenSwitching(uint32 model); // inlined on PS2