Commit Graph

370 Commits

Author SHA1 Message Date
Sergeanur
7d51995640 Remove hacky way of injecting PS2 matfx on RW 3.3, remove static patcher 2020-07-22 03:32:46 +03:00
Sergeanur
f760696a9f Fix another float 2020-07-18 19:37:28 +03:00
Sergeanur
28d7d6b2f1 Fix some audio floats 2020-07-18 19:18:58 +03:00
Sergeanur
949d0c8853 Add audio cache for faster initialization 2020-07-17 13:48:25 +03:00
Sergeanur
81c03f8e6d Audio fixes 2020-07-16 22:30:55 +03:00
Sergeanur
da93b0a078 Audio fixes 2020-06-30 19:06:58 +03:00
Fire-Head
63fdcf7e64 menu fixes 2020-06-29 10:29:02 +03:00
Fire_Head
0cd2ac7e5e
Update AudioLogic.cpp 2020-06-29 09:41:56 +03:00
Fire_Head
860f75d66c
Merge branch 'master' into ps2menu 2020-06-29 09:37:53 +03:00
Fire-Head
1c11a8081f mips overdose 2020-06-28 00:01:51 +03:00
Sergeanur
03f3b4fc5a remove numbers from enum 2020-06-08 14:33:10 +03:00
Sergeanur
be9954ecc6 IsMissionAudioSamplePlaying (from VC) 2020-06-08 10:33:32 +03:00
Sergeanur
2016cd54b0 ps2 audio banks 2020-06-06 03:45:24 +03:00
Sergeanur
147dca44fa ProcessTrainAnnouncements 2020-06-05 11:27:33 +03:00
eray orçunus
016ebc0b00 fixes, mostly from miami 2020-06-04 06:03:12 +03:00
Sergeanur
3a5a122887 Fix city sound playing on restarting a new game 2020-05-27 20:48:47 +03:00
Sergeanur
7a79b74778 Restore original logic 2020-05-27 03:33:27 +03:00
aap
7e5dde1f1a eSurfaceType 2020-05-26 11:37:46 +02:00
Sergeanur
52644192e3 Even more audio cleanups 2020-05-25 19:36:09 +03:00
Sergeanur
ad896d5f81 Ped comments cleanup 2020-05-25 19:10:15 +03:00
Sergeanur
cebc3bbd48 More audio cleanup and bugfixes 2020-05-25 18:39:16 +03:00
Sergeanur
fd06ab4db8 Fix names of static variables 2020-05-25 03:56:17 +03:00
Sergeanur
80c2018b51 cAudioManager::ProcessPlayersVehicleEngine cleanup and fixes 2020-05-25 03:40:47 +03:00
Sergeanur
56683dbed3 Clean cAudioManager::ProcessGarages up a bit 2020-05-24 20:33:30 +03:00
Sergeanur
e259bb6609 fixes 2020-05-24 18:43:50 +03:00
Sergeanur
13a9441d5e Merge branch 'master' into opus 2020-05-24 01:45:10 +03:00
Sergeanur
f92770f74a Optimize ALDeviceList 2020-05-24 01:44:10 +03:00
Sergeanur
0c4ce002f1 Merge branch 'master' into opus 2020-05-24 01:07:03 +03:00
Sergeanur
7d30878418 Fix OAL crash 2020-05-24 01:06:19 +03:00
Sergeanur
3a7651e7ab Cleanup 2020-05-24 00:56:20 +03:00
Sergeanur
bd67db523a Merge branch 'master' into opus
# Conflicts:
#	eax/eax.h
#	premake5.lua
#	src/audio/oal/stream.cpp
2020-05-24 00:45:45 +03:00
Sergeanur
ac208ce02c Even more small audio cleanup 2020-05-23 23:25:14 +03:00
Sergeanur
f2790f610b More audio cleanup 2020-05-23 22:48:50 +03:00
eray orçunus
c993e99e00 Fix linux build 2020-05-22 22:49:54 +03:00
Sergeanur
a9f332f2d9 Possibly fix travis 2020-05-22 21:26:31 +03:00
Sergeanur
e858314a9f OpenAL configs 2020-05-22 18:01:09 +03:00
Sergeanur
ab161d12d8 Merge remote-tracking branch 'origin/master' into opus 2020-05-22 17:41:03 +03:00
Sergeanur
0af4d57408 opus support 2020-05-22 17:40:19 +03:00
Nikolay Korolev
3405cfffb7 fixed dumb 2020-05-20 23:52:17 +03:00
Nikolay Korolev
c0c8278c63 fixed ped comment 2020-05-20 20:45:07 +03:00
shfil
6bf79120dc
Fix string assignment (aldlist.cpp) 2020-05-18 21:08:01 +02:00
Sergeanur
e891cf858f Remove MAX_VOLUME dups 2020-05-18 20:17:24 +03:00
aap
b05e6632be
Merge pull request #556 from Fire-Head/master
nullsampman
2020-05-18 17:08:32 +02:00
Fire-Head
91fbfc1d23 nullsampman 2020-05-17 21:13:25 +03:00
Sergeanur
4ff0697b4d More small audio fixes 2020-05-16 21:00:27 +03:00
Sergeanur
13a0bf1c43 Move sound processors to AudioLogic.cpp, plus small fixes 2020-05-16 20:29:13 +03:00
Sergeanur
dc5ece8327 Fix audio use of number instead of enum for CAR_ACCEL 2020-05-16 16:55:37 +03:00
Sergeanur
ec1b91e527 Remove unused audio enum 2020-05-16 05:06:51 +03:00
Nikolay Korolev
8e0b132f43 it works differently 2020-05-14 14:03:56 +03:00
Nikolay Korolev
9d4d83db0d some fixes 2020-05-14 14:01:24 +03:00
Filip Gawin
c2ac6b3759 Fix linux warnings 2020-05-12 23:18:54 +02:00
eray orçunus
8a4fa58cd4 Linux build support 2020-05-11 21:00:55 +03:00
erorcun
c66c45f4c8
Merge pull request #509 from Fire-Head/master
OpenAL update
2020-05-11 03:23:36 +03:00
bigbossbro08
c798e1bacd Fixed typos and made all assert functions optional 2020-05-10 21:49:33 +06:00
bigbossbro08
af6e132b37 defined out asserts. 2020-05-10 19:54:37 +06:00
Sergeanur
0b848bc147 Fix looping collision sound 2020-05-07 14:48:53 +03:00
Sergeanur
1ac6bea590 Fix GetDistanceSquared 2020-05-07 14:32:00 +03:00
Sergeanur
ed1bb7236f Fixed arguments for sound collisions 2020-05-07 14:10:56 +03:00
aap
876e402d1e dont hardcode first vehicle ID; little fix for roadblocks 2020-05-07 09:38:07 +02:00
Fire-Head
875c77e8b1 oal update 2020-05-07 10:13:59 +03:00
Fire-Head
12a3499ca3 oal wav/mp3 stream update 2020-05-07 09:26:16 +03:00
Sergeanur
daa3b20477 Fix cAudioManager::ProcessActiveQueues loop 2020-05-06 18:01:52 +03:00
aap
cbfc45b3f7 some work on zones 2020-05-06 12:23:26 +02:00
Sergeanur
dfe0642195
Merge pull request #512 from Nick007J/master
MIAMI CAutoPilot + CCarAI + multiple fixes
2020-05-05 17:14:13 +03:00
Sergeanur
e9b334d7bf More use of GetModelIndex 2020-05-05 14:48:35 +03:00
Nikolay Korolev
ae0c83fa01 CAutoPilot + CCarAI + fixes 2020-05-05 14:40:35 +03:00
Fire-Head
73c809f616 bb std::string 2020-05-04 22:02:54 +03:00
Fire-Head
6382b6d2fc fix typo 2020-05-04 21:32:42 +03:00
Fire-Head
0abd0c659b openal-soft added 2020-05-04 21:06:14 +03:00
Fire-Head
8aac6060d3 oal upd 2020-05-04 20:33:48 +03:00
Sergeanur
c62d35fed0 Adding sound intensity consts 2020-05-02 23:31:45 +03:00
Sergeanur
271517915f Cleanup cAudioManager::ProcessVehicleSkidding 2020-05-02 18:23:48 +03:00
Sergeanur
7ba5b3c353 A bit more audio cleanup 2020-05-02 17:10:51 +03:00
Sergeanur
853dab23f5 cleanup cAudioManager::UpdateReflections 2020-05-02 16:45:24 +03:00
Sergeanur
8d0b0051b4 AudioManager.cpp autoformat 2020-05-02 16:27:40 +03:00
Sergeanur
05b2ae10c6 Replacing >> and << to / and * in AudioManager 2020-05-02 15:56:59 +03:00
Sergeanur
d23b2c423e SetPosition, part 1 2020-05-02 15:13:09 +03:00
Sergeanur
7d758f3a9f Adding getters and setters for type and status 2020-04-30 16:45:45 +03:00
Sergeanur
299bbc47ec Changing prefixes for some audio fields 2020-04-28 14:00:38 +03:00
Sergeanur
64e6af1db8 Fix tVehicleSampleData struct 2020-04-27 20:26:24 +03:00
Sergeanur
c94ccce6d6 Audio structs moved to their AudioManager.h 2020-04-27 20:06:54 +03:00
Sergeanur
7bf45124e6 Fix use of integers instead of enum/bool/nil 2020-04-27 12:41:34 +03:00
Sergeanur
81fce4edab Audio fixes 2020-04-27 02:49:07 +03:00
Fire-Head
2925b7e0c3 fix #ifdef 2020-04-23 11:35:42 +03:00
Fire-Head
75acd78190 ps2 particles, sampman oal started 2020-04-23 11:24:03 +03:00
Filip Gawin
370c4e48cd Try to build with mingw 2020-04-20 18:18:46 +02:00
eray orçunus
1ffc37735e Struct cleanup, various fixes, enable PS2 rand 2020-04-19 16:44:35 +03:00
Nikolay Korolev
89688843ec bug fixes 2020-04-18 13:56:21 +03:00
Filip Gawin
d6314f9564 Revert "Part one"
This reverts commit 63951d9b95.
2020-04-18 12:29:28 +02:00
Filip Gawin
3f32b69a79 Fix crash in cAudioManager::ServicePoliceRadio 2020-04-18 12:20:20 +02:00
Filip Gawin
2b1570de70 Merge branch 'master' of https://github.com/GTAmodding/re3 2020-04-18 12:08:38 +02:00
Sergeanur
555f933780 Remove padding fields 2020-04-18 11:31:53 +03:00
Filip Gawin
63951d9b95 Part one 2020-04-17 19:30:57 +02:00
Sergeanur
599164006a Remove patches 2020-04-17 16:31:11 +03:00
Fire-Head
a4922d5cb7 rem refs 2020-04-17 08:54:14 +03:00
eray orçunus
2c2da558ca Some refs removed, little fixes and teleport 2020-04-16 22:19:56 +03:00
Sergeanur
b1fc7bc533 More refs removed 2020-04-16 11:50:45 +03:00
aap
89b7085353 Merge branch 'master' of github.com:gtamodding/re3 2020-04-16 09:23:31 +02:00
Fire-Head
c1fcb7bd43 Removed refs from sampman 2020-04-16 08:28:17 +03:00
eray orçunus
c22e59abab Various fixes 2020-04-16 05:07:32 +03:00
aap
afce2e1bb3 Merge branch 'master' of github.com:gtamodding/re3 2020-04-15 22:36:21 +02:00
Nikolay Korolev
5cb7e2e42a
Merge pull request #440 from Fire-Head/master
CWeapon done, fixes
2020-04-15 23:28:09 +03:00
aap
90be379bed implemented most of librw wrapper 2020-04-15 14:05:40 +02:00
Fire-Head
daed13485e CWeapon done, ps2 cheats fix 2020-04-15 08:03:53 +03:00
Sergeanur
9a7b833aa5 Added missing audio ctors 2020-04-14 17:13:38 +03:00
Filip Gawin
67055c1fbb Cleanup cAudioManager::ProcessRainOnVehicle a bit 2020-04-13 21:13:07 +02:00
Filip Gawin
3b9f1255af Finish audio code 2020-04-13 20:30:18 +02:00
Filip Gawin
7d137d8f2d Cleanup audio code 2020-04-12 02:50:52 +02:00
aap
34349c4df2 normalized line endings to LF 2020-04-09 20:50:24 +02:00
Filip Gawin
95e4466846 Fix CI build 2020-04-07 15:53:51 +02:00
Filip Gawin
bf2316bd54 Cleanup audiocode and fix for ComputeDopplerEffectedFrequency 2020-04-07 15:44:31 +02:00
Nikolay Korolev
7f8a78e5de Cranes done 2020-04-06 02:01:03 +03:00
Sergeanur
6e6912b613 fixes 2020-04-02 09:20:45 +03:00
Sergeanur
62ae7245ab AudioScriptObject finished 2020-04-01 06:09:25 +03:00
Nikolay Korolev
92edf92570 Merge branch 'master' into garages_dev 2020-03-28 23:42:11 +03:00
Filip Gawin
d13afe5cc1 audio16 fixes for review 2020-03-28 20:18:54 +01:00
Filip Gawin
58ec4b2157 ProcessVehicleEngine and ProcessActiveQueues
Also some smaller fixes, thx erorcun for help.
2020-03-28 20:18:54 +01:00
Nikolay Korolev
101c21e064 merge with master 2020-03-28 20:55:15 +03:00
Nikolay Korolev
775bc3e666 garage update part 2 2020-03-28 20:52:25 +03:00
erorcun
c056871e07
Merge pull request #363 from erorcun/erorcun
CCopPed done and #include cleanup
2020-03-28 19:12:22 +03:00
eray orçunus
112685ebac CCopPed done and #include cleanup 2020-03-28 18:52:25 +03:00
Fire-Head
3366cd0ff8 WaterCannon done, resource ico 2020-03-28 17:02:44 +03:00
Nikolay Korolev
268f92bfbe garages part 1 2020-03-28 15:24:13 +03:00
Filip Gawin
da2d25c020
Fix order of math operations on integers (fires) 2020-03-22 19:32:01 +01:00
Filip Gawin
0e817230af Remove all constexpr 2020-03-22 17:30:54 +01:00
Filip Gawin
b57e4febb0 fix include 2020-03-22 17:30:54 +01:00
Filip Gawin
39462a3865 Fixes for review 2020-03-22 17:30:54 +01:00
Filip Gawin
a097f225bc Fixes for review 2020-03-22 17:30:54 +01:00
Filip Gawin
337924c794 Cleanup audio code + fixes for review 2020-03-22 17:30:54 +01:00
Filip Gawin
8f01eab5ab Fixes for Serge's review 2020-03-22 17:30:54 +01:00
Filip Gawin
7c425ac4ac Implement ProcessGarages + small cleanup 2020-03-22 17:30:54 +01:00
Filip Gawin
3b8a177470 Implement SetupJumboEngineSound 2020-03-22 17:30:54 +01:00
Filip Gawin
67398809a3 Implement ProcessFires 2020-03-22 17:30:54 +01:00
Filip Gawin
0d1f42add1 Implement ProcessCrane 2020-03-22 17:30:54 +01:00
Filip Gawin
31382bc22c Implement ProcessCesna 2020-03-22 17:30:54 +01:00
Wes Hampson
c7f16879df GenericSave complete, still needs some testing 2020-03-11 00:12:40 -07:00
Filip Gawin
c92dfb0064
Fix police radio condition
thx @Nick007J
2020-02-22 19:47:42 +01:00
Sergeanur
d1700b3257 Fixed random sound volume 2020-02-07 21:40:10 +02:00
Sergeanur
a3e5ccde47 cMusicManager 2020-02-07 02:30:00 +02:00
Sergeanur
72a4abd347 Audio, use of enums and true/false 2020-02-02 15:57:27 +02:00
Sergeanur
ff831a8956 Removed dup hook 2020-02-01 20:02:04 +02:00
Sergeanur
da253837d1 audio stuff
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)
2020-01-25 12:48:27 +02:00
Sergeanur
045c638067 Two audio structs renamed to their original names 2020-01-13 20:01:23 +02:00
Sergeanur
f7e962beaa Fixing Projectile code 2020-01-07 17:26:40 +02:00
eray orçunus
bb5e31470d CPlayerPed & fixes 2019-12-28 23:05:49 +03:00
eray orçunus
dad7782ff0 CPhone, CPlayerInfo, CFire, CWorld 2019-12-06 00:55:23 +03:00
Filip Gawin
5289f398ea Fix CalculateDistance 2019-12-01 20:44:57 +01:00
Filip Gawin
c7e9ddb566 Audio fixes for erorcun review 2019-12-01 20:44:57 +01:00
Filip Gawin
9afac431b0 Implement ProcessVehicleSirenOrAlarm 2019-12-01 20:44:57 +01:00
Filip Gawin
41c9e66382 Fix sound when "up" and "down" are pressed together 2019-12-01 20:44:43 +01:00