Commit Graph

1930 Commits

Author SHA1 Message Date
Ilya Shurumov
b3508e93cf - properly re-refactor SelectExit 2021-01-15 13:57:40 +06:00
Ilya Shurumov
411cfe69f9 - fix REFACTOR_LEVEL switch were not working 2021-01-15 12:32:24 +06:00
Ilya Shurumov
c18e3fd2f6 - LeadAI: change state, fix chell height issue 2021-01-15 12:29:43 +06:00
Ilya Shurumov
859ef2f630 - fix bug, add unrefactored code switching for comparison 2021-01-15 00:29:25 +06:00
Ilya Shurumov
ccda436516 - additions to LeadAI debug texts 2021-01-14 23:53:22 +06:00
Ilya Shurumov
10e58d09b2 - remove decompile verbose information from LEADAI.C 2021-01-14 23:33:21 +06:00
Ilya Shurumov
d79b4221f2 - UpdateRoadPosition refactoring progress 2021-01-14 23:08:02 +06:00
Ilya Shurumov
315a34487d - UpdateRoadPosition refactoring progress 2021-01-14 20:58:03 +06:00
Ilya Shurumov
4eecd43554 - UpdateRoadPosition refactoring progress
- removed MAX_TRAFFIC_CARS as redundant
2021-01-14 19:44:28 +06:00
Ilya Shurumov
982c07bb3c - increase OTSIZE value for PC version 2021-01-12 23:47:01 +06:00
Ilya Shurumov
a4f2e495f4 - restored proper barrier collision checks 2021-01-12 23:29:24 +06:00
Ilya Shurumov
afd2c1dca8 - [Psy-X] defining AMD PowerXpress and Nvidia Optimus exports for Windows 2021-01-12 22:40:17 +06:00
Ilya Shurumov
3d65ed06a3 - missed scores text to be translated 2021-01-12 02:29:01 +06:00
Ilya Shurumov
32a2a329fb - [Psy-X] experimental blitting framebuffer into GPU instance of PSX VRAM 2021-01-09 15:58:02 +06:00
Ilya Shurumov
a43d18ca9a - [Psy-X] always blit backbuffer to VRAM 2021-01-09 15:44:29 +06:00
Ilya Shurumov
78e8bb3aea - [Psy-X] offscreen target blit to GPU instance of PSX VRAM 2021-01-09 15:11:07 +06:00
Ilya Shurumov
4394c66e0d - [Psy-X] additional shader compilation checks 2021-01-09 15:01:17 +06:00
Ilya Shurumov
05ca0aee3e - [Psy-X] utilize GL_PIXEL_PACK_BUFFER for offscreen rendering and blitting back buffer 2021-01-08 15:18:24 +06:00
Ilya Shurumov
4ae74e4142 - properly check collisions with barriers
- zero AL source in UnprepareXA
2021-01-08 14:13:58 +06:00
Ilya Shurumov
6f2a3257e7 - [Psy-X] disable glFinish in PsyX_WaitForTimestep as it heavily degrades framerate in map view 2021-01-06 21:15:53 +06:00
Ilya Shurumov
e787a8a928 - [Psy-X] [SPU-AL] fix incorrect loop points causing clicking 2021-01-04 15:33:29 +06:00
Ilya Shurumov
4bdd769ea7 - [Psy-X] misc stuff 2021-01-04 15:14:39 +06:00
Ilya Shurumov
d0f846bea0 - [Psy-X] [SPU-AL] fix OpenAL errors and added checks 2021-01-04 15:06:04 +06:00
Ilya Shurumov
fcc45cc029 - minor code changes 2021-01-04 05:20:15 +06:00
Ilya Shurumov
bef62298e3 - [Psy-X] 64 bit support for primitives 2021-01-04 05:19:57 +06:00
Ilya Shurumov
dfbb060ca9 - added FEscreens.inc and option to not load SCRS.BIN 2021-01-04 00:35:55 +06:00
Ilya Shurumov
c75b38be42 - [Psy-X] compile GL shaders with lowest possible GLSL version 2021-01-03 17:15:04 +06:00
Ilya Shurumov
3273d92f3a - [Psy-X] add SetDrawTPage as function 2021-01-03 17:14:11 +06:00
Ilya Shurumov
ac0cb1bf97 - [Psy-X] revert input reads in thread 2021-01-02 16:59:56 +06:00
Ilya Shurumov
4afefb6cd6 - fix buffer overflow when loading FEFONT.BNK of certain versions of the game 2021-01-02 16:47:46 +06:00
SoapyMan
e00a3d4515 - don't draw CD icon if not set up (paranoid) 2021-01-02 15:39:48 +06:00
SoapyMan
feaa5b7770 - fix clipping issue on singleplayer 2021-01-02 15:26:59 +06:00
Ilya Shurumov
6841a82b52 - fix multiplayer screen clipping with PGXP widescreen 2021-01-02 15:01:59 +06:00
Ilya Shurumov
17609f528c - [Psy-X] move controller reads to intrThread
- [Psy-X] implement simple PadStartCom, PadStopCom
2021-01-02 15:01:03 +06:00
Ilya Shurumov
abdfeda868 - re-organize FEmain, use current draw buffer polygons instead of static 2021-01-01 18:01:30 +06:00
Ilya Shurumov
081d63ffe6 - [Psy-X] [test] new vblank method test 2020-12-31 14:31:38 +06:00
Ilya Shurumov
0bc55d4cba - fix frontend ordering table errors
- used constants for OT
2020-12-31 14:30:51 +06:00
Ilya Shurumov
d1bba3142e - fix too small buffer in filename 2020-12-31 03:43:50 +06:00
Ilya Shurumov
4bbe787a43 - [Psy-X] complete set of GTE opcodes 2020-12-30 13:16:02 +06:00
Ilya Shurumov
cff2f6e7f0 - [Psy-X] full macro collection
- [Psy-X] removed gte_ldlzc function
- [Psy-X] described some LIBAPI.H prototypes
2020-12-30 03:27:29 +06:00
Ilya Shurumov
7c54aba8d9 - move language files to game data folder 2020-12-29 22:21:57 +06:00
Ilya Shurumov
2cf0642cd0 Merge branch 'master' of https://github.com/OpenDriver2/REDRIVER2 into develop-SoapyMan 2020-12-29 22:08:47 +06:00
Ilya Shurumov
08b155c55a - cleanup gitignore 2020-12-29 22:08:27 +06:00
50thomatoes50
d787766abf use unsigned char to support extended ascii 2020-12-29 11:58:36 +01:00
SoapyMan
db1f347b64 - fix building on Linux
- fix bugged video playback
- remove bad file
2020-12-28 20:27:23 +06:00
Ilya Shurumov
96ee21e921 - added gmake2 bash script 2020-12-28 19:43:05 +06:00
Ilya Shurumov
811f4babdb - fix rename 2020-12-28 19:41:40 +06:00
Ilya Shurumov
135b030e72 Merge branch 'develop-SoapyMan' of https://github.com/OpenDriver2/REDRIVER2 into develop-SoapyMan 2020-12-28 19:39:38 +06:00
Ilya Shurumov
e2684f3ff3 - [Psy-X] more GTE functions, fix macros 2020-12-28 19:39:26 +06:00
Ilya Shurumov
ab912e72b7 - fixing build errors 2020-12-28 17:41:54 +06:00
Ilya Shurumov
17c22c30d9 - fix linux build 2020-12-28 17:25:36 +06:00
Ilya Shurumov
a3cd4279a6 - fix PSX compile errors 2020-12-28 16:07:24 +06:00
Ilya Shurumov
9634f2c86f - fix linux build 2020-12-28 14:57:08 +06:00
Ilya Shurumov
e65f046e4c - decapitalize every filename, fix bad commit 2020-12-28 14:51:40 +06:00
Ilya Shurumov
0c05af3318 - [Psy-X] some renames 2020-12-27 21:13:57 +06:00
Ilya Shurumov
344023f2b0 - remove MIP files, move functions to their proper sources 2020-12-27 21:13:32 +06:00
Ilya Shurumov
0f78957f4d - [Psy-X] allow to fallback OpenGL context from 3.3 to 3.0 2020-12-25 18:30:05 +00:00
SoapyMan
06ac904300 - fix bonus gallery drawing 2020-12-25 00:40:30 +06:00
SoapyMan
583e792954 - bump version 2020-12-25 00:29:24 +06:00
SoapyMan
6882c95f57 - fix buffer overrun issues 2020-12-25 00:26:23 +06:00
Ilya Shurumov
fcb92078fc - [Psy-X] split renderer from system to separate files 2020-12-24 23:11:03 +06:00
Ilya Shurumov
194519f1b0 - [Psy-X] fully reorganize source files structure 2020-12-24 22:44:40 +06:00
Ilya Shurumov
e3d2eedcde - fix Tanner shadow UVs and drawing mode 2020-12-24 17:32:22 +06:00
Ilya Shurumov
fe135fdd8d - [Psy-X] proper geometry offsets for offscreen rendering 2020-12-24 17:14:41 +06:00
Ilya Shurumov
8f30b04e2d - enable Tanner shadow (WIP) 2020-12-24 16:00:15 +06:00
Ilya Shurumov
f89b219a56 - [Psy-X] offscreen drawing support (WIP) 2020-12-24 16:00:03 +06:00
Ilya Shurumov
31479d87a6 - [Psy-X] split draw batch for offscreen 2020-12-24 12:41:36 +06:00
Ilya Shurumov
33bf94c404 - improve tree shadow draw distance 2020-12-23 22:25:32 +06:00
Ilya Shurumov
ca1303d94b - [Psy-X] pretty some LibGPU stuff 2020-12-23 22:25:13 +06:00
Ilya Shurumov
a479c10cbe Merge branch 'develop-SoapyMan' of https://github.com/OpenDriver2/REDRIVER2 into develop-SoapyMan 2020-12-23 21:22:18 +06:00
Ilya Shurumov
a6b80c7213 - improve car cop lights code flow 2020-12-23 16:21:54 +06:00
Ilya Shurumov
b092358afd - final fix for car save/restore 2020-12-23 15:25:36 +06:00
Ilya Shurumov
f46571fba8 - fix game not saving cars correctly 2020-12-23 14:39:16 +06:00
Ilya Shurumov
ea920407ef - [Psy-X] add LibPress prototypes 2020-12-23 06:09:51 +06:00
Ilya Shurumov
2abd4b3c5f - [Psy-X] improve GTE code 2020-12-23 05:55:30 +06:00
Ilya Shurumov
f93c0c4275 - [Psy-X] remove SDL_Delay due to Windows 16ms problem 2020-12-23 03:15:51 +06:00
Ilya Shurumov
bb7e74299d - revert LeadAI changes 2020-12-23 02:26:31 +06:00
Ilya Shurumov
7fd3c10fad - [Psy-X] fix incorrect use of perofmance counter 2020-12-23 01:56:11 +06:00
Ilya Shurumov
1c64d3cd39 - [Psy-X] implement missing LibGTE functions
- [Psy-X] split complex GTE macros to GTEMAC.H
2020-12-23 01:09:29 +06:00
Ilya Shurumov
dfaff78e57 - fix frontend cutscene screen crash 2020-12-22 21:26:02 +06:00
Ilya Shurumov
88cdc7d12d - correct minigames language texts
- update config
2020-12-22 21:21:29 +06:00
Ilya Shurumov
4095ed22cc - improve MS_TARGET related code
- use intptr_t for SetMSoundVar
2020-12-22 21:05:06 +06:00
Ilya Shurumov
c8b022c185 - fix frontend crash
- fix score table not scrolling cities
2020-12-22 18:18:06 +06:00
Ilya Shurumov
61da501ade - add installation verification 2020-12-22 18:04:33 +06:00
Ilya Shurumov
b9380ea52a Merge branch 'develop-SoapyMan' of https://github.com/OpenDriver2/REDRIVER2 into develop-SoapyMan 2020-12-22 17:48:11 +06:00
Ilya Shurumov
6e895f5877 - convert all strings to locale strings
- MODEL data accessors
2020-12-22 17:46:42 +06:00
Ilya Shurumov
3cd14f3292 - implement Driver 1 PC language loader 2020-12-22 17:45:33 +06:00
SoapyMan
87621be8f6 - giving some love and compilation fixes to linux build
- [Psy-X] api improvements
2020-12-21 23:10:29 +06:00
Ilya Shurumov
bf244e5560 - [Psy-X] misc shader stuff 2020-12-21 16:36:04 +06:00
Ilya Shurumov
0a1890da29 - [Psy-X] fix old Intel Graphics white textures 2020-12-21 03:21:29 +06:00
Ilya Shurumov
37476da6af - [Psy-X] try dealing with OpenGL problems 2020-12-20 22:40:04 +06:00
Ilya Shurumov
0257e5ece3 - change optimize "Full" to "Speed" 2020-12-20 16:40:16 +06:00
Ilya Shurumov
483b2ccdcd - [Psy-X] optimize render API calls 2020-12-20 15:37:38 +06:00
Ilya Shurumov
be421d1591 - clamp map UVs (fixes Rio overhead map) 2020-12-20 14:10:31 +06:00
Ilya Shurumov
6bd481abe5 - [Psy-X] glFinish before waiting for timestep 2020-12-19 21:54:06 +06:00
Ilya Shurumov
d06abe52f4 - [Psy-X] fix swap interval issues 2020-12-19 21:40:10 +06:00
Ilya Shurumov
1b0750be48 - don't allow cutscene pedestirans to get control over cars 2020-12-19 21:30:39 +06:00
Ilya Shurumov
33c57819c4 - fix player car flaming engine in cutscene 2020-12-19 21:25:02 +06:00
Ilya Shurumov
d174d59a1c - fix Cop AI sight angle bug 2020-12-19 21:19:40 +06:00
Ilya Shurumov
908df690ad - bump version
- revert back node code
2020-12-19 15:48:32 +06:00
Ilya Shurumov
21e79e8fd4 - mission target data access to union members 2020-12-19 15:41:47 +06:00
Ilya Shurumov
2082f2e16b - correct CreateCivCarWotDrivesABitThenStops 2020-12-19 15:41:15 +06:00
Ilya Shurumov
797b7ce49d - flip Lose tail logic 2020-12-19 03:52:20 +06:00
Ilya Shurumov
df237c9c2b - [Psy-X] Emulator_ReadFramebufferDataToVRAM does flip with GL 2020-12-17 18:27:16 +06:00
Ilya Shurumov
34d619b972 - optimize framebuffer copy 2020-12-17 17:23:14 +06:00
Ilya Shurumov
714323d586 - better lensflare handling in PGXP 2020-12-17 17:04:20 +06:00
Ilya Shurumov
08859659c2 - fix resident models picking bug 2020-12-17 16:01:29 +06:00
Ilya Shurumov
c50fb3d043 - lens flare works 2020-12-17 15:57:15 +06:00
Ilya Shurumov
6bc5b76ca5 - [Psy-X] added framebuffer blitting 2020-12-17 15:57:04 +06:00
Ilya Shurumov
00ed36d2fc - even better Civ AI steering acceleration handling 2020-12-16 04:27:36 +06:00
Ilya Shurumov
ff7af5c87d - improve Civ AI acceleration when steering
- attempt to fix Civ AI backwards crawl
2020-12-16 04:07:26 +06:00
Ilya Shurumov
c8bd9c59f8 - completely fix Nvidia UV problems 2020-12-13 19:25:45 +06:00
Ilya Shurumov
ab9327f5fc - fix bad sky colours during transitions 2020-12-12 16:51:24 +06:00
Ilya Shurumov
b2b8dda9d2 - debug display of road properties 2020-12-12 16:44:00 +06:00
Ilya Shurumov
5e410d2a66 - better resident car slots setup to avoid duplicate car loading 2020-12-12 14:59:02 +06:00
Ilya Shurumov
dbea639bce - disable new palette allocation to avoid graphical bugs 2020-12-12 14:39:26 +06:00
Ilya Shurumov
6ec12383df - improve logic on carrying over felony over car and Tanner 2020-12-12 13:51:19 +06:00
Ilya Shurumov
9892434fac - allow Civ AI's horn doppler 2020-12-12 13:50:47 +06:00
Ilya Shurumov
ca1fa3d8c5 - fix overhead map drawing targets in wrong OT 2020-12-12 13:40:11 +06:00
Ilya Shurumov
bd08a5f149 - add original debug messages 2020-12-12 13:39:44 +06:00
Ilya Shurumov
2290e4ac0a - fix map offset slightly off
- add dot to sign cone
2020-12-12 03:24:02 +06:00
Ilya Shurumov
3381144471 - prettier overhead map rendering 2020-12-12 01:30:30 +06:00
Ilya Shurumov
a38995457b - misc simplify in DR2ROADS 2020-12-12 01:30:11 +06:00
Ilya Shurumov
4fecd869f7 - fix denting limits 2020-12-12 01:29:45 +06:00
Ilya Shurumov
3c86a55676 - more meaning into roadmap stuff 2020-12-11 19:30:33 +06:00
Ilya Shurumov
58aa452f36 - disable obsolete Driver 1 code 2020-12-11 16:52:27 +06:00
Ilya Shurumov
62987145f5 - describe model and shape flags 2020-12-11 16:20:48 +06:00
Ilya Shurumov
00d5063bfc - fix building 2020-12-11 03:06:44 +06:00
Ilya Shurumov
d3b9ee08ef - fix premake 2020-12-11 03:00:17 +06:00
Ilya Shurumov
0a24b2672e - [Psy-X] add RENDERER_OGL to config 2020-12-11 02:52:58 +06:00
Ilya Shurumov
5818349320 - separate some premake stuff to x86 and x64 2020-12-11 02:47:59 +06:00
Ilya Shurumov
79e7985879 - [Psy-X] a lot more friendly polygon code
- [Psy-X] moved some vital defines to PGXP_CONFIG.H
2020-12-11 02:47:44 +06:00
Ilya Shurumov
2517f0418e - share options to workspace in premake.lua
- disable annoying GCC warnings
2020-12-10 12:52:50 +06:00
Ilya Shurumov
5f9e5fcc52 - [Psy-X] fix more problems with primitive iteration 2020-12-09 23:37:10 +06:00
Ilya Shurumov
297ceca586 - camera buttons to react on change key once
- misc code changes
2020-12-09 22:57:59 +06:00
Ilya Shurumov
6bb04ec7e3 - fix game's "unimplemented" not printing function name 2020-12-09 22:47:26 +06:00
Ilya Shurumov
5d1d1f5c4e - [Psy-X] disable "Unimplemented" messages in non-debug builds 2020-12-09 22:46:53 +06:00
Ilya Shurumov
22f73f0568 - [Psy-X] fix bug in ClearOTag, fix build errors without USE_32_BIT_ADDR 2020-12-09 21:46:39 +06:00
Ilya Shurumov
3f236b7630 - misc math stuff 2020-12-09 15:50:50 +06:00
Ilya Shurumov
38972cd5a3 - cleaning up decompiler stuff as not needed (pt.3) 2020-12-09 14:33:57 +06:00
Ilya Shurumov
807594c648 - [Psy-X] fix building with PGXP completely disabled 2020-12-09 03:38:43 +06:00
Ilya Shurumov
9aef6b252c - fix mistake 2020-12-09 03:33:32 +06:00
Ilya Shurumov
b5cab41dc8 - cleaning up decompiler stuff as not needed (pt.2) 2020-12-09 02:53:20 +06:00
Ilya Shurumov
025326cdb5 - cleaning up decompiler stuff as not needed (pt.1) 2020-12-09 01:20:53 +06:00
Ilya Shurumov
54b3ed3b79 - improve bcollide & CheckScenaryCollisions 2020-12-09 00:41:43 +06:00
Ilya Shurumov
7f728ad3c4 - sort all types in DR2TYPES.H
- move some types to their source files if used only once
- remove unnecessary types
2020-12-09 00:30:02 +06:00
Ilya Shurumov
3158ea28d6 - more longs to ints 2020-12-08 23:12:17 +06:00
Ilya Shurumov
0bd12cf1b3 - lots, lots and lots of changes of some complex types to typedefs 2020-12-08 22:45:14 +06:00
Ilya Shurumov
11d02e7bb0 - fix cop cars playing music instead of siren 2020-12-07 12:40:20 +06:00
Ilya Shurumov
d7e3ef0db7 - don't give player a felony when he gets to own cop car
- misc changes
2020-12-07 12:36:08 +06:00
Fireboyd78
1a67d157ff Fixed pause menu bug in Multiplayer that crashed the game. 2020-12-06 13:28:58 -08:00
Ilya Shurumov
fed9e6ff11 - dirty fix for loading multi-palette textures 2020-12-07 02:29:41 +06:00
Ilya Shurumov
9e9187e898 - allow denting to be externally loaded 2020-12-06 17:29:38 +06:00
Ilya Shurumov
378b9e9751 - introduce limits on denting 2020-12-06 16:12:06 +06:00
Ilya Shurumov
43324503ba - increase car denting buffers size 2020-12-04 21:23:21 +06:00
Ilya Shurumov
7e9edaf999 Merge branch 'refactor-LEADAI' into develop-SoapyMan 2020-12-03 19:01:24 +06:00
Ilya Shurumov
c187a98658 - Retro: Press Select to toggle overlays + hide HUD when editing camera 2020-12-02 22:07:52 +06:00
Ilya Shurumov
463200b846 - fix Vegas event setup later causing crash in mission "Destroy the yard" 2020-12-02 21:38:57 +06:00
Ilya Shurumov
6acb68ed0c - [Psy-X] switch for enabling swap interval
- disable swap interval during loading
2020-12-02 13:17:13 +06:00
Ilya Shurumov
69a868af07 - use texture detail's position instead of TIMs 2020-12-02 13:12:54 +06:00
Ilya Shurumov
88b3a49eae - disable Civ AI debug view 2020-12-02 13:12:31 +06:00
Ilya Shurumov
865c2339be - fix Civ AI road selection on junction, yielding and parking problems 2020-12-02 03:26:46 +06:00
Ilya Shurumov
ca6b59040d - fix pedestrian LOD head drawing 2020-12-01 19:14:54 +06:00
Ilya Shurumov
fa6d4c6a82 - widescreen clipping on overlay map
- [Psy-X] double-buffer VRAM (for future purposes)
- [Psy-X] fix some headers
2020-12-01 19:03:03 +06:00
Ilya Shurumov
3ca3bdf1ae - fix fullscreen map UVs 2020-12-01 18:37:00 +06:00
Ilya Shurumov
60c070d745 - change hubcap height 2020-12-01 18:06:24 +06:00
Ilya Shurumov
3b6a08b8ad - PlotBuildingModelSubdivNxN to draw GT4 polys 2020-12-01 18:06:15 +06:00
Ilya Shurumov
951f38286d - [Psy-X] re-enable OpenGL VSync 2020-12-01 18:01:32 +06:00
Ilya Shurumov
88b24e4709 - bringing Skip Cutscene to Release build
- fix compile error
2020-12-01 16:47:40 +06:00
Ilya Shurumov
ec633746d4 - fix spooled car texture override 2020-12-01 16:40:53 +06:00
Ilya Shurumov
aa4e0b9434 - added -exportxasubtitles command line parameter 2020-12-01 16:33:04 +06:00
Ilya Shurumov
b167528cdc - comment printing CIV AI debug stuff 2020-12-01 16:25:09 +06:00
Ilya Shurumov
41f652487c - don't put tyre tracks on event surfaces 2020-12-01 16:23:48 +06:00
Ilya Shurumov
926cc8ca4e - fix CIV AI turning on narrow roads and lane fitting bug 2020-12-01 15:56:45 +06:00
Ilya Shurumov
66fd73237b - restore Vegas event 2020-12-01 04:02:14 +06:00
Ilya Shurumov
f852f9bb1c - fix crash when rendering tiles (if first started with LOD) 2020-11-30 22:17:51 +06:00
Ilya Shurumov
421a0e57cd - driving game overlays are now aligned to widescreen
- "Out of tape" aligned to widescreen
2020-11-30 20:56:10 +06:00
Ilya Shurumov
3d800a6e56 - texture override based on City Type (Day/Night/Multi/MultiNight) 2020-11-30 16:11:08 +06:00
Ilya Shurumov
259a1b7ab2 - allow overriding spooled area textures 2020-11-30 15:54:47 +06:00
Ilya Shurumov
18464ba2db - always load cosmetics from LCF 2020-11-30 04:32:05 +06:00
Ilya Shurumov
4ab66c1b06 - allow spooled models to be overriden 2020-11-30 04:22:00 +06:00
Ilya Shurumov
34595a57ca - add spooled texture override 2020-11-30 03:51:20 +06:00
Ilya Shurumov
61fae9390a - separate texture loading to LoadTPageFromTIMs 2020-11-30 03:51:10 +06:00
Ilya Shurumov
da834e3c42 - add detail number suffix to TIM filename 2020-11-30 03:03:57 +06:00
Ilya Shurumov
798972785c - support for direct texture loading 2020-11-30 01:21:59 +06:00
Ilya Shurumov
a8ac1958ee - support for direct model loading (overriding LEV files) 2020-11-30 01:21:33 +06:00
Ilya Shurumov
804a8db8a7 - move FindModel*WithName to MODELS.C 2020-11-29 20:23:31 +06:00
Ilya Shurumov
514d429bbd - fix Frontend SetVariable of gWantNight 2020-11-29 20:20:00 +06:00
Ilya Shurumov
e1ca31d978 - fix Tanner not getting exploded 2020-11-29 20:04:36 +06:00
Ilya Shurumov
ec6c86a020 - [Psy-X] better PadInitDirect flow 2020-11-29 18:49:00 +06:00
Ilya Shurumov
0171e6f6fb - bump version 2020-11-29 18:39:49 +06:00
Ilya Shurumov
65f2727bde - little cleanup 2020-11-29 18:39:43 +06:00
Ilya Shurumov
ac010af3b0 - refactor forgotten FindModelPtrWithName 2020-11-29 03:39:05 +06:00
Ilya Shurumov
9aa151cd6a - UpdateRoadPosition refactoring progress 2020-11-27 02:20:02 +06:00
Ilya Shurumov
e3f33cbe67 - fix up car slots after RestoreStartData 2020-11-27 01:42:35 +06:00
Ilya Shurumov
1f38ad48d8 - complete CheckCurrentRoad
- add angular velocity check in LeadPadResponse
2020-11-25 20:53:37 +06:00
Ilya Shurumov
3594883869 Merge branch 'develop-SoapyMan' into refactor-LEADAI 2020-11-25 20:06:18 +06:00
Ilya Shurumov
e288413faf - half-refactor CheckCurrentRoad 2020-11-25 01:26:19 +06:00
Ilya Shurumov
57f38d17ed - fix of the fix in LeadHorn 2020-11-24 23:43:32 +06:00
Ilya Shurumov
0dca973bb7 - refactor SelectExit 2020-11-24 23:42:37 +06:00
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