Commit Graph

1680 Commits

Author SHA1 Message Date
Ilya Shurumov
25b58cdb90 - refactor SetTarget 2020-11-24 21:40:58 +06:00
Ilya Shurumov
2b1eff703d Merge branch 'develop-SoapyMan' into refactor-LEADAI 2020-11-24 20:54:04 +06:00
Ilya Shurumov
13f1e6a38d - added Frontend "Quit to system" prompt 2020-11-24 17:59:18 +06:00
Ilya Shurumov
da4831a641 - linux build fix 2020-11-24 16:14:47 +06:00
Ilya Shurumov
f6402285a0 - fast loading screens option 2020-11-24 15:59:05 +06:00
Ilya Shurumov
afb56553f1 - add separate menu and game control mappings 2020-11-24 15:14:53 +06:00
Ilya Shurumov
6a6a0fe595 - [Psy-X] support keyboard remapping 2020-11-24 14:42:54 +06:00
Ilya Shurumov
369896b80a Merge branch 'develop-SoapyMan' into refactor-LEADAI 2020-11-23 21:33:55 +06:00
Ilya Shurumov
eed356479c - command-line option to store all XA subtitles from WAV files 2020-11-23 20:58:39 +06:00
Ilya Shurumov
89c3f5ecae - change game debug keys to conform Psy-X debug keys 2020-11-23 14:51:53 +06:00
Ilya Shurumov
2eb0770750 - move some stuff to Psy-Q/Psy-X compatibility header 2020-11-23 14:51:33 +06:00
Ilya Shurumov
ff59bb90ea - [Psy-X] resolve macro conflicts
- [Psy-X] change debug keyboard controls
2020-11-23 14:50:50 +06:00
Ilya Shurumov
fd07a3ecb0 - apply unnoticed cell stuff 2020-11-22 22:33:09 +06:00
Ilya Shurumov
ddc73d56cd - refactor PosToIndex 2020-11-21 23:19:28 +06:00
Ilya Shurumov
7f03404d6f - simplify ProcessPalletLump 2020-11-21 22:18:48 +06:00
Ilya Shurumov
b9c0e60060 - fix refactoring errors 2020-11-21 18:28:49 +06:00
Ilya Shurumov
9892b713ea Merge branch 'develop-SoapyMan' into refactor-LEADAI 2020-11-21 17:53:45 +06:00
Ilya Shurumov
11b938255a - refactor FakeMotion 2020-11-21 17:52:31 +06:00
Ilya Shurumov
cf6148d7f4 - change PAL to PAL_VERSION def 2020-11-21 15:36:28 +06:00
Ilya Shurumov
9d7f707a99 - [Psy-X] proper SetVideoMode/GetVideoMode, NTSC or PAL timestep 2020-11-21 15:12:58 +06:00
Ilya Shurumov
d0d21ee687 - bump version 2020-11-21 02:11:06 +06:00
Ilya Shurumov
a4ae8d0d2e - [Psy-X] lower OpenGL from 3.3 to 3.1
- [Psy-X] print OpenGL info after initialization
2020-11-21 02:10:57 +06:00
Ilya Shurumov
b2634ba68a - fix debug pause item after refactoring 2020-11-21 02:10:17 +06:00
Ilya Shurumov
e92b1c1ac9 - fix FMV AVI filename case 2020-11-21 01:57:34 +06:00
Ilya Shurumov
7fd7aa21d7 - complete MOTION_C.C refactoring 2020-11-21 01:57:14 +06:00
Ilya Shurumov
dfe4d63fa2 - fix debris
- remove unused array
- forgitten premake5.lua update
2020-11-20 23:49:03 +06:00
Ilya Shurumov
82d5748b04 - remove sneaky semicolon 2020-11-20 22:00:17 +06:00
Ilya Shurumov
b8b08a26ba - disable good bunch of warnings that we permit 2020-11-20 21:59:46 +06:00
Ilya Shurumov
949d73a190 - fix conflicts caused by merges 2020-11-20 21:45:23 +06:00
Ilya Shurumov
e07e671f7d - add underscore to "Release Dev" 2020-11-20 21:32:32 +06:00
Ilya Shurumov
dd9725e35c Merge branch 'Rosalie241-fix-linux' into develop-SoapyMan 2020-11-20 21:16:13 +06:00
Ilya Shurumov
733fcf6e13 - [WIP] activate Chicago roads near bridges 2020-11-20 15:48:47 +06:00
Ilya Shurumov
e9144c8423 - flip some conditions in CIV_AI 2020-11-20 15:48:16 +06:00
Ilya Shurumov
cd682b780c - change FMV scaling to not oversize 2020-11-20 12:32:10 +06:00
Ilya Shurumov
9ad8a02197 - fix bug in PingOutAllSpecialCivCars 2020-11-20 12:26:06 +06:00
Ilya Shurumov
e009731dc2 - more MOTION_C.C refactoring 2020-11-20 02:37:09 +06:00
Ilya Shurumov
031d9a0960 - refactor some MOTION_C.C 2020-11-19 23:24:35 +06:00
Ilya Shurumov
f3293e89ab - PlotContext drawing flags 2020-11-19 23:01:55 +06:00
Ilya Shurumov
e765171d7b - attempt to fix DisplayDebris 2020-11-19 23:01:33 +06:00
Ilya Shurumov
c73d2f006c Merge branch 'develop-Fireboyd78' into develop-SoapyMan 2020-11-19 22:16:00 +06:00
Ilya Shurumov
3a3e0dd664 - remove __unix__ and make fixslashes always here 2020-11-19 21:48:39 +06:00
Ilya Shurumov
071004d2c3 Merge branch 'master' of https://github.com/OpenDriver2/REDRIVER2 into develop-SoapyMan 2020-11-19 21:33:14 +06:00
Rosalie Wanders
8f09f9d61a Fix linux compilation 2020-11-19 16:27:50 +01:00
Ilya Shurumov
12e6961829 - [Psy-X] add Psy-Cross logo to README 2020-11-19 12:28:51 +06:00
Fireboyd78
e847e0d613 Refactor FEMAIN.C
- [PC] Fix flickering bugs

- [PC] Move button drawing logic to DrawScreen

- [PC] Better game names lookup system

- Fixed bugs in high score table

- Other misc changes/fixes
2020-11-18 18:46:04 -08:00
Fireboyd78
b360453b7e Fix narrowing conversion warning for fmvFont. 2020-11-18 13:29:10 -08:00
Ilya Shurumov
8c65403de4 - [Psy-X] change banner 2020-11-19 01:56:33 +06:00
Ilya Shurumov
827214d00a - [Psy-X] load SDL game controller mappings on first PadInitDirect 2020-11-19 01:43:17 +06:00
Ilya Shurumov
4ed62bb4a1 - add Psy-X README.md 2020-11-19 01:25:14 +06:00
Ilya Shurumov
0bc848da2c - rename EMULATOR to Psy-X
- move it's makefile
2020-11-19 01:14:45 +06:00
Ilya Shurumov
e4518a104a - refactor PAUSE.C
- fix score name entry bugs
2020-11-19 00:21:25 +06:00
Ilya Shurumov
ca5227c032 Merge branch 'master' of https://github.com/OpenDriver2/REDRIVER2.git into develop-SoapyMan 2020-11-18 12:21:28 +06:00
Ilya Shurumov
2f9796e241 - include FMV font as header 2020-11-18 12:21:22 +06:00
Thomas PORTASSAU
88794c929d fix extended ASCII in mission messages 2020-11-17 22:18:34 +01:00
Ilya
e1f5456656
Merge pull request #26 from OpenDriver2/develop-SoapyMan
Bug fixes
2020-11-18 00:35:11 +06:00
Ilya Shurumov
898cf2cef1 - fix cutscene-replay saving/loading bugs 2020-11-17 22:01:20 +06:00
Ilya Shurumov
96d338bc80 - don't store pings if not in cutscene recorder mode 2020-11-17 18:13:45 +06:00
Ilya Shurumov
81370a7273 - support reserving car slots (configurable) for cutscene/chase recorder 2020-11-17 16:10:59 +06:00
Thomas PORTASSAU
e7acae5b8e fixed Main Menu extended ASCII char missing 2020-11-17 08:42:38 +01:00
Ilya Shurumov
109ecfa036 - fixed crash caused by unloaded spooled models 2020-11-17 00:21:31 +06:00
Ilya Shurumov
57d6fc939c - hide director overlays if switched off in debug menu
- better director sound pause handling
2020-11-16 23:53:42 +06:00
Ilya Shurumov
853489868b - bump version 2020-11-16 23:50:33 +06:00
Ilya Shurumov
479ede0ec2 - rename HUD to Overlay to avoid confusion 2020-11-16 23:20:47 +06:00
Ilya Shurumov
cd1800de35 - HUD overlays to support widescreen mapping (configurable) 2020-11-16 23:15:46 +06:00
Ilya Shurumov
d8bd8840f1 - refactor OVERMAP.C, move ProcessPalletLump to CARS.C 2020-11-16 23:15:08 +06:00
Ilya Shurumov
cfc647e7d0 - [EMU] Emulator_GetPSXWidescreenMappedViewport 2020-11-16 23:14:35 +06:00
Ilya Shurumov
628b98ca70 - added overlay percentage bar constants 2020-11-16 03:15:36 +06:00
Ilya Shurumov
dbb1fd9c99 - almost refactored OVERMAP.C
- added map position constants
2020-11-16 03:15:16 +06:00
Ilya Shurumov
a91b791282 - refactor DrawFullscreenMap, fix DrawOverheadMap 2020-11-16 01:30:35 +06:00
Ilya Shurumov
fba19b1390 - HandleThrownBombs to process thrown bombs even if there is not bomb target vehicle 2020-11-16 00:40:45 +06:00
Ilya Shurumov
8f26c04df6 - improve MJPEG unpacking in video player 2020-11-16 00:40:05 +06:00
Ilya Shurumov
3bd7f8124d - refactor DrawOverheadMap 2020-11-16 00:39:46 +06:00
Fireboyd78
75eecfe27c MOTION_C refactoring progress 2020-11-15 04:46:02 -08:00
Ilya Shurumov
5a3717665d - InitCivCars to clear some fields 2020-11-15 04:19:42 +06:00
Ilya Shurumov
402954066c - InitCivCars to clear some fields (attempt to fix invalid pings) 2020-11-15 03:50:59 +06:00
Ilya Shurumov
22f8022965 - attempt to fix crash caused by sparks 2020-11-15 03:36:17 +06:00
Ilya Shurumov
ca76a1113f - restore Tanner camera in analog mode 2020-11-15 03:26:53 +06:00
Ilya Shurumov
9d002bc544 - debug wanted weahter and time of day setting 2020-11-15 03:05:05 +06:00
Ilya Shurumov
f1f01fc448 - fix Tanner analog controls 2020-11-15 03:04:45 +06:00
Ilya Shurumov
dd56659da1 - add 'volatile' keyword to some vars in PingInCivCar 2020-11-14 16:41:49 +06:00
Ilya Shurumov
7cf69f4273 - update config
- bump version
2020-11-14 15:19:48 +06:00
Ilya Shurumov
80604dc816 - [EMU] fix Nvidia texture coordinate CLUT lookup bug 2020-11-14 15:18:16 +06:00
Fireboyd78
ea5f8cde1a Undo grammar change. 2020-11-13 22:35:21 -08:00
Fireboyd78
2b2e9898ce Updated custom attract replay loading. 2020-11-13 20:23:03 -08:00
Fireboyd78
bbf57b4edf Updated custom cutscene file loading. 2020-11-13 19:50:33 -08:00
Ilya Shurumov
fc3d8d285e - bump version 2020-11-14 03:37:33 +06:00
Ilya Shurumov
e032fae6f8 - GetFirstPackedCop to check if region is not loading 2020-11-14 03:36:51 +06:00
Ilya Shurumov
1dcb44d4de - fix bus sound on Havana's mini 2020-11-14 03:36:19 +06:00
Ilya Shurumov
acbd7f59c5 - change order of area data loading (attempt to fix crash) 2020-11-14 01:53:54 +06:00
Ilya Shurumov
dc71b27f76 - fix displaying chase username when no chase is active 2020-11-14 00:40:56 +06:00
Ilya Shurumov
ac926e1ac0 - load XA subtitles externally 2020-11-14 00:13:27 +06:00
Ilya Shurumov
dd4daea020 - support randomized attract replays
- don't forget to init user replays
2020-11-13 23:48:25 +06:00
Ilya Shurumov
44355fd68a - rework chases to support more user replays 2020-11-13 23:23:00 +06:00
Ilya Shurumov
3c1d946321 - fix bus sound on chicago secret car 2020-11-13 23:22:37 +06:00
Ilya Shurumov
13553447ff - [EMU] fix PAD initialization 2020-11-13 22:12:18 +06:00
Ilya Shurumov
284bed1af2 - InitLeadHorn and LeadHorn to skip certain missions 2020-11-13 22:12:02 +06:00
Ilya Shurumov
4c160af271 - add replay save message in console 2020-11-13 22:11:34 +06:00
Ilya Shurumov
59e97256b3 - fix replay filename 2020-11-13 22:11:01 +06:00
Ilya Shurumov
0a907f9c85 - OVERMAP.C refactoring progress 2020-11-13 01:17:46 +06:00
Ilya Shurumov
f1c3a137a8 - [EMU] fix InternalPadUpdates logic error 2020-11-13 00:49:28 +06:00
Ilya Shurumov
2e39fe3d90 - [EMU] fix PadInitDirect bug 2020-11-13 00:46:57 +06:00
Ilya Shurumov
cea22ccfb0 - StorePingInfo fix car id=1 2020-11-13 00:44:04 +06:00
Ilya Shurumov
ffbe556e72 - fix CIV car pings 2020-11-13 00:43:40 +06:00
Ilya Shurumov
2b2ded5c0a - [EMU] activate pad analog state different way 2020-11-13 00:43:24 +06:00
Ilya Shurumov
13f5154daf - more improvements of stability (spooling issues) 2020-11-12 22:51:44 +06:00
Ilya Shurumov
1004581b6c - force clean spooled model slots during InitSpooling 2020-11-12 22:29:23 +06:00
Ilya Shurumov
6cfe1b5190 - [EMU] replace some tex coordinate tearing by replacing "fract(x / m) * m" by mod(x,m) 2020-11-12 18:23:56 +06:00
Ilya Shurumov
e54d675658 - cutscene recorder to not overwrite replays 2020-11-12 16:02:45 +06:00
Ilya Shurumov
131ea1ff03 - add more bonus gallery images 2020-11-12 16:02:23 +06:00
Ilya Shurumov
67f325a7b1 - disable MRHandleCarRequests during chase/cutscene recording 2020-11-12 13:39:55 +06:00
Ilya Shurumov
ff70e954ec - refactor OVERLAY.C 2020-11-12 02:03:27 +06:00
Ilya Shurumov
f6a2e767d7 - cutscene recorder saves different filename 2020-11-12 00:37:19 +06:00
Ilya Shurumov
138d057e1a - update cutscene recorder to use multiple INI files 2020-11-12 00:30:16 +06:00
Ilya Shurumov
61c435ed54 - complete JOB_FX refactoring 2020-11-12 00:19:00 +06:00
Ilya Shurumov
dc1c80fa1b - fix quitting bonus gallery 2020-11-12 00:18:49 +06:00
Ilya Shurumov
8400fcc788 - reimplement bonus gallery 2020-11-11 20:33:12 +06:00
Ilya Shurumov
db49d98b30 - fix credits file not loading correctly (line endings issue) 2020-11-10 17:50:07 +06:00
Fireboyd78
4353609d05 Refactor BlockToMap, IsOnMap 2020-11-09 21:43:50 -08:00
Fireboyd78
d3cf0a9b25 Cleaned up LeadPadResponse. 2020-11-09 15:21:46 -08:00
Fireboyd78
cc94350d23 Added debug code for dumping lead AI values. 2020-11-09 14:19:55 -08:00
Ilya Shurumov
10dd4e72bf - fix non-crt allocated buffer size too 2020-11-10 03:08:17 +06:00
Ilya Shurumov
aadd35be97 - [EMU] switch vblank back to main thread due to corrpuptions 2020-11-10 03:04:09 +06:00
Ilya Shurumov
18338871c8 - fix bugs caused by frontend and small buffer 2020-11-10 02:57:01 +06:00
Ilya Shurumov
c0e40aea14 - fix camera invalidation error on first frames 2020-11-10 02:35:32 +06:00
Ilya Shurumov
702a77c168 - resolve flickering and out of area drawing 2020-11-10 02:35:12 +06:00
Ilya Shurumov
95b3df133c - add credits text to FMV 2020-11-10 01:27:42 +06:00
Ilya Shurumov
46c5590966 - video player to use HPC timer
- fix sound stutter on FMV start
2020-11-09 22:02:00 +06:00
Ilya Shurumov
8e07ceb9a8 - [EMU] do vsync callback in vblank thread 2020-11-09 20:32:54 +06:00
Ilya Shurumov
977c2b0897 - resolve timer-related stuttering on AMD CPUs
- move timer code to separate source file
2020-11-09 20:23:38 +06:00
Ilya Shurumov
5406ba191e - regenerate GLAD source & header 2020-11-09 19:42:25 +06:00
Fireboyd78
7c7a7a9105 Added debug key to spawn a freeroamer in front of the player.
- 'R' to spawn, 'Shift+R' to spawn a special car

- 'T' can be used to clear all civ cars as well
2020-11-08 21:05:37 -08:00
Fireboyd78
8b7c34bd35 Added modifier key support. 2020-11-08 21:03:31 -08:00
Ilya Shurumov
0a31098290 - misc changes 2020-11-09 01:39:28 +06:00
Ilya Shurumov
2a96d1eb22 - fix: do not advance cones when missed in gates 2020-11-09 01:29:13 +06:00
Fireboyd78
fbce1d20f9 Refactor LeadPadResponse, FreeRoamer, hypot 2020-11-08 00:11:58 -08:00
Fireboyd78
92bce22a55 Refactor LeadUpdateState
(Is it just me, or is the AI stupid no matter what??)
2020-11-07 17:46:06 -08:00
Fireboyd78
80c3dfbcdc Refactor InitLead, leadRand
- Added NUM_STATES macro
2020-11-07 13:45:28 -08:00
Ilya Shurumov
bba59f7584 - bump version 2020-11-08 01:53:14 +06:00
Ilya Shurumov
d285a45eae - replace SDL_GetTicks with HPC 2020-11-08 01:38:45 +06:00
Ilya Shurumov
764adb9942 - display position toggle in debug menu
- pretty some code
2020-11-08 00:49:16 +06:00
Ilya Shurumov
5ebb7d0bfe - convert hex to dec
- fix target shadow drawing
2020-11-08 00:48:42 +06:00
Ilya Shurumov
cacb9b5198 - check & refactor MDRAW.C 2020-11-08 00:48:13 +06:00
Ilya Shurumov
fedbbc26ab - refactor ProcessMDSLump and check MODELS.C 2020-11-07 23:37:23 +06:00
Ilya Shurumov
d8a2f00f9d - better (custom) civ AI lane fitting 2020-11-07 23:29:11 +06:00
Ilya Shurumov
907982e82f - fix traffic light reflection 2020-11-07 23:02:32 +06:00
Ilya Shurumov
a19b1fbf2f - fix sound-related bugs
- added StartPlayerCarSounds
2020-11-07 22:00:15 +06:00
Ilya Shurumov
2c260513fc - fix trains getting stuck 2020-11-07 20:51:56 +06:00
Ilya Shurumov
3edd8656fe - properly initialize debris 2020-11-07 17:45:04 +06:00
Ilya Shurumov
3d3543bb49 - restore lamp damage 2020-11-07 17:09:06 +06:00
Ilya Shurumov
e6c0ca9252 - lots of fixes in DEBRIS.C
- smoke tweaks
- car tyre track tweaks
2020-11-07 15:54:15 +06:00
Ilya Shurumov
f05fd67241 - bug fixes
- increase OT size
2020-11-07 04:51:00 +06:00
Ilya Shurumov
69a278519e - refactor DEBRIS.C 2020-11-07 04:34:41 +06:00
Ilya Shurumov
fea07f1e3b - DEBRIS.C refactoring progress, restore broken lamp streaks 2020-11-07 01:47:33 +06:00
Ilya Shurumov
20c81e937e - refactor DRIVINGGAMES.C
- small stuff
2020-11-06 20:56:50 +06:00
Ilya Shurumov
0d5ddda0e0 Merge branch 'develop-SoapyMan' of https://github.com/OpenDriver2/REDRIVER2 into develop-SoapyMan 2020-11-06 19:58:34 +06:00
Ilya Shurumov
08d44769cd - fix invalid sound bank 2020-11-06 19:58:24 +06:00
Ilya Shurumov
c841f12e78 - check and refactor FEMAIN.C
- adding few more vars for future changes
2020-11-06 18:56:28 +06:00
Ilya Shurumov
8ef18ac32b - do not play lead horns on far distances 2020-11-06 14:33:23 +06:00
Ilya Shurumov
5661dc4663 - fix getaway gamemode 2020-11-05 12:39:27 +06:00
Ilya Shurumov
7159666274 - force pedestrian felony carried over to car in Destroy the yard 2020-11-05 02:24:02 +06:00
Ilya Shurumov
4cf0a3b30d - slightly increase car request radius in MRProcessTarget 2020-11-05 02:19:43 +06:00
Ilya Shurumov
8e96a5b376 - cop AI tweaks
- replace previously inlined code
- reset pedestrian felony if cops not allowed
2020-11-05 02:18:08 +06:00
Ilya Shurumov
39356495fe - reset pedestiran felony in InitGameVariables 2020-11-05 00:44:30 +06:00
Ilya Shurumov
d3026e3a92 - update cop AI batter logic 2020-11-05 00:07:21 +06:00
Ilya Shurumov
de2493bda3 - working pedestrian felony "Car bomb getaway" 2020-11-05 00:07:07 +06:00
Ilya Shurumov
0ddf0320b8 - cutscene recorder to use INI file
- custom cutscene stream creation (WIP)
2020-11-04 22:19:12 +06:00
Ilya Shurumov
619de1968c - rework cop AI batter logic to clever aggressiveness 2020-11-04 14:30:10 +06:00
Ilya Shurumov
49fb7d7b8f - [EMU] [SPU-AL] fix NaN volume issue 2020-11-04 14:29:29 +06:00
Ilya Shurumov
46e21be976 - reset cop batter every time player exit car 2020-11-04 13:56:19 +06:00
Ilya Shurumov
325d5cd000 - fix Tanner angle when pressing buttons 2020-11-03 23:35:58 +06:00
Ilya Shurumov
f309ff3f45 - check felony when player touches road block cars 2020-11-03 23:35:42 +06:00
Ilya Shurumov
0b7ea4d3bc - check & refactor LOADVIEW.C 2020-11-03 23:07:19 +06:00
Ilya Shurumov
e6dd536be6 - check LOADSAVE.C 2020-11-03 22:31:04 +06:00
Ilya Shurumov
34a3462742 - refactor GLAUNCH.C and FMVPLAY.C 2020-11-03 22:27:03 +06:00
Ilya Shurumov
79506c1a17 - refactor SYSTEM.C 2020-11-03 22:26:30 +06:00
Ilya Shurumov
2b3ad52d4c - once again fix CopSay 2020-11-03 20:45:11 +06:00
Ilya Shurumov
1704f8b03f - prevent wheel curb hit sound interrupting other sounds 2020-11-03 03:05:40 +06:00
Ilya Shurumov
fce428ecf5 - GetFreeChannel now has force param 2020-11-03 03:05:23 +06:00
Ilya Shurumov
986fd5b135 - fix GetMissionSound 2020-11-03 03:04:55 +06:00
Ilya Shurumov
29ebb8ffc7 Merge branch 'develop-SoapyMan' of https://github.com/SoapyMan/REDRIVER2 into develop-SoapyMan 2020-11-03 02:25:13 +06:00
Ilya Shurumov
b93582515d - refactor MC_SND.C 2020-11-03 02:22:51 +06:00
Ilya Shurumov
54fa0e6d31 - bump game version
- fix refactoring bugs
2020-11-03 02:21:05 +06:00
Ilya Shurumov
2832d096bd - refactor SOUND.C 2020-11-03 01:16:58 +06:00
Ilya Shurumov
86767ed592 - fix bugs in LoadInAreaTSets 2020-11-02 17:50:45 +06:00
Ilya Shurumov
b8eb282ded - fix texture page slot bug 2020-11-02 17:02:57 +06:00
Ilya Shurumov
a058bbe782 - improve Driver 1 music support
- fix NYC cop track
2020-11-02 13:29:43 +06:00
Ilya Shurumov
1b2b419870 - fix cop speech bugs 2020-11-02 13:29:23 +06:00
Ilya Shurumov
251ec969dc - describe all sound banks
- restore elevator sound in Havana secret base
2020-11-02 02:27:24 +06:00
Ilya Shurumov
eccb674014 - cop speech fixes 2020-11-01 23:55:21 +06:00
Ilya
3041acd2db
Merge branch 'master' into develop-SoapyMan 2020-11-01 22:19:58 +06:00
Ilya Shurumov
41229b722c - refactor MGENERIC.C 2020-11-01 21:55:12 +06:00
Ilya Shurumov
76b1dc7c4f - check ENVSOUND.C 2020-11-01 21:55:02 +06:00
Ilya Shurumov
3ed3d9f013 - complete EVENT.C refactoring 2020-11-01 21:24:31 +06:00
Ilya Shurumov
4984c50d2b - DrawEvents refactoring progress 2020-11-01 18:05:04 +06:00
Ilya Shurumov
a97c1505b7 - make target stop zone smaller 2020-11-01 18:01:29 +06:00
Ilya Shurumov
79668ebbc9 - easier jumping from boat in Boat jump 2020-11-01 18:00:58 +06:00
Ilya Shurumov
8d2c5021e2 - fix EventSurface bug with Rio boat 2020-11-01 17:15:43 +06:00
Ilya Shurumov
8bba4f965d - refactor StepEvents
- fix DrawFerrisWheel bug
- rename SpecialCamera to SetSpecialCamera
2020-11-01 16:22:09 +06:00
Ilya Shurumov
e3ab7f8602 - cops don't spot player if he is above/beyound 2020-11-01 14:03:59 +06:00
Ilya Shurumov
d159638102 - fix EventSurface & StepFromToEvent refactoring errors 2020-11-01 03:12:04 +06:00
Ilya Shurumov
cba665a702 - refactor StepHelicopter, EventSurface 2020-11-01 02:08:41 +06:00
Ilya Shurumov
67814910b7 - fix die with fade in Chicago 2020-11-01 02:08:02 +06:00
Fireboyd78
9e3bdcef42 Caught a couple of pesky _TARGET's who didn't want to get renamed. 2020-10-30 18:39:00 -07:00
Fireboyd78
a07bfed94a Better syntax for self-referencing _EVENT struct. 2020-10-30 18:32:36 -07:00
Fireboyd78
317c75026e Remove unnecessary array-pointer cast. 2020-10-30 18:09:16 -07:00
Fireboyd78
764976f90a Remove overly verbose info from types. 2020-10-30 18:08:42 -07:00
Fireboyd78
d75311ef01 Use LONGVECTOR, LONGQUATERNION instead of long[4].
TODO: Determine where LONGQUATERNION should be used.
2020-10-30 17:57:58 -07:00
Fireboyd78
633cfe9eb5 Refactored all types with the help of regex magic.
- Merged typedef tags and aliases together

- Removed unnecessary declarations of struct/union/enum

- Updated references to tag names to use their aliases instead
  - e.g. "_TARGET" becomes "MS_TARGET", "_EVENT" becomes "EVENT", etc.

- Moved a couple types into their appropriate header files
2020-10-30 17:11:58 -07:00
Ilya Shurumov
88f0fc72f9 - more EVENT.C refactoring progress
- warn about 6.0 version of game in sdGetCell
2020-10-31 04:08:48 +06:00
Ilya Shurumov
eb4e44ebf6 - use previously unused colors in Civ cars 2020-10-30 22:53:55 +06:00
Ilya Shurumov
41f398bfa8 - Do not repeat regions on far distances 2020-10-30 21:55:28 +06:00
Ilya Shurumov
877f09cf34 - [EMU] changed vertex layout 2020-10-30 21:48:02 +06:00
Ilya Shurumov
6dd38563bd - [EMU] Z-PGXP fix projection matrix when different screen offsets set 2020-10-30 21:42:23 +06:00
Ilya Shurumov
b238bf14a1 - base pathfinding map on player's Y position 2020-10-30 15:00:31 +06:00
Ilya Shurumov
5b661423b0 - remove excessive height for CellEmpty 2020-10-30 14:16:46 +06:00
Ilya Shurumov
2664239304 - fix director camera height 2020-10-30 14:14:27 +06:00
Ilya Shurumov
1ab3a6f8bd - even more correct camera calculation 2020-10-30 13:48:36 +06:00
Ilya Shurumov
934a21ec1a - fix SetUpEvents 2020-10-30 12:07:55 +06:00
Ilya Shurumov
f4e8e74dfa - proper Tanner camera calculation
- place Tanner on the ground properly
2020-10-30 12:02:33 +06:00
Ilya Shurumov
3992f59881 - fix bugged SetCameraReturnedFromCutscene 2020-10-30 03:05:42 +06:00
Ilya Shurumov
0c27e05e4c - event camera offsets
- fix crash
2020-10-30 03:05:27 +06:00
Ilya Shurumov
657c9bb5d3 - refactor SetUpEvents, fix bug in VisibilityLists
- added EventCameraOffset for calculating trackable event cameras
2020-10-30 02:24:39 +06:00
Ilya Shurumov
48ec132aff - Apply_InvCameraMatrix* comments and fix 2020-10-29 22:43:42 +06:00
Ilya Shurumov
5091538491 - [EMU] unflip VRAM dump 2020-10-29 22:43:11 +06:00
Ilya Shurumov
d3d8ee8e36 - [EMU] move RTPS/RTPT multiplication code to separate function and shorten code 2020-10-29 20:55:44 +06:00
Ilya Shurumov
0bd5302da3 - fix ResidentModelsBodge refactoring error 2020-10-29 15:49:22 +06:00
Ilya Shurumov
7014e8f6fa - fix object clamping/distortion on far draw distances 2020-10-29 13:01:10 +06:00
Ilya Shurumov
fea9fa6a9d - fix bad Chicago tunnel 2020-10-29 12:12:40 +06:00
Ilya Shurumov
b297468ed0 - [EMU] refactor RotMatrixYXZ (by @Fireboyd78) 2020-10-29 11:43:42 +06:00
Ilya Shurumov
e7285b50f9 - proper fix for drowning with fade
- minor stuff
2020-10-29 11:26:41 +06:00
Ilya Shurumov
d3e09b36f5 - do not drown inside tunnels 2020-10-29 03:06:06 +06:00
Ilya Shurumov
4efed40465 - increase draw list limits for PC 2020-10-29 02:50:42 +06:00
Ilya Shurumov
f1864b8fe9 - clamp PVS cells (fix bad PVS on high draw distances) 2020-10-29 02:31:09 +06:00
Ilya Shurumov
2aa4acaf37 - improve ProcessCosmeticsLump & AddBrakeLight 2020-10-29 01:24:14 +06:00
Ilya Shurumov
764cf45283 - complete GAMESND refactoring 2020-10-29 01:23:44 +06:00
Ilya Shurumov
549db3e237 - added sound constants 2020-10-28 14:17:27 +06:00
Ilya Shurumov
c239654ab4 - refactor IdentifyZone, CalcEffPos 2020-10-28 03:24:47 +06:00
Ilya Shurumov
61c8ea90c8 - refactor more of GAMESND 2020-10-27 22:50:39 +06:00
Ilya Shurumov
d6e9022e9f - fix pedestrian footstep sound Y position 2020-10-27 21:37:27 +06:00
Ilya Shurumov
0337d53736 - added sys_tempalloc and D_TEMPALLOC 2020-10-27 21:37:08 +06:00
Ilya Shurumov
4e511a33eb - fix cops getting stuck at far distances 2020-10-27 15:29:51 +06:00
Ilya Shurumov
7088c96c80 - fix sudden noises, remove block braces 2020-10-27 14:45:08 +06:00
Ilya Shurumov
6020b7823f - complete DoDopplerSFX, refactor DoPoliceLoudhailer 2020-10-27 14:09:17 +06:00
Ilya Shurumov
220ddf7408 - DoDopplerSfx refactoring progress (so annoying tangling) 2020-10-27 02:53:34 +06:00
Ilya Shurumov
4ad6f2f212 - [EMU] utilize stencil buffer for DrawPrim and DrawOTag 2020-10-26 22:27:54 +06:00
Ilya Shurumov
2730ae0841 - fix cop detection far distance bug 2020-10-26 12:21:29 +06:00
Ilya Shurumov
e9258e5a1e - almost half of GAMESND.C refactored 2020-10-26 01:49:56 +06:00
Ilya Shurumov
88d3d3fe10 - Driver 1 music support 2020-10-25 23:27:36 +06:00
Ilya Shurumov
7d93dc1ac1 - [EMU] z buffer and texture filtering configuration support 2020-10-25 21:18:29 +06:00
Ilya Shurumov
6cbfe51fbb Merge branch 'develop-SoapyMan' into pgxpz 2020-10-25 20:35:37 +06:00