summaryrefslogtreecommitdiff
path: root/src/audio/AudioCollision.cpp
AgeCommit message (Collapse)Author
2021-08-29Audio: fixing bugs, fixing types, making code more accurate to originalSergeanur
2021-08-25Audio: refactoring, type fixes, renaming cAudioManager fieldsSergeanur
2021-08-20Audio refactoring:Sergeanur
* renamed tSound fields, added descriptions for each field * getting rid of term 'intensity' in favour of 'max distance' * renamed two cAudioManager fields * fix volume not being reduced for stopping sounds that are looped * reverse a few PS2 bits
2021-08-17Add AUDIO_REFLECTIONS define, fix a bunch of types, fix heli chatter intensitySergeanur
2021-08-15Fix cAudioManager::ProcessVehicleEngine return type, document PS2 changes, ↵Sergeanur
rename Sound Intensity
2021-08-12Put more things under ifdefSergeanur
2021-07-27cAudioManager::GetCollisionOneShotRatio cleanupSergeanur
2021-07-26Audio changes:Sergeanur
- Reorder AudioCollision.cpp functions into original order - Add missing cAudioCollision::Reset() - Move cAudioCollision ctor into .h (like original) - Fix argument types for ped comment functions and more - Fix wrong names of ped comment functions - Fix incorrect ped comments - Remove getters - Reorder declarations of cAudioManager - Wrap PC only functions around ifdef - Add cAudioManager methods from PS2 and mobile
2021-06-24Add macros to set sample loop offsetsSergeanur
2021-06-24Use bool8 in audio codeSergeanur
2020-09-19Renaming audio enum entries to something more like originalSergeanur
2020-05-26eSurfaceTypeaap
2020-05-07Fix looping collision soundSergeanur
2020-05-07Fix GetDistanceSquaredSergeanur
2020-05-07Fixed arguments for sound collisionsSergeanur
2020-04-28Changing prefixes for some audio fieldsSergeanur
2020-04-20Try to build with mingwFilip Gawin
2020-04-17Remove patchesSergeanur
2020-04-14Added missing audio ctorsSergeanur
2020-04-12Cleanup audio codeFilip Gawin
2020-04-09normalized line endings to LFaap
2020-04-07Cleanup audiocode and fix for ComputeDopplerEffectedFrequencyFilip Gawin
2020-03-22Remove all constexprFilip Gawin
2020-03-22Cleanup audio code + fixes for reviewFilip Gawin
2020-02-02Audio, use of enums and true/falseSergeanur
2020-01-25audio stuffSergeanur
Collision audio and police radio stuff moved to a separate cpp's like in the original code cPoliceRadioQueue added, code refactored correspondingly cAudioManager::ServiceCollisions reversed PlayOneShotScriptObject reversed cAudioScriptObject moved to AudioScriptObject.cpp Fixed use of numbers on non-integer types (bools, pointers) enum is now used for ped audio calculation Added fixes for vehicle description in the police radio (missing vehicles and wrong colors)