summaryrefslogtreecommitdiffstats
path: root/src/audio/AudioLogic.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2021-07-26Fix bike kick soundSergeanur1-0/+1
2021-07-25Small fixSergeanur1-1/+1
2021-07-22Fix Predator shooting soundSergeanur1-1/+1
2021-06-30Fix unused codeSergeanur1-1/+3
2021-06-28rename clamp macro to Clamp to fix compilation with g++11 (and clamp2 for consistency sake)withmorten1-11/+11
2021-06-24Fix use of enum in ped comment banks switchSergeanur1-5/+5
2021-06-24Add macros to set sample loop offsetsSergeanur1-182/+93
2021-06-24Fix cAudioManager::ProcessCarHeliSergeanur1-6/+13
2021-06-24Fix bullet trace sound offsetSergeanur1-6/+7
2021-06-24Increase the number of audio channels to PS2 count and some small audio fixesSergeanur1-37/+39
2021-06-24Use bool8 in audio codeSergeanur1-727/+727
2021-05-12Complete sfx enum, rename some sounds + fixes of missing ped commentsSergeanur1-1155/+1228
2021-05-10fixSergeanur1-1/+1
2021-02-11Fix crash when falling from bike while shootingSergeanur1-0/+2
2021-02-01Overhaul MusicManager - fix radio bugs, scroll to prev station, radio off texterorcun1-6/+6
2021-01-24make building with Codewarrior 7 possiblewithmorten1-3/+3
2021-01-23Includes overhaul, fix some compiler warningserorcun1-1/+1
2021-01-22m_nWantedLevel -> GetWantedLevel()withmorten1-3/+3
2021-01-15Fix Jumbo Sound reseting when walkingSergeanur1-0/+1
2021-01-05Fix chainsaw soundSergeanur1-2/+2
2021-01-04Audio fixesSergeanur1-100/+101
2021-01-03Fix typo in ProcessMissionAudioSlot.TheOfficialFloW1-2/+2
2021-01-03Fix nFramesForPretendPlaying.TheOfficialFloW1-1/+1
2021-01-01Fix wrong sound when bumping pedsSergeanur1-2/+2
2020-12-27Fix drive-by machine gun soundSergeanur1-2/+39
2020-12-26Fix weapon pickup soundSergeanur1-0/+2
2020-12-25cVehicleParams ctorSergeanur1-4/+3
2020-12-25Use intensity in ProcessBoatEngineSergeanur1-4/+4
2020-12-25cAudioManager::ProcessBoatEngineSergeanur1-105/+117
2020-12-25cAudioManager::ProcessBoatEngine fixesSergeanur1-4/+4
2020-12-25cPedParams fixesSergeanur1-22/+13
2020-12-25cPedParams fixesSergeanur1-49/+26
2020-12-25cAudioManager::ProcessOneShotScriptObjectSergeanur1-78/+84
2020-12-25Fix cAudioManager::ProcessPedOneShots crashSergeanur1-1/+1
2020-12-25More audio enumsFilip Gawin1-17/+17
2020-12-25More type fixSergeanur1-2/+2
2020-12-25Small audio code fixSergeanur1-19/+3
2020-12-25Fix cAudioManager::ProcessSpecialSergeanur1-2/+1
2020-12-25Small type use fixesSergeanur1-10/+10
2020-12-25Small type use fixesSergeanur1-9/+9
2020-12-25Fix chainsaw sounds lolSergeanur1-6/+2
2020-12-25fixesFilip Gawin1-71/+68
2020-12-22More audioFilip Gawin1-128/+197
2020-12-07uint8 enums fixedwithmorten1-2/+2
2020-12-07int8 enums fixedwithmorten1-1/+1
2020-12-07int8 enums fixedwithmorten1-1/+1
2020-12-07uint8 enums fixedwithmorten1-2/+2
2020-12-01cAudioManager::ProcessPedOneShots + fixesSergeanur1-306/+594
2020-11-22More audio fixSergeanur1-27/+27
2020-11-22Audio fixesSergeanur1-210/+35
2020-11-11fixed top gearNikolay Korolev1-14/+13
2020-11-08easy way to safe few petasecondsRoman Masanin1-0/+8
2020-11-08to make Serge and _R4K_ happyRoman Masanin1-0/+18
2020-11-08marked stupied code(dotProduct and AudioEvents)Roman Masanin1-1/+16
2020-11-08return bad code, becouse no one knows what to do with itRoman Masanin1-2/+2
2020-11-08returned bad code, becouse no one knows what to do with itRoman Masanin1-3/+3
2020-11-08pointers to referencies tooRoman Masanin1-195/+195
2020-11-08pointers into referencies!Roman Masanin1-311/+311
2020-11-08fix for merge fixRoman Masanin1-2/+2
2020-11-08Pickups fixSergeanur1-1/+4
2020-11-07Ped comments fixesSergeanur1-1338/+1250
2020-11-07Fix cAudioManager::GetPhraseSergeanur1-398/+398
2020-11-06Sfx audio logicFilip Gawin1-112/+2666
2020-11-04FORMATRoman Masanin1-15/+15
2020-11-02fix serviceSoundEffects an cleanupRoman Masanin1-12/+2
2020-11-01some "optimizations". same like I did in VCRoman Masanin1-3/+5
2020-11-01mark codeRoman Masanin1-2/+2
2020-11-01changes in switch, and mark codeRoman Masanin1-2/+5
2020-10-26Fix build and use enum in ProcessPlayerMoodRoman Masanin1-10/+6
2020-10-25cleanup processVehicleOneShots, processVehicleX doneRoman Masanin1-3/+3
2020-10-25processVehicleOneShotsRoman Masanin1-58/+179
2020-10-25Finalize frontend sounds, player setup screenerorcun1-5/+5
2020-10-25skidingRoman Masanin1-17/+45
2020-10-25cAudioManager::ProcessFrontEnd doneSergeanur1-94/+146
2020-10-25DMAudio fixesSergeanur1-1/+1
2020-10-24fix merging errorsRoman Masanin1-10/+10
2020-10-24jumboRoman Masanin1-34/+28
2020-10-24firesRoman Masanin1-6/+30
2020-10-24model heliRoman Masanin1-16/+65
2020-10-23ScriptSoundsSergeanur1-4/+4
2020-10-18pedsRoman Masanin1-17/+65
2020-10-18Add missing breaks in AudioLogic.cppFilip Gawin1-52/+23
2020-10-17ProcessWaterCannon bug and refractoring (#773)Roman Masanin1-8/+20
2020-10-17mark original bugsRoman Masanin1-0/+12
2020-10-17fix audio bug and some refractoringRoman Masanin1-9/+9
2020-10-17fix bugsRoman Masanin1-11/+23
2020-10-17model cars and other audio stuffRoman Masanin1-97/+177
2020-10-17road noiseRoman Masanin1-69/+99
2020-10-16siren and hornRoman Masanin1-91/+111
2020-10-12sirenes and more marks for audio. also fix cAudioMrg sizeRoman Masanin1-21/+5
2020-10-12mark some audio stuff and fix frameCounterRoman Masanin1-19/+4
2020-10-05fix mistakesRoman Masanin1-1/+1
2020-10-05some audio and part of CExplosionRoman Masanin1-20/+19
2020-09-30Fix arg typesSergeanur1-2/+2
2020-09-28Fix arg typesSergeanur1-2/+2
2020-09-28reverse compareRoman Masanin1-3/+3
2020-09-28tiny style fixRoman Masanin1-13/+11
2020-09-27another clampRoman Masanin1-6/+6
2020-09-27correction of defects and another two audio functionsRoman Masanin1-46/+63
2020-09-27Use enums in aVehicleSettingsSergeanur1-122/+128
2020-09-27processEngineDamageRoman Masanin1-16/+17
2020-09-26return bridge, crane and fix structures in fluff.hRoman Masanin1-2/+16
2020-09-26small fixes and cleanupRoman Masanin1-51/+45
2020-09-26complete cleanup heli and flatTyreRoman Masanin1-231/+154
2020-09-26cleanup carHeliRoman Masanin1-143/+92
2020-09-26processVehicleOneShots for heli, and heli blade fixRoman Masanin1-1/+22
2020-09-25flat tyre and minimal refractoringRoman Masanin1-50/+137
2020-09-25safe before clean upRoman Masanin1-171/+176
2020-09-25fix deaddodoRoman Masanin1-9/+8
2020-09-25remove anther gotoRoman Masanin1-99/+105
2020-09-25removed some gotoRoman Masanin1-305/+304
2020-09-25processCarHeli half doneRoman Masanin1-14/+393
2020-09-22ProcessEscalators + some fixesRoman Masanin1-7/+53
2020-09-22rewisited:Roman Masanin1-42/+115
2020-09-21fix enum edditing effects for oal target and small improvementsRoman Masanin1-4/+5
2020-09-21cleanup processVehicleEngine and some fixesRoman Masanin1-207/+56
2020-09-21some style and bug fixes, updated sfx enum, and implemented processVehicleEngineRoman Masanin1-181/+407
2020-09-19Renaming audio enum entries to something more like originalSergeanur1-347/+347
2020-09-18just more cleanup...Roman Masanin1-55/+51
2020-09-18cleanup processVehicleRoman Masanin1-14/+6
2020-09-18cleanup processPlayerVehicleEngineRoman Masanin1-74/+46
2020-09-18fix conditions for processPlayerVehicleEngineRoman Masanin1-8/+7
2020-09-15revisit processVehicleRoman Masanin1-123/+140
2020-09-14finish work on ProcessPlayerVehicleEngine and cleanupRoman Masanin1-246/+348
2020-09-13vehicle audio(first part) and temp fix for openALRoman Masanin1-110/+271
2020-09-09player mood enumSergeanur1-3/+3
2020-09-09cMusicManager, cDMAudio, radio position save/load, a few commands implementedSergeanur1-0/+31
2020-08-20changed a sound enumaap1-56/+56
2020-08-14Stats(except displaying), PlayerInfo, marker fixeray orçunus1-1/+0
2020-07-22Remove hacky way of injecting PS2 matfx on RW 3.3, remove static patcherSergeanur1-1/+1
2020-07-18Fix another floatSergeanur1-1/+1
2020-07-18Fix some audio floatsSergeanur1-6/+6
2020-07-16Audio fixesSergeanur1-43/+40
2020-07-09VC fighting, Peds, many fixes including ghost bikeseray orçunus1-0/+2
2020-06-30Audio fixesSergeanur1-21/+15
2020-06-29Update AudioLogic.cppFire_Head1-3/+3
2020-06-17Ped, Weapon and fixeseray orçunus1-12/+12
2020-06-08fixesSergeanur1-2/+2
2020-06-08miamification of some audio structsSergeanur1-2/+21
2020-06-08Mission audio slotsSergeanur1-108/+196
2020-06-08IsMissionAudioSamplePlaying (from VC)Sergeanur1-1/+1
2020-06-06ps2 audio banksSergeanur1-161/+238
2020-06-05ProcessTrainAnnouncementsSergeanur1-3/+3
2020-06-04fixes, mostly from miamieray orçunus1-20/+19
2020-06-03Peds, eSound and PedState enum, fixeseray orçunus1-26/+27
2020-05-27Restore original logicSergeanur1-2/+2
2020-05-27Support of original mp3/wav/adfSergeanur1-52/+377
2020-05-26Very basic compatibility with original sfx.raw/sdtSergeanur1-1139/+106
2020-05-26eSurfaceTypeaap1-28/+28
2020-05-26eSurfaceTypeaap1-28/+28
2020-05-25Even more audio cleanupsSergeanur1-107/+104
2020-05-25Ped comments cleanupSergeanur1-43/+53
2020-05-25More audio cleanup and bugfixesSergeanur1-55/+44
2020-05-25Fix names of static variablesSergeanur1-19/+19
2020-05-25cAudioManager::ProcessPlayersVehicleEngine cleanup and fixesSergeanur1-149/+108
2020-05-24Clean cAudioManager::ProcessGarages up a bitSergeanur1-89/+79
2020-05-23Even more small audio cleanupSergeanur1-3/+3
2020-05-23More audio cleanupSergeanur1-314/+318
2020-05-23Compatibility with VC weapon.dat + new shotgunseray orçunus1-4/+4
2020-05-20Pickup and audio fixeray orçunus1-2/+2
2020-05-18Remove MAX_VOLUME dupsSergeanur1-67/+66
2020-05-16Fix compilation errorsSergeanur1-2521/+186
2020-05-16More small audio fixesSergeanur1-7/+6
2020-05-16Move sound processors to AudioLogic.cpp, plus small fixesSergeanur1-5949/+4995
2020-05-16Fix audio use of number instead of enum for CAR_ACCELSergeanur1-2/+2
2020-05-16Remove unused audio enumSergeanur1-4/+4
2020-05-09peds starting to workaap1-15/+24
2020-05-07Fix GetDistanceSquaredSergeanur1-28/+28
2020-05-07Fixed arguments for sound collisionsSergeanur1-2/+2
2020-05-07VC vehicles just barely working nowaap1-30/+112
2020-05-07dont hardcode first vehicle ID; little fix for roadblocksaap1-1/+1
2020-05-06Fix cAudioManager::ProcessActiveQueues loopSergeanur1-5/+3
2020-05-05More use of GetModelIndexSergeanur1-11/+11
2020-05-05CAutoPilot + CCarAI + fixesNikolay Korolev1-2/+2
2020-05-04oal updFire-Head1-2/+2
2020-05-02Adding sound intensity constsSergeanur1-154/+203
2020-05-02Cleanup cAudioManager::ProcessVehicleSkiddingSergeanur1-37/+23
2020-05-02A bit more audio cleanupSergeanur1-116/+85
2020-05-02cleanup cAudioManager::UpdateReflectionsSergeanur1-44/+31
2020-05-02AudioManager.cpp autoformatSergeanur1-2493/+2334
2020-05-02Replacing >> and << to / and * in AudioManagerSergeanur1-51/+45
2020-05-02SetPosition, part 1Sergeanur1-1/+1
2020-04-30Adding getters and setters for type and statusSergeanur1-10/+10
2020-04-28Changing prefixes for some audio fieldsSergeanur1-564/+564
2020-04-27Fix tVehicleSampleData structSergeanur1-75/+73
2020-04-27Fix use of integers instead of enum/bool/nilSergeanur1-120/+109
2020-04-27Audio fixesSergeanur1-234/+60
2020-04-23fix #ifdefFire-Head1-1/+1
2020-04-23ps2 particles, sampman oal startedFire-Head1-1/+7
2020-04-20Try to build with mingwFilip Gawin1-32/+32
2020-04-18Revert "Part one"Filip Gawin1-1/+1
2020-04-17Part oneFilip Gawin1-1/+1
2020-04-17Remove patchesSergeanur1-215/+1
2020-04-17rem refsFire-Head1-12/+12
2020-04-16Various fixeseray orçunus1-0/+3
2020-04-15implemented most of librw wrapperaap1-2/+2
2020-04-14Added missing audio ctorsSergeanur1-18/+30
2020-04-13Cleanup cAudioManager::ProcessRainOnVehicle a bitFilip Gawin1-7/+3
2020-04-13Finish audio codeFilip Gawin1-1463/+2789
2020-04-12Cleanup audio codeFilip Gawin1-224/+249
2020-04-07Fix CI buildFilip Gawin1-5/+5
2020-04-07Cleanup audiocode and fix for ComputeDopplerEffectedFrequencyFilip Gawin1-594/+601
2020-04-06Cranes doneNikolay Korolev1-3/+3
2020-03-28audio16 fixes for reviewFilip Gawin1-9/+5
2020-03-28ProcessVehicleEngine and ProcessActiveQueuesFilip Gawin1-38/+455
2020-03-28garage update part 2Nikolay Korolev1-1/+1
2020-03-28CCopPed done and #include cleanuperay orçunus1-0/+1
2020-03-28WaterCannon done, resource icoFire-Head1-2/+2
2020-03-28garages part 1Nikolay Korolev1-6/+6
2020-03-22Fix order of math operations on integers (fires)Filip Gawin1-1/+1
2020-03-22Remove all constexprFilip Gawin1-11/+12
2020-03-22Fixes for reviewFilip Gawin1-1/+1
2020-03-22Fixes for reviewFilip Gawin1-5/+20
2020-03-22Cleanup audio code + fixes for reviewFilip Gawin1-295/+144
2020-03-22Fixes for Serge's reviewFilip Gawin1-272/+106
2020-03-22Implement ProcessGarages + small cleanupFilip Gawin1-29/+329
2020-03-22Implement SetupJumboEngineSoundFilip Gawin1-2/+28
2020-03-22Implement ProcessFiresFilip Gawin1-4/+76
2020-03-22Implement ProcessCraneFilip Gawin1-2/+50
2020-03-22Implement ProcessCesnaFilip Gawin1-3/+66
2020-02-22Fix police radio conditionFilip Gawin1-1/+1
2020-02-07Fixed random sound volumeSergeanur1-1/+1
2020-02-02Audio, use of enums and true/falseSergeanur1-533/+533
2020-02-01Removed dup hookSergeanur1-1/+0
2020-01-25audio stuffSergeanur1-1345/+26
2020-01-13Two audio structs renamed to their original namesSergeanur1-2/+2
2020-01-07Fixing Projectile codeSergeanur1-2/+3
2019-12-05CPhone, CPlayerInfo, CFire, CWorlderay orçunus1-3/+3
2019-12-01Fix CalculateDistanceFilip Gawin1-3/+3
2019-12-01Audio fixes for erorcun reviewFilip Gawin1-33/+33
2019-12-01Implement ProcessVehicleSirenOrAlarmFilip Gawin1-3/+48
2019-12-01Fix sound when "up" and "down" are pressed togetherFilip Gawin1-10/+6
2019-11-11Fix max iterator value in `InitialisePoliceRadio`Filip Gawin1-1/+1
2019-11-05RE cAudioManager::UpdateReflectionsFilip Gawin1-2/+67
2019-10-30Implemented faststrcmp, faststricmp, strcasecmpSergeanur1-11/+12
2019-10-29Some fixes for cAudioManager::SetupSuspectLastSeenReportSergeanur1-25/+102
2019-10-27Implement PreloadMissionAudio + small fixesFilip Gawin1-43/+125
2019-10-27Audio fixesSergeanur1-45/+51
2019-10-27Fix cAudioManager::AddReleasingSoundsSergeanur1-36/+36
2019-10-27ProcessFrontEnd fixesFilip Gawin1-24/+36
2019-10-27SfxEnumSergeanur1-855/+854
2019-10-27Audio9 (fixes)Filip Gawin1-80/+62
2019-10-27cAudioManager::TranslateEntity cleanupSergeanur1-11/+2
2019-10-26Fix hornPatternsArraySergeanur1-1/+10
2019-10-26Fix audio bugSergeanur1-1/+1
2019-10-26A bit more enums for ChangeMusicModeSergeanur1-2/+3
2019-10-26Audio stuff moved around, removed MusicManager dependencies, eMusicMode used for ChangeMusicModeSergeanur1-2/+2
2019-10-26Fixes for aap review (audio8)Filip Gawin1-2298/+1220
2019-10-26Audio fixes from SergFilip Gawin1-18/+26
2019-10-26Fixes for nitpicksFilip Gawin1-79/+82
2019-10-26Cleanup audioFilip Gawin1-52/+36
2019-10-26Cleanup police radioFilip Gawin1-952/+710
2019-10-26More audio windowsFilip Gawin1-42/+979
2019-10-26More audio (to hook and test)Filip Gawin1-44/+498
2019-10-26More workFilip Gawin1-37/+155
2019-10-26audio7Filip Gawin1-86/+837
2019-10-17Fixed train sounds not workingSergeanur1-7/+4
2019-08-27Audio fixesFilip Gawin1-4/+38
2019-08-27CleanupFilip Gawin1-779/+718
2019-08-27More more more audioFilip Gawin1-506/+1193
2019-08-27CleanupFilip Gawin1-485/+1196
2019-08-27More audio pedFilip Gawin1-35/+1294
2019-08-15CParticleObject done, cDMAudio doneFire-Head1-8/+53
2019-08-02sampman doneFire-Head1-154/+154
2019-07-31implemented CPlaneaap1-11/+8
2019-07-26fixed bridgeNikolay Korolev1-1/+1
2019-07-21Try to fix rpg bugFilip Gawin1-3/+1
2019-07-21Fix setting sampleIndexFilip Gawin1-2/+2
2019-07-20added CPool<cAudioScriptObject, cAudioScriptObject>Nikolay Korolev1-0/+6
2019-07-19fixes for #142Filip Gawin1-2/+2
2019-07-19More audio scriptFilip Gawin1-35/+534
2019-07-19more audio processFilip Gawin1-43/+1036
2019-07-19ProcessActiveQueuesFilip Gawin1-22/+355
2019-07-19ComputeDopplerEffectedFrequencyFilip Gawin1-226/+1093
2019-07-10added wrappers around math functionsaap1-1/+1
2019-07-07Fix reverse warn and air brakesFilip Gawin1-5/+154
2019-07-07cAudioManager::InitialiseFilip Gawin1-3/+105
2019-07-07cleanup AudioManagerFilip Gawin1-7/+3
2019-07-06some work on vehiclesaap1-7/+80
2019-07-04More AudioManagerFilip Gawin1-964/+837
2019-07-04RandomDisplacementFilip Gawin1-0/+19
2019-07-04RequireDigitalHandleFilip Gawin1-5/+20
2019-07-04ReleaseDigitalHandleFilip Gawin1-41/+48
2019-07-04PlayerJustGotInCarFilip Gawin1-1/+10
2019-07-04CreateEntityFilip Gawin1-6/+31
2019-07-04Introduce totalAudioEntitiesFilip Gawin1-4/+8
2019-07-04SetEntityStatusFilip Gawin1-0/+9
2019-07-04PreTerminateGameSpecificShutdownFilip Gawin1-0/+34
2019-07-04DestroyEntityFilip Gawin1-0/+19
2019-07-04PostTerminateGameSpecificShutdownFilip Gawin1-2/+9
2019-07-04SetDynamicAcousticModelingStatusFilip Gawin1-2/+7
2019-07-04IsAudioInitialisedFilip Gawin1-0/+8
2019-07-04GenerateIntegerRandomNumberTableFilip Gawin1-0/+7
2019-06-30Implement GetSpecialCharacterTalkSfxFilip Gawin1-7/+202
2019-06-29Implement the rest of GetXTalkSfxFilip Gawin1-265/+2187
2019-06-29Implement some GetXTalkSfx methodsFilip Gawin1-38/+580
2019-06-29fixes for AudioManager::GetPhraseFilip Gawin1-8/+83
2019-06-29AudioManager::GetPhraseFilip Gawin1-1/+14
2019-06-25Better organization for Frontend.cpp_AG1-0/+2
2019-06-24CPed, CVehicle, mostly entering/exiting careray orçunus1-0/+15