diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-29 08:42:32 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-29 08:42:32 +0200 |
commit | 9a7b469f4e7249ff0c0ecd72b2c28036d71e599d (patch) | |
tree | 842e080713ec429a2169223b8cb0ec01b26ad3e5 /src/audio/AudioManager.h | |
parent | fix (diff) | |
download | re3-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.h | 11 |
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 ¶ms); + bool8 ProcessCarHeli(cVehicleParams ¶ms); void ProcessRainOnVehicle(cVehicleParams ¶ms); bool8 ProcessReverseGear(cVehicleParams ¶ms); void ProcessModelHeliVehicle(cVehicleParams ¶ms); void ProcessModelVehicle(cVehicleParams ¶ms); - void ProcessVehicleFlatTyre(cVehicleParams ¶ms); + bool8 ProcessVehicleFlatTyre(cVehicleParams ¶ms); bool8 ProcessVehicleRoadNoise(cVehicleParams ¶ms); bool8 ProcessWetRoadNoise(cVehicleParams ¶ms); bool8 ProcessVehicleEngine(cVehicleParams ¶ms); @@ -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, +}; |