Commit Graph

2140 Commits

Author SHA1 Message Date
Ilya Shurumov
9d1f80dc00 - premake - change location of project generated files to make less garbage 2022-01-21 21:01:07 +03:00
Ilya Shurumov
13141529fd - remove bad unneeded files 2022-01-21 21:01:07 +03:00
Ilya Shurumov
42d2344557 - fix emscripten build not compiling essential files
- fix runtime errors
- fix sound shutting down issue
2022-01-21 21:01:06 +03:00
Ilya Shurumov
2642670bd6 - added Emscripten to premake script. Game now easily built for web.
- fix Emscripten compilation
2022-01-21 21:01:06 +03:00
Ilya Shurumov
0cfa16e3d5 - rcossin_tbl[*] -> RSIN/RCOS
- some OD2 porting prepaprations
- fix CreateRoadblock refactoring bug (missing noMoreCars setup)
2022-01-21 21:01:05 +03:00
Ilya Shurumov
fbdccb81b7 - fix civ AI junction selection once again 2022-01-21 21:01:05 +03:00
Ilya Shurumov
ddfc77db15 - update premake usage module 2022-01-21 21:01:05 +03:00
Ilya Shurumov
be0b8da453 - remove PSX & Psy-Q from premake script
- rename Psy-X -> PsyCross folder
2022-01-21 21:01:05 +03:00
Ilya Shurumov
1c0be9d631 - [Psy-X] use combination for "Select + Start pressed + Up/Down" 2022-01-21 21:01:05 +03:00
Ilya Shurumov
fe29da78e9 - change MP map logic a bit 2022-01-21 21:01:05 +03:00
Ilya Shurumov
c51dca90c9 - fix residentModels masochism 2022-01-21 21:01:05 +03:00
Ilya Shurumov
e27febc317 - fix SetFullscreenDrawing OT causing offset issue on PC 2022-01-21 21:01:05 +03:00
Ilya Shurumov
6bffe01807 - misc changes in gamesnd.c 2022-01-21 21:01:04 +03:00
Ilya Shurumov
13708f3fd4 - fix replay camera not changing when playing 2022-01-21 21:01:04 +03:00
Ilya Shurumov
1c7be3b8ca - fix PSX frontend, reduce/reuse code 2022-01-21 21:01:04 +03:00
Ilya Shurumov
839e4ec26f - fix multiplayer map 2022-01-21 21:01:04 +03:00
Ilya Shurumov
1a8bd75534 - fix PSX version bug with scratchPad 2022-01-21 21:01:04 +03:00
Ilya Shurumov
7e1254f748 - fix mistakes. 2022-01-21 21:01:04 +03:00
Ilya Shurumov
c0cc23416c - disable some debug prints on non-debug versions 2022-01-21 21:01:04 +03:00
InspirationByte
e57fa7de29 - use DIFF_ANGLES macro where applicable 2022-01-21 21:01:00 +03:00
Ilya Shurumov
3794ed3fb3 - turn off debug shit 2022-01-21 21:00:24 +03:00
Ilya Shurumov
942f0083c6 - bump version to 7.2 2022-01-21 21:00:24 +03:00
Ilya Shurumov
75b8c938ef - fix Civ AI road selection (Damn it, broke chases again) 2022-01-21 21:00:23 +03:00
Ilya Shurumov
143ed7bf3e - fix overhead map 2022-01-21 21:00:23 +03:00
Ilya Shurumov
8159286182 - remove Mini Cars cheat from pause 2022-01-21 21:00:23 +03:00
Ilya Shurumov
1822295c31 - misc LoadFont change 2022-01-21 21:00:23 +03:00
Ilya Shurumov
bbbe7c0e33 - fix PingOutCar not resetting 'inform' (flags) 2022-01-21 21:00:23 +03:00
Ilya Shurumov
49fd729ef0 - optimize loading times of LoadFrontendScreens (PSX) 2022-01-21 21:00:23 +03:00
Ilya Shurumov
b714561b6f - disable Tanner shadow in Multiplayer 2022-01-21 21:00:23 +03:00
Ilya Shurumov
aacbdcb6ad - Mini Cars cheat car entrance fixed 2022-01-21 21:00:22 +03:00
Ilya Shurumov
574573d20d - fix problems with pauseflag (and water damage) 2022-01-21 21:00:22 +03:00
Ilya Shurumov
d154a77e13 - [Psy-X] VSync support reworked 2022-01-21 21:00:22 +03:00
Ilya Shurumov
a5f7597637 - fix annoying car storing bug (again!!!) 2022-01-21 21:00:22 +03:00
Ilya Shurumov
59751a9295 - PSX bug fixes again
- fix drawing issues caused by some previous commits
2022-01-21 21:00:22 +03:00
Ilya Shurumov
f5925b889a - fix tripod camera Y target position on cutscene pause (#116) 2022-01-21 21:00:21 +03:00
Ilya Shurumov
bf8421340b - some PSX slowdowns fixed (& bugfixes to scratchpad)
- misc changes
2022-01-21 21:00:21 +03:00
Ilya Shurumov
8583be65f7 - added 'inline_n.h' for Nugget PsyQ, reorganize build environment 2022-01-21 21:00:20 +03:00
Ilya Shurumov
5fffcf5777 - fix PSX controls 2022-01-21 21:00:20 +03:00
Ilya Shurumov
94b876a708 - added "Draw!" string to language
- fix non-translated string
- misc code changes
2022-01-21 21:00:20 +03:00
Ilya Shurumov
d3de296221 - fix cutscene skipping (hopefully) 2022-01-21 21:00:20 +03:00
Ilya Shurumov
488b54c5c9 - TimeOfDaySelectScreen defaults to Continue button 2022-01-21 21:00:20 +03:00
Ilya Shurumov
dee3186d57 - fix CopCanSeePlayer not being reset 2022-01-21 21:00:20 +03:00
Ilya Shurumov
252c1c2aa5 - always do CalcInGameCutsceneSize (avoid crash when replay is loaded if mission cutscenes are present) 2022-01-21 21:00:19 +03:00
Ilya Shurumov
5315ff4be6 - fix pause appearing when replay loaded 2022-01-21 21:00:19 +03:00
Ilya Shurumov
02a675ab36 - add missing macro 2022-01-21 21:00:19 +03:00
Ilya Shurumov
6d76986a04 - display appveyor build as game version 2022-01-21 21:00:18 +03:00
Ilya Shurumov
6ea7da5332 - fix mission ladder not returning to frontend 2022-01-21 21:00:18 +03:00
Ilya Shurumov
cec5e0dea2 - improve chase autotest display & reset stats 2022-01-21 21:00:18 +03:00
Ilya Shurumov
f7d68c0bd3 - fix SaveGameDate skipping mission ladder step 2022-01-21 21:00:18 +03:00
Ilya Shurumov
d196da6b9d - fix Caine's Cash limo ping in distance 2022-01-21 21:00:18 +03:00
Ilya Shurumov
5ee512e200 - [Psy-X] added GR_ClearVRAM to separate from GR_Clear 2022-01-21 21:00:18 +03:00
Ilya Shurumov
d3d00b11db - fix autotest ending
- fix autotest stuck timer
2022-01-21 21:00:17 +03:00
Ilya Shurumov
9247988727 - chase autotest now tracks hit cars and stuck, added on-screen display & re-recording support 2022-01-21 21:00:17 +03:00
Ilya Shurumov
df0b895d42 - added chase auto-testing code 2022-01-21 21:00:17 +03:00
Ilya Shurumov
da9561e873 - fix CalcInGameCutsceneSize freezing on PSX 2022-01-21 21:00:17 +03:00
Ilya Shurumov
5946dfaee5 - [Psy-X] add stub PadInit, PadRead, PadStop 2022-01-21 21:00:17 +03:00
Ilya Shurumov
3c3ce36385 - cutscene recorder always finalize last ping
- clear cutscene buffer on restart
2022-01-21 21:00:17 +03:00
Ilya Shurumov
26e4e8fff3 - fix mem growth bug 2022-01-21 21:00:16 +03:00
Ilya Shurumov
f7ced7ddd6 - rework cutscene loading again, now init in CalcInGameCutsceneSize 2022-01-21 21:00:16 +03:00
Ilya Shurumov
7079f8a1ee - redone cutscene memory - no more overlay unloading! 2022-01-21 21:00:16 +03:00
Ilya Shurumov
a8a65ab17b - increase cutscene buffer size since some chases are big and we still need AI 2022-01-21 21:00:16 +03:00
Ilya Shurumov
af4c4dbe05 - fix -nofmv disabling sound 2022-01-21 21:00:16 +03:00
Ilya Shurumov
e575541624 - move pause pad checks to avoid bug 2022-01-21 21:00:16 +03:00
Ilya Shurumov
bc131397bb - update README, bump version 2022-01-21 21:00:16 +03:00
Ilya Shurumov
749c5c9547 - less invasive cutscene recorder (moved logic to cutrecorder.h) 2022-01-21 21:00:15 +03:00
Ilya Shurumov
2d0242fda7 - [Psy-X] exit flow changes 2022-01-21 21:00:15 +03:00
Ilya Shurumov
d50eb36a37 - [Psy-X] reduce draw calls with subsequent DrawPrim calls
- [Psy-X] store DrawPrim state in split
2022-01-21 21:00:15 +03:00
Ilya Shurumov
9d97cefb90 - U/INT_MAX everywhere 2022-01-21 21:00:15 +03:00
Ilya Shurumov
c4839945b8 - optimize fullscreen map drawing 2022-01-21 21:00:15 +03:00
Ilya Shurumov
5730d22493 - call UpdatePadData only once to avoid controls bugs 2022-01-21 21:00:15 +03:00
Ilya Shurumov
685bf1a636 - added InitMatrix macro 2022-01-21 21:00:11 +03:00
Ilya Shurumov
7fcb416a78 - fix LoadCurrentProfile infinite loop/crash when called from Frontend 2022-01-21 20:59:13 +03:00
Ilya Shurumov
cb3486668c - Frontend - added Mini Cars cheat switch
- Frontend - added FE_MAKEVAR macro and button types
- Frontend - fix "Director's cut" displayed when game is not complete
2022-01-21 20:59:12 +03:00
Ilya Shurumov
ed9f38c684 - [Psy-X] fix crash in Pad system 2022-01-21 20:59:12 +03:00
Ilya Shurumov
e79e828017 - [Psy-X] remove test crash :DDD 2022-01-21 20:59:12 +03:00
Ilya Shurumov
4054157c81 - [Psy-X] add minidump code 2022-01-21 20:59:12 +03:00
Ilya Shurumov
8ec9a7b77d - [Psy-X] fix PsyX_Pad_InitPad disabling Analog mode 2022-01-21 20:59:12 +03:00
Ilya Shurumov
9d817f28bb - [Psy-X] bump version & update readme 2022-01-21 20:59:12 +03:00
Ilya Shurumov
64a224c1a7 - [Psy-X] scratchPad fix (really?) 2022-01-21 20:59:12 +03:00
Ilya Shurumov
fd5ed926ab - misc code changes 2022-01-21 20:59:11 +03:00
Ilya Shurumov
fdc9782530 - [Psy-X] correctly implement VRAM clear, LoadImage2
- [Psy-X] fix framebuffer size bug
2022-01-21 20:59:11 +03:00
Ilya Shurumov
e934f057dc - [Psy-X] fix DEBUG build 2022-01-21 20:59:10 +03:00
Ilya Shurumov
cd81720927 - debug overlay text color more pretty 2022-01-21 20:59:10 +03:00
Ilya Shurumov
95e9c66a32 - FMV volume is now adjusted 2022-01-21 20:59:10 +03:00
Ilya Shurumov
b6ac4566ef - [Psy-X] make PGXP_LOOKUP_VALUE macro simpler to use 2022-01-21 20:59:10 +03:00
Ilya Shurumov
5cde54b0a1 - remove SIMPLE_SPOOL from premake since it's auto-defined in sources 2022-01-21 20:59:10 +03:00
Ilya Shurumov
0694f50036 - moved some dr2types to headers 2022-01-21 20:59:10 +03:00
Ilya Shurumov
97e310f656 - [Psy-X] another GCC fixes 2022-01-21 20:59:10 +03:00
Ilya Shurumov
50ea05b960 - [Psy-X] fix compile error on GCC 2022-01-21 20:59:10 +03:00
Ilya Shurumov
5261b0516b - [Psy-X] full PSX C API compliance (hopefully)
- [Psy-X] fix getScratchAddr BUG
2022-01-21 20:59:10 +03:00
Ilya Shurumov
a89245346e - fix Linux compile 2022-01-21 20:59:09 +03:00
Ilya Shurumov
14b7a526a6 - [Psy-X] half_float.h compatible with C language 2022-01-21 20:59:09 +03:00
Ilya Shurumov
718b456f26 - [Psy-X] add extern "C" on every PSX header back 2022-01-21 20:59:09 +03:00
Ilya Shurumov
a0d533ee8e - [Psy-X] fix includes in srcs 2022-01-21 20:59:09 +03:00
Ilya Shurumov
f722c51850 - [Psy-X] move headers to psx folder 2022-01-21 20:59:09 +03:00
Ilya Shurumov
5f32f9aca2 - [Psy-X] renames aftermath 2022-01-21 20:59:09 +03:00
Ilya Shurumov
ce8c27f56b - correct model/shape flags 2022-01-21 20:59:05 +03:00
Ilya Shurumov
620e32e391 - [Psy-X] renames again 2021-05-10 00:55:33 +06:00
Ilya Shurumov
8d79662975 - [Psy-X] renames aftermath 2021-05-07 23:49:53 +06:00
Ilya Shurumov
28273d89ce - bump version 2021-05-07 23:06:35 +06:00
Ilya Shurumov
97e738ba36 - [Psy-X] include files renames
- re-arrange includes
2021-05-07 23:00:28 +06:00
Ilya Shurumov
6649512da5 - add LIMITS.H relay file 2021-05-06 23:50:04 +06:00
Ilya Shurumov
c08f97dc87 - fix XM started right after game paused 2021-05-06 23:08:15 +06:00
Ilya Shurumov
6f0492444b - bug fix the DieWithFade locking up controls 2021-05-06 22:57:17 +06:00
Ilya Shurumov
9746d7f2c6 - update READMEs 2021-05-06 14:58:02 +06:00
Ilya Shurumov
3a34de9b7b - chase recorder - auto delete cars after hard collision 2021-05-04 22:36:05 +06:00
Ilya Shurumov
13b7486685 - reset tyre tracks for Lead AI car 2021-05-04 20:50:33 +06:00
Ilya Shurumov
5073ee382c - fix CD icon
- misc changes
2021-05-04 20:50:19 +06:00
Ilya Shurumov
ad645c694d - fix Trailblazer/Gates cone smash sound 2021-05-04 19:42:15 +06:00
Ilya Shurumov
026e3393f1 - [Psy-X] little changes for future RPI build 2021-05-04 19:41:53 +06:00
Ilya Shurumov
e92e216bcf - misc changes 2021-05-04 19:40:08 +06:00
Ilya Shurumov
b0328ad55e - fix ActivatePlayerPedestrian palettes 2021-05-03 15:11:28 +06:00
Ilya Shurumov
ddc65b7c27 - reset Tanner death timer when in car and mission starts 2021-05-03 13:11:55 +06:00
Ilya Shurumov
6e84a034e0 - added raspberry-pi option for premake 2021-04-30 02:37:51 +06:00
Ilya Shurumov
1ef19ddb70 - [Psy-X] move some declarations to resolve conflicts 2021-04-30 02:08:48 +06:00
Ilya Shurumov
fdb5aeacb3 - fix linux compile again 2021-04-30 00:24:41 +06:00
Ilya Shurumov
c2ebeec44d - [Psy-x] add custom defines for Raspberry PI 2021-04-29 23:53:32 +06:00
Ilya Shurumov
eeda7537aa - fix linux compile 2021-04-29 23:48:55 +06:00
Ilya Shurumov
24f7de3750 - fix popNode bug 2021-04-29 22:09:44 +06:00
Ilya Shurumov
ece9d294f1 - fix iterate() enormously big stack allocation 2021-04-29 19:29:52 +06:00
Ilya Shurumov
e462cced53 - misc code changes in TannerShadow 2021-04-29 19:29:13 +06:00
Ilya Shurumov
2d6c794595 - added gMultiStep for PSX, removed test code 2021-04-29 19:28:57 +06:00
Ilya Shurumov
2d49be767e - little scratchpad optimize 2021-04-29 19:28:12 +06:00
Ilya Shurumov
042e0b4f57 - LOAD_OVERLAY now works 2021-04-29 04:56:05 +06:00
Ilya Shurumov
4b2ac87438 - [Psy-X] fix ApplyRotMatrix bug 2021-04-29 04:54:39 +06:00
Ilya Shurumov
5de308693b - optimize & bug fix for collisions (especially PSX) 2021-04-29 04:16:40 +06:00
Ilya Shurumov
5d46efc553 - [Psy-X] bump version to 2.1 2021-04-26 16:46:40 +06:00
Ilya Shurumov
90c19811e8 - fix DEBUG_OPTIONS build for PSX 2021-04-26 03:19:22 +06:00
Ilya Shurumov
56571f5f2f - lod define fix 2021-04-26 02:52:03 +06:00
Ilya Shurumov
36b55fc3f0 - experimental interrupt-based updates 2021-04-26 02:48:15 +06:00
Ilya Shurumov
1f6767178a - misc changes 2021-04-26 02:47:53 +06:00
Ilya Shurumov
19f462f1e7 - added optimized drawing routines 2021-04-26 02:47:42 +06:00
Ilya Shurumov
f780cf3855 - added QuickUnpackCellObject 2021-04-26 02:47:01 +06:00
Ilya Shurumov
973b2da24e - [Psy-X] added EnableEvent, DisableEvent stubs 2021-04-26 02:40:33 +06:00
Ilya Shurumov
51cc6aecb7 - fix spooling bug 2021-04-26 02:40:18 +06:00
Ilya Shurumov
ff80015e26 - added system clock for PSX 2021-04-26 02:40:02 +06:00
Ilya Shurumov
0367216020 - [Psy-X] add ScratchPad 2021-04-25 22:05:40 +06:00
Ilya Shurumov
f43b756318 - add scratchpad optimizations 2021-04-25 22:05:28 +06:00
Ilya Shurumov
03310e8697 - added D_CHECK_ERROR, change overlay loading method, fix PSX spooling crashes 2021-04-25 19:55:50 +06:00
Ilya Shurumov
9b0267fff1 - bug fixes 2021-04-25 05:09:16 +06:00
Ilya Shurumov
a79cd93daf - PSX memory layout figured out. Partially running. 2021-04-25 04:30:34 +06:00
Ilya Shurumov
6a36fcb36e - fix PSX compile
- remove CD change imitation for PC
2021-04-19 01:52:27 +06:00
Ilya Shurumov
7c14ddbb6e - make XA subtitles appear even if no XA audio is available 2021-04-19 00:46:19 +06:00
Ilya Shurumov
7f6f98670a - added command-line options to change config ini & CD image files 2021-04-19 00:41:49 +06:00
Ilya Shurumov
38680eeb7a - [Psy-X] added CD Image extraction functions 2021-04-18 17:28:04 +06:00
Ilya Shurumov
561c28e75c - fix crash when returning to menu (if command-line runs) 2021-04-17 21:29:10 +06:00
Ilya Shurumov
a87b39a02a - fix post-replay pause state 2021-04-17 21:28:33 +06:00
Ilya Shurumov
f787df5d5d - [Psy-X] fix CD warnings 2021-04-17 20:59:52 +06:00
Ilya Shurumov
176b096a65 - [Psy-X] misc GTE_RotTransPers changes 2021-04-17 16:12:11 +06:00
Ilya Shurumov
ef59968ab2 - fix returning to frontend after FMV
- fix other frontend bugs
2021-04-17 16:11:52 +06:00