summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioCollision.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-08-29Audio: fixing bugs, fixing types, making code more accurate to originalSergeanur1-12/+10
2021-08-25Audio: refactoring, type fixes, renaming cAudioManager fieldsSergeanur1-1/+1
2021-08-20Audio refactoring:Sergeanur1-9/+9
* 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 intensitySergeanur1-4/+4
2021-08-15Fix cAudioManager::ProcessVehicleEngine return type, document PS2 changes, rename Sound IntensitySergeanur1-2/+2
2021-08-12Put more things under ifdefSergeanur1-2/+2
2021-07-27cAudioManager::GetCollisionOneShotRatio cleanupSergeanur1-9/+10
2021-07-26Audio changes:Sergeanur1-214/+195
- 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 offsetsSergeanur1-6/+2
2021-06-24Use bool8 in audio codeSergeanur1-13/+13
2020-09-19Renaming audio enum entries to something more like originalSergeanur1-2/+2
2020-05-26eSurfaceTypeaap1-37/+37
2020-05-07Fix looping collision soundSergeanur1-8/+8
2020-05-07Fix GetDistanceSquaredSergeanur1-1/+1
2020-05-07Fixed arguments for sound collisionsSergeanur1-54/+71
2020-04-28Changing prefixes for some audio fieldsSergeanur1-9/+9
2020-04-20Try to build with mingwFilip Gawin1-1/+1
2020-04-17Remove patchesSergeanur1-12/+1
2020-04-14Added missing audio ctorsSergeanur1-0/+16
2020-04-12Cleanup audio codeFilip Gawin1-4/+4
2020-04-09normalized line endings to LFaap1-403/+403
2020-04-07Cleanup audiocode and fix for ComputeDopplerEffectedFrequencyFilip Gawin1-9/+9
2020-03-22Remove all constexprFilip Gawin1-1/+1
2020-03-22Cleanup audio code + fixes for reviewFilip Gawin1-9/+13
2020-02-02Audio, use of enums and true/falseSergeanur1-10/+10
2020-01-25audio stuffSergeanur1-0/+399
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)