summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioManager.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-08-29 08:42:32 +0200
committerSergeanur <s.anureev@yandex.ua>2021-08-29 08:42:32 +0200
commit9a7b469f4e7249ff0c0ecd72b2c28036d71e599d (patch)
tree842e080713ec429a2169223b8cb0ec01b26ad3e5 /src/audio/AudioManager.h
parentfix (diff)
downloadre3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.tar
re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.tar.gz
re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.tar.bz2
re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.tar.lz
re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.tar.xz
re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.tar.zst
re3-9a7b469f4e7249ff0c0ecd72b2c28036d71e599d.zip
Diffstat (limited to 'src/audio/AudioManager.h')
-rw-r--r--src/audio/AudioManager.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/audio/AudioManager.h b/src/audio/AudioManager.h
index 63eb66b7..b537c37e 100644
--- a/src/audio/AudioManager.h
+++ b/src/audio/AudioManager.h
@@ -372,12 +372,12 @@ public:
// vehicles
void ProcessVehicle(CVehicle *vehicle);
- void ProcessCarHeli(cVehicleParams &params);
+ bool8 ProcessCarHeli(cVehicleParams &params);
void ProcessRainOnVehicle(cVehicleParams &params);
bool8 ProcessReverseGear(cVehicleParams &params);
void ProcessModelHeliVehicle(cVehicleParams &params);
void ProcessModelVehicle(cVehicleParams &params);
- void ProcessVehicleFlatTyre(cVehicleParams &params);
+ bool8 ProcessVehicleFlatTyre(cVehicleParams &params);
bool8 ProcessVehicleRoadNoise(cVehicleParams &params);
bool8 ProcessWetRoadNoise(cVehicleParams &params);
bool8 ProcessVehicleEngine(cVehicleParams &params);
@@ -638,3 +638,10 @@ static_assert(sizeof(cAudioManager) == 0x5558, "cAudioManager: error");
#endif
extern cAudioManager AudioManager;
+
+enum
+{
+ PED_COMMENT_VOLUME = 127,
+ PED_COMMENT_VOLUME_BEHIND_WALL = 31,
+ COLLISION_MAX_DIST = 60,
+};