Commit Graph

2112 Commits

Author SHA1 Message Date
Ilya Shurumov
889259223a - some scratchpad access made directly for PSX 2022-01-21 21:01:11 +03:00
Ilya Shurumov
9325329860 - enable swap interval
- sky verts to use scratchpad on PSX
2022-01-21 21:01:11 +03:00
Ilya Shurumov
9c3686f7b2 - fix StorePlayerPosition, target car saving and pingouts 2022-01-21 21:01:10 +03:00
Ilya Shurumov
8b8ba71635 - fix TunnelSkyFade buffer overrun 2022-01-21 21:01:10 +03:00
Ilya Shurumov
eb0046f289 - fix StorePlayerPosition buffer overrun 2022-01-21 21:01:10 +03:00
Ilya Shurumov
21d12859f8 - fix CutRec_Step bug 2022-01-21 21:01:10 +03:00
Ilya Shurumov
506a73c5de - make AddWheelForcesDriver1 a bit prettier 2022-01-21 21:01:10 +03:00
Ilya Shurumov
430923a51b - fix popNode overflow bug 2022-01-21 21:01:10 +03:00
Ilya Shurumov
c313beb013 - fix Tanner to Boad collision 2022-01-21 21:01:10 +03:00
Ilya Shurumov
8a2abaa9db - fix Havana ferry drifting & replay inconsistencies, improve Swap2Cars 2022-01-21 21:01:09 +03:00
Ilya Shurumov
53ebf9b421 - fix scratchpad access bugs 2022-01-21 21:01:09 +03:00
Ilya Shurumov
6e137a6132 - fix region overlay map not displayed correctly 2022-01-21 21:01:08 +03:00
Ilya Shurumov
1bcd4de91f - added OBJECT_SMASHED_MARK constant 2022-01-21 21:01:08 +03:00
Ilya Shurumov
04e1be8a72 - TimeOfDaySelectScreen - smol fix to text position 2022-01-21 21:01:08 +03:00
Ilya Shurumov
503b911f06 - purposely make chair collision box smaller for Tanner 2022-01-21 21:01:08 +03:00
Ilya Shurumov
01e34dfcf5 - restore original Tanner box size 2022-01-21 21:01:08 +03:00
Ilya Shurumov
d69d78097f - update chase replay files 2022-01-21 21:01:08 +03:00
Ilya Shurumov
027a01eb1c - fix some collision deviations from original game 2022-01-21 21:01:08 +03:00
Ilya Shurumov
2c50271ef1 - improve cutscene recorder
- allow to load Re-recorded chases
  - separate Ping buffer
  - properly saving corrected Reflections chases
  - improve auto-testing HUD
2022-01-21 21:01:07 +03:00
Ilya Shurumov
7171f289cc - [Psy-X] fix WebGL 1.0 matrix issue 2022-01-21 21:01:07 +03:00
Ilya Shurumov
7a0afe760e - simpler state.c 2022-01-21 21:01:07 +03:00
Ilya Shurumov
4783a9a745 - [Psy-X] PrintMessageToOutput makes pretty output for emscripten
- fix runtime warning
- fix build errors, bump version
2022-01-21 21:01:07 +03:00
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