Commit Graph

22 Commits

Author SHA1 Message Date
Fireboyd78
2ddcda382c Implemented various functions + code cleanup.
* Added GetCarPalIndex

* Added GetRandomChase

* Added FindMissionLadderPos

* Added FindPrevMissionFromLadderPos

* Added EndGame

* Added Find_TexID

* Updated GameStart
 - Improved code flow
 - Removed gotos
 - Removed garbage "debug check"
 - Fixed code for cheats
 - Added inline helper functions to reduce bloat

* Updated ProcessLumps
 - Cleaned up code

* Updated DrawGame
 - Cleaned up code
 - Better VSync waiting

* Updated ProcessTextureInfo
 - Improved code flow
 - Cleaned up garbled non-sense code

* Updated SetVariable
 - Improved code flow
 - Removed gotos
 - Fixed code for cheats

* Updated HandleKeyPress
 - Improved code flow
 - Fixed decompilation bugs

* Updated PadChecks
 - Improved code flow
2020-04-10 15:12:50 -07:00
Ilya Shurumov
478f059614 - implemented almost all SPOOL.C (except unused sound bank loading) 2020-04-10 17:56:11 +06:00
Ilya Shurumov
9f078caf95 - always redraw menu on non-PSX version 2020-04-09 00:46:50 +06:00
Ilya Shurumov
bb1ebe5f04 - removed same dead code 2020-04-06 17:59:27 +06:00
Ilya Shurumov
75d757a0b0 - implement ProcessMDSLump
- implement ProcessTextureInfo
- added version info print on frontend
- implement RenderGame
- implement FadeGameScreen
- implement SetupScreenFade
2020-04-06 02:04:37 +06:00
Ilya Shurumov
b754d4e2cb - implement ReInitFrontend()
- implement ReInitScreens()
2020-04-05 22:44:41 +06:00
Ilya Shurumov
56d3fbf399 - implement InitialiseMissionDefaults
- implement LoadMission
- implement GetFreeChannel
- fixed wantedCar setup from frontend
2020-04-05 04:53:41 +06:00
Ilya Shurumov
c31dae4b5a - fix FEInitCDIcon 2020-04-01 19:24:35 +06:00
Ilya Shurumov
5b7d5a404a - fixed extraRect var 2020-04-01 17:31:43 +06:00
Ilya Shurumov
87c16cd025 - fix CarSelectScreen
- fix LoadBackgroundFile
- updateVRAM immediately using DrawSync
2020-04-01 05:27:09 +06:00
Ilya Shurumov
5b8e0dfe1d - OT to use OTTYPE instead of just u_long for EMU
- latest emulator
- emulator polygon drawing improvements
- fixed bugs regarding to render frontend in D2
2020-04-01 03:04:08 +06:00
Ilya Shurumov
0e8b4ca696 - implement GameStart
- implement SetPleaseWait
- implement StringWidth, PrintString, PrintStringCentered, PrintStringFeature
- implement LoadFont
- implement SetFontTPage
2020-03-30 02:33:32 +06:00
Ilya Shurumov
b9382cf872 - implement SetVariable
- Memcard Main renamed to not conflict with OBJ
2020-03-29 23:03:53 +06:00
Ilya Shurumov
b203128d34 - fixed some decompilation bugs
- implement SetupExtraPoly
- implement CarSelectScreen
- implement CityCutOffScreen
2020-03-29 22:13:32 +06:00
Ilya Shurumov
26d979a408 - fix NewSelection
- fix InitControllers
- fix MapPad
2020-03-29 20:08:55 +06:00
Ilya Shurumov
bd04543844 - implement ReadControllers
- implement ClearPad
- implement HandleKeyPress
2020-03-29 18:33:48 +06:00
Ilya Shurumov
cf88c50291 - implement NewSelection
- fix EnableDisplay
- fix DrawScreen Ordering Table
- fix SetupBackgroundPolys and SetupScreenSprts
2020-03-29 18:13:32 +06:00
Ilya Shurumov
8879f114d0 - implement EnableDisplay
- implement EndFrame
- implement GetTimeStamp
- implement SetTextColour
- implement EnableDisplay
- implement DrawScreen
- implement FEPrintString
- font loading correctly
2020-03-29 06:56:49 +06:00
Ilya Shurumov
54128aebc6 - implement ShowLoadingScreen
- implement ShowLoading
2020-03-29 04:26:18 +06:00
Ilya Shurumov
223da63fe2 - implement SetupBackgroundPolys
- implement SetupScreenSprts
- implement SetFEDrawMode
- LoadFrontendScreens done prettier
2020-03-29 02:29:37 +06:00
Ilya Shurumov
2facb27782 - implement LoadFrontendScreens
- implement FEInitCdIcon
- adding frontend vars
- redid other vars
2020-03-28 21:44:13 +06:00
Ilya Shurumov
c40d40bd22 - added sources rebuilt with TDR and partially decompiled intro sequence
- moved necessary data to new sources
- running intro with TOMB5 HLE emulator
2020-03-28 03:25:35 +06:00