Commit Graph

1930 Commits

Author SHA1 Message Date
Ilya Shurumov
ae78de63ca - [Psy-X] attempt to fix broken SDL2 haptics 2021-03-31 14:19:43 +06:00
Ilya Shurumov
1086d3f937 - misc changes to cell object code 2021-03-31 14:19:24 +06:00
Ilya Shurumov
c6a5c2eea8 - optimize sky drawing (by not calling big ass ScaleMatrix) 2021-03-30 12:12:10 +06:00
Ilya Shurumov
cc7f3a972b - reverted dirty hack to display gates in Chicago 2021-03-30 10:41:07 +06:00
Ilya Shurumov
b2b7d1f796 - display gates near Chicago bridges 2021-03-30 03:45:12 +06:00
Ilya Shurumov
81ee5a3a1d - fix SetupResidentModels 2021-03-30 03:05:22 +06:00
Ilya Shurumov
460198ae27 - optimize GetFirstPackedCop and event cell iteration 2021-03-30 03:05:09 +06:00
Ilya Shurumov
4ac1515d2f - fix FE time of day 2021-03-28 16:26:19 +06:00
Ilya Shurumov
4fc19ac046 - reflections depends on wetness better 2021-03-28 03:20:05 +06:00
Ilya Shurumov
ac81375296 - miscellaneous changes & cleanups 2021-03-27 23:23:37 +06:00
Ilya Shurumov
6e08f2452b - small fix 2021-03-27 19:37:31 +06:00
Ilya Shurumov
f1d79da262 - remove Driver1 level support 2021-03-27 19:26:07 +06:00
Ilya Shurumov
e0c3667666 - frontend misc fixes 2021-03-27 19:25:46 +06:00
Ilya Shurumov
06e0cd3b9f - added day time and weather selection in frontend
- remove some badly used vars
2021-03-27 16:06:27 +06:00
Ilya Shurumov
b168a52c9b - rename MALLOC_* to D_MALLOC_* 2021-03-27 16:05:39 +06:00
Ilya Shurumov
78b9653222 - physics broadphase optimization bugfix 2021-03-27 00:31:32 +06:00
Ilya Shurumov
b42b1b6922 - DrawAllBuildings: support cut low detail models 2021-03-26 00:44:47 +06:00
Ilya Shurumov
8901de6472 - misc changes 2021-03-26 00:44:08 +06:00
Ilya Shurumov
c607f73017 - optimize hubcap storage 2021-03-25 18:42:57 +06:00
Ilya Shurumov
2431c7425f - use car cosmetics for hubcap positions 2021-03-25 18:33:05 +06:00
Ilya Shurumov
d789ae4937 - optimize car vs car collisions 2021-03-25 18:32:49 +06:00
Ilya Shurumov
2f272a5375 - [Psy-X] fix port numbers in PadGetState & PadSetAct 2021-03-25 11:39:38 +06:00
Ilya Shurumov
a235dffd3a - increase car wheel landing vibration sensitivity 2021-03-25 03:00:53 +06:00
Ilya Shurumov
46c8c7fccf - fix bugs in HandlePadVibration & HandleDualShock 2021-03-25 02:46:33 +06:00
Ilya Shurumov
171070bdc7 - [Psy-X] Pad vibration support 2021-03-25 02:46:08 +06:00
Ilya Shurumov
85f60b3196 - better 1.0 room hardcoding for Havana3DOcclusion 2021-03-25 01:10:09 +06:00
Ilya Shurumov
973f24fa5d - autodetect Havana 1.0 and 1.1 2021-03-24 23:56:18 +06:00
Ilya Shurumov
1ba93d2ecf - implement 1.1 Havana3DOcclusion
- other misc changes
2021-03-24 23:56:01 +06:00
Ilya Shurumov
c635a22d32 - misc stuff 2021-03-24 23:28:23 +06:00
Ilya Shurumov
666026f4ee - refactored sdGetCell_alpha16, RoadInCell_alpha16 2021-03-24 21:55:26 +06:00
Ilya Shurumov
060cb31b1c - improve RoadInCell readability 2021-03-24 21:55:06 +06:00
Ilya Shurumov
fb60ac1f35 - disable Havana3DOcclusion for demo levels 2021-03-24 19:36:54 +06:00
Ilya Shurumov
c8d2f70f86 - disable events #2 2021-03-24 19:32:54 +06:00
Ilya Shurumov
0fa6f3e783 - disable events on demo levels 2021-03-24 19:24:18 +06:00
Ilya Shurumov
8aeca727a4 - implement RoadInCell_alpha16 2021-03-24 19:21:23 +06:00
Ilya Shurumov
d31391ce48 - support alpha 1.6 heightmap and fix crashes on Demo levels 2021-03-24 19:02:12 +06:00
Ilya Shurumov
1f68e272ae - sky model lifted a little bit 2021-03-24 19:01:38 +06:00
Ilya Shurumov
71dfece717 - fix newest Car bomb getaway pursuit 2021-03-20 13:49:29 +06:00
Ilya Shurumov
c360158ea7 - Frontend: allow holding buttons to change volume 2021-03-20 02:04:47 +06:00
Ilya Shurumov
4421fb88b8 - auto save when quitting game 2021-03-20 02:04:04 +06:00
Ilya Shurumov
1c46d5b121 - resolve mission-requested car creation delay 2021-03-18 12:07:05 +06:00
Ilya Shurumov
0926fd4df1 - add MAX_MISSION_THRADS/TARGETS constant 2021-03-18 12:06:15 +06:00
Ilya Shurumov
e20a61b470 - describe car target flags, remove some bad hardcoding 2021-03-17 23:19:54 +06:00
Ilya Shurumov
6600d5021f - fix "Bank Job" cars blow up after cutscene 2021-03-17 20:50:31 +06:00
Ilya Shurumov
9b985fac0c - final fix for car save-restore 2021-03-16 22:11:25 +06:00
Ilya Shurumov
e526124933 - added Targa loading code 2021-03-16 14:13:04 +06:00
Ilya Shurumov
6d0cbd749c - [Psy-X] support for RGBA texture creation 2021-03-16 01:44:05 +06:00
Ilya Shurumov
c5cbfd36ea - [Psy-X] added custom DR_PSYX_TEX primitive 2021-03-16 01:43:40 +06:00
Ilya Shurumov
8b69472094 - revert back lol 2021-03-16 01:21:25 +06:00
Ilya Shurumov
6e79863e38 - disable poly subdivision when PGXP-Z is ON 2021-03-16 01:12:11 +06:00
Ilya Shurumov
db8461afb0 - [Psy-X] PGXP-Z near and far planes made for individual game adjustment 2021-03-16 00:56:40 +06:00
Ilya Shurumov
d8f5d1d4b8 - tune Z-offset 2021-03-16 00:52:46 +06:00
Ilya Shurumov
e34badb653 - fix tile/ground Z-fighting with PGXP-Z Z-scale 2021-03-16 00:36:15 +06:00
Ilya Shurumov
f37fb68768 - fix sky scaling with PGXP-Z Z-scale 2021-03-16 00:35:39 +06:00
Ilya Shurumov
5b71010fe9 - [Psy-X] implement Z offset for PGXP-Z 2021-03-16 00:35:13 +06:00
Ilya Shurumov
606951e7ed - fix InCar camera rotation in big vehicles 2021-03-15 23:26:44 +06:00
Ilya Shurumov
3bea19235b - added user replay file loading from frontend 2021-03-15 22:43:42 +06:00
Ilya Shurumov
d419f0b4ff - restore cheats and cop difficulty after replays 2021-03-15 00:00:56 +06:00
Ilya Shurumov
eebc85a024 - revert back some Reflections constant 2021-03-14 23:49:52 +06:00
Ilya Shurumov
39527ee03c - fix non-working lightsOnDelay 2021-03-14 23:49:11 +06:00
Ilya Shurumov
fd080ff062 - fix civ AI incorrect lane clamping when contining via connection 2021-03-14 23:30:45 +06:00
Ilya Shurumov
54532236b0 - [Psy-X] adjust perspectivae near clipping plane 2021-03-14 23:29:44 +06:00
Ilya Shurumov
b0d862820f - added DEBUG_PATHFINDING_VIEW switch 2021-03-14 23:29:09 +06:00
Ilya Shurumov
87d75d52f1 - fix missing overhead map transparency 2021-03-10 20:37:54 +06:00
Ilya Shurumov
677bdf2c1c - additional car light brightness and color correction 2021-03-10 17:06:34 +06:00
Ilya Shurumov
4ddf4d4c06 - tune lights sizes and brightness 2021-03-10 16:19:47 +06:00
Ilya Shurumov
8393c28f70 - misc stuff 2021-03-10 01:01:48 +06:00
Ilya Shurumov
345a4f5563 - better cell indexing 2021-03-10 01:01:38 +06:00
Ilya Shurumov
5b1ddb2d40 - fix pathfinding bug caused by dumb replacement 2021-03-05 02:09:35 +06:00
Ilya Shurumov
66685e6922 - [Psy-X] don't allow app window to be topmost 2021-03-04 20:32:25 +06:00
Ilya Shurumov
d0d3f5009a - HandleDualShock to be processed on PC version 2021-03-04 20:31:53 +06:00
Ilya Shurumov
e2e9b691a2 - overmap misc 2021-03-04 20:31:29 +06:00
Ilya Shurumov
94a666959b - fix bug with constantly appearing message in "Escape Brazillians" 2021-03-04 20:31:13 +06:00
Ilya Shurumov
981319bd2a - no more funky crashes caused by leaves, debris, smoke and sparks 2021-03-02 02:10:38 +06:00
Ilya Shurumov
d9f17077a5 - bug fix 2021-03-02 00:43:15 +06:00
Ilya Shurumov
81de80878f - [Psy-X] proper double-buffer VRAM texture and vertex buffer 2021-03-02 00:38:42 +06:00
Ilya Shurumov
6101f2373d - [Psy-X] optimized version of half floats 2021-03-02 00:08:11 +06:00
Ilya Shurumov
15ce33b102 - [Psy-X] optimized version of gte_leadingzerocount 2021-03-02 00:07:54 +06:00
Ilya Shurumov
528fd0b9b0 - resolve the mess of PlaceCameraInCar code, fix pedestrian drawing in that
- remove obsolete commented stuff
2021-02-27 15:07:36 +06:00
Ilya Shurumov
d5cad4abbd - linux compile fix 2021-02-27 00:07:01 +06:00
Ilya Shurumov
43832eebbf - [Psy-X] allow to switch texture filtering in non-debug builds 2021-02-26 23:56:17 +06:00
Ilya Shurumov
5cd3a284e0 - added filesystem utilities 2021-02-26 23:37:17 +06:00
Ilya Shurumov
c164a6d2de - improve replay saving prompt 2021-02-26 23:37:08 +06:00
Ilya Shurumov
642eba4348 - fix Tanner width in shadow 2021-02-26 22:34:34 +06:00
Ilya Shurumov
e7b35d1661 - bilinear filtering can be toggled with F3 button 2021-02-26 21:40:45 +06:00
Ilya Shurumov
ee921d6e4f - replay saving now prompts a name from User 2021-02-26 02:16:45 +06:00
Ilya Shurumov
bd622bf54b - reworked pause menu text input 2021-02-26 01:35:18 +06:00
Ilya Shurumov
0004082ede - score name entering now support keyboard input 2021-02-26 01:05:22 +06:00
Ilya Shurumov
d6f28a7ce9 - [Psy-X] handle keyboard text input 2021-02-26 01:05:00 +06:00
Ilya Shurumov
01d3298fe1 - remove obsolete memory card manager 2021-02-25 14:45:26 +06:00
Ilya Shurumov
c1c2d03587 - optimize Tanner shadow, resolve his lag in free camera caused by it 2021-02-23 17:26:47 +06:00
Ilya Shurumov
9c632a315d - fix tyre track creation on far distances 2021-02-23 14:04:05 +06:00
Ilya Shurumov
843f982195 - properly reset tyre tracks positions 2021-02-23 13:40:49 +06:00
Ilya Shurumov
3cd2f623db - attempt to fix skidding sound 2021-02-23 12:57:30 +06:00
Ilya Shurumov
18226059b3 - fix pause menu frame width 2021-02-23 12:26:36 +06:00
Ilya Shurumov
bc40b4f379 - fix FEPrintStringSized ASCII range 2021-02-23 02:10:03 +06:00
Ilya Shurumov
51526d5329 - [Psy-X] different fix on limits.h 2021-02-22 16:27:42 +06:00
Ilya Shurumov
522b32b871 - fix FixCarCos called twice when car is spooled 2021-02-22 16:00:12 +06:00
Ilya Shurumov
23d6dd764a - fix mini cars cheat car offset 2021-02-22 15:22:12 +06:00
Ilya Shurumov
f1d060858d - added config option to disable Chicago bridges 2021-02-22 15:12:03 +06:00
Ilya Shurumov
f93d6ffec2 - added fieldOfView config setting 2021-02-22 14:50:26 +06:00
Ilya Shurumov
27631e5acf - [PSY-X] fix GNU compile error 2021-02-22 14:43:17 +06:00
Ilya Shurumov
013ccc59a2 - [Psy-X] complete controller mapping, added inverse axis mapping 2021-02-22 14:09:56 +06:00
Ilya Shurumov
a67ebbda02 - minor changes
- update README.md
2021-02-22 12:42:55 +06:00
Ilya Shurumov
4e4b8e4d9a - [Psy-X] disable system mouse cursor visibility 2021-02-20 15:46:02 +06:00
Ilya Shurumov
2f66b1a104 - [Psy-X] implement SpuGetReverbVoice 2021-02-20 15:31:48 +06:00
Ilya Shurumov
df06e7126d - don't load SCRS after Bonus Gallery 2021-02-20 15:15:55 +06:00
Ilya Shurumov
b21e04b9ae - fix FMV player memory leak in Audio 2021-02-20 15:15:33 +06:00
Ilya Shurumov
54177774a8 - [Psy-X] fix shutdown 2021-02-20 15:15:20 +06:00
Ilya Shurumov
a299a002a0 - make pretty little of the damage code 2021-02-19 19:01:17 +06:00
Ilya Shurumov
592d66b13d - minor fullscreen map fix 2021-02-19 15:36:08 +06:00
Ilya Shurumov
d84ae6c654 - support for controller remapping [WIP] 2021-02-19 14:53:39 +06:00
Ilya Shurumov
e73ed8f635 - added dedicated look back button (default L3) 2021-02-19 14:11:59 +06:00
Ilya Shurumov
2cf1f1ccf4 - added dedicated car entry/exit button (default is R3) 2021-02-19 13:58:25 +06:00
Ilya Shurumov
22d459c5cb - make language text checks only for Dev and Debug build 2021-02-19 13:21:36 +06:00
Ilya Shurumov
a53d5e094a - added current language characters check in InitStringMng 2021-02-19 13:08:33 +06:00
Ilya Shurumov
222c983fc2 - fixed font character display when symbols are not present 2021-02-19 13:08:02 +06:00
Ilya Shurumov
a9e385c61f - bump version 2021-02-18 01:22:14 +06:00
Ilya Shurumov
d72f348914 - minor fix for survival 2021-02-18 01:22:04 +06:00
Ilya Shurumov
3fdd9db9dc - fix shadow and map rendering when bilinear filtering is on 2021-02-16 23:16:00 +06:00
Ilya Shurumov
cba4736615 - [Psy-X] improve bilinear filtering of TILE* primitives 2021-02-16 22:02:17 +06:00
Ilya Shurumov
6c95c65abc - support loading chase replay format from Driver2CutsceneTool 2021-02-15 22:27:55 +06:00
Ilya Shurumov
677b0a9ac6 - cutscene system to load ReChases or UserChases first 2021-02-15 14:25:39 +06:00
Ilya Shurumov
d8bf3139b2 - support loading replacement cutscene bundle files 2021-02-15 03:45:45 +06:00
Ilya Shurumov
5b5a910af7 - save cutscene recorder files to CUT<mission number> folder 2021-02-15 03:45:19 +06:00
Ilya Shurumov
489c47f654 - change left printfs to printInfo/printError 2021-02-15 03:17:44 +06:00
Ilya Shurumov
33cb04ea9c - [Psy-X] added log flush 2021-02-15 01:08:57 +06:00
Ilya Shurumov
019c38c5ce - [Psy-X] redone logging system, console now only shows in Debug build
- [Psy-X] added log file creation
2021-02-15 01:05:50 +06:00
Ilya Shurumov
6bf3bb9ba2 - trying to fix 1.1 missions 2021-02-06 03:34:39 +06:00
Ilya Shurumov
a96362f6ef - don't fail Pursue Jericho when car is wrecked 2021-02-06 02:15:42 +06:00
Ilya Shurumov
45ca4a1c0a Merge branch 'develop-SoapyMan' of https://github.com/OpenDriver2/REDRIVER2 into develop-SoapyMan 2021-02-06 02:15:05 +06:00
Ilya Shurumov
19ae398c3e - fix Tanner shadow height 2021-02-04 17:55:59 +06:00
Ilya Shurumov
1d417c18cb - Attempt to fix mission car targets again 2021-02-04 17:55:25 +06:00
Ilya Shurumov
0a51cffa9c - revert some areadata loading code 2021-02-04 14:38:35 +06:00
Ilya Shurumov
5d7f77ce6a - fixed destroyed mission car not able to fail the mission 2021-02-04 14:31:52 +06:00
Ilya Shurumov
bb2d2c1421 - fixed destroyed mission car not able to fail the mission 2021-02-04 02:22:12 +06:00
Ilya Shurumov
951f26d2f6 - fix refactoring bug causing stack overflow in "Car Bomb" explosion 2021-02-02 16:11:05 +06:00
Ilya Shurumov
ab4eeafe69 - described some V1.1 patches 2021-01-30 01:13:53 +06:00
Ilya Shurumov
184efd1d3f - described mission target and timer flags 2021-01-30 01:12:56 +06:00
Ilya Shurumov
b13e060b40 - XMPlay - removed PS2 related defines 2021-01-30 01:11:45 +06:00
Ilya Shurumov
280245b369 - described some target flags
- added missing translations
2021-01-22 15:54:34 +06:00
Ilya Shurumov
68cee07bac - [Psy-X] [SPU-AL] attempt to fix incorrectly playing sounds caused by other thread calls 2021-01-21 14:07:25 +06:00
Ilya Shurumov
9d99bbedc5 - translation updates
- fix Italian translation problems
2021-01-20 23:50:52 +06:00
Ilya Shurumov
50a60a5e3a - fix incorrect Spu allocation 2021-01-19 22:31:53 +06:00
Ilya Shurumov
aaad1b7a82 - fix for Tanner head sprite being too long in shadow 2021-01-19 22:05:07 +06:00
Ilya Shurumov
5f24e3259e - add translation lookup for "Getaway is" and DISC changes 2021-01-19 18:10:45 +06:00
Ilya Shurumov
3952d995ae - added fancy sequence of changing disc on PC 2021-01-19 18:10:13 +06:00
Ilya Shurumov
e4a6e972bb - initialize most of LeadAI variables to fix bugs 2021-01-18 22:47:48 +06:00
Ilya Shurumov
4399963f0d - fix Psy-X not getting optimization 2021-01-18 21:17:54 +06:00
Ilya Shurumov
d624492f80 - [Psy-X] fix bad OpenGL call 2021-01-18 18:29:34 +06:00