Commit Graph

44 Commits

Author SHA1 Message Date
Ilya Shurumov
65799c4d5f - fix drowned fadeout death 2020-04-20 12:34:37 +06:00
Ilya Shurumov
e432478a35 - implement sdHeightOnPlane, sdGetCell, ProcessCurvedDriver2Lump 2020-04-20 11:14:19 +06:00
Ilya Shurumov
a3580168c2 - fix GameInit not setting mallocptr
- Spool query debug
- unpack_cellpointers is better now
2020-04-20 10:55:53 +06:00
Ilya Shurumov
54a642e318 - Spool fixes
- bring back all trap() calls
2020-04-19 18:32:14 +06:00
Ilya Shurumov
c38b8924a7 - fix StepSim 2020-04-19 14:02:36 +06:00
Ilya Shurumov
a83e12fd44 - fix GTE ops in InitCamera, initOBox 2020-04-18 02:57:53 +06:00
Ilya Shurumov
318ced465e - implement StepSim 2020-04-18 01:55:41 +06:00
Ilya Shurumov
c18f549148 - implement UpdatePlayerInformation 2020-04-18 00:54:55 +06:00
Ilya Shurumov
79849de4a1 - implement DrawMission, DisplayPlayerPosition, DrawMessage, DrawWorldTargets, DrawFullscreenTargets, DrawMultiplayerTargets, DrawOverheadTarget 2020-04-18 00:27:24 +06:00
Ilya Shurumov
f429479ac9 - implement ModifyCamera, TurnHead 2020-04-18 00:02:24 +06:00
Ilya Shurumov
4ee57f00f3 - implement StepGame 2020-04-17 23:14:36 +06:00
Ilya Shurumov
8165920d5f - partially implement DrawMapPSX
- implement ClearCopUsage
2020-04-13 19:45:34 +06:00
Ilya Shurumov
529026d211 - implement Havana3DOcclusion 2020-04-13 14:31:09 +06:00
Ilya Shurumov
9e19ac4fdd - implement InitOverlays, InitPercentageBar, DisplayOverlays, DrawPercentageBar, SetColourByValue 2020-04-13 03:30:03 +06:00
Ilya Shurumov
295018a47a - implement RenderGame2
- added missing DrawMission
2020-04-13 02:09:59 +06:00
Ilya Shurumov
b447fb2725 - Temporarily fix crash when exiting/restarting game 2020-04-12 19:36:26 +06:00
Ilya Shurumov
6e99edce58 - little changes 2020-04-12 17:59:06 +06:00
Ilya Shurumov
5342dcaa40 Merge branch 'master' into Fireboyd78/master 2020-04-12 17:51:03 +06:00
Ilya Shurumov
f8190cf54a - attempt to draw pause menus
- implement bunch of functions
2020-04-12 03:02:26 +06:00
Ilya Shurumov
51d3938035 - implement LoadSky 2020-04-12 00:54:44 +06:00
Fireboyd78
05b0bdf10d Implemented EnablePause, CheckForPause. 2020-04-10 15:44:35 -07:00
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
83f0d3ee34 - implement DrawGame, fix RenderGame 2020-04-10 05:28:27 +06:00
Ilya Shurumov
7783d9923a - compile fix 2020-04-10 01:32:19 +06:00
Ilya Shurumov
ca85ad878a - implement LoadRegionData 2020-04-09 23:45:55 +06:00
Ilya Shurumov
2ce93b0265 - fix ProcessLumps not processing LUMP_CAR_MODELS 2020-04-09 21:42:17 +06:00
Ilya Shurumov
955ed5185d - implement CompleteSoundSetup, StopChannel, LockChannel, UnlockChannel, SoundHandler, FESound, VsyncProc 2020-04-08 20:47:04 +06:00
Ilya Shurumov
ab044beeb7 - fix ProcessLump not loading LUMP_PALLET
- implement IncrementClutNum, IncrementTPageNum
- implement ASM func unpackTexture
- implement LoadTPageAndCluts
- implement LoadPermanentTPages
2020-04-06 05:06:00 +06:00
Ilya Shurumov
f6119162b1 - fix ProcessLumps
- implement ProcessMapLump
- implement InitCellData
- implement ProcessSpoolInfoLump
2020-04-06 03:04:50 +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
da176025ac - implement loadsectorsPC
- implement LoadGameLevel
- implement ProcessLumps
- implement SetCityType, ResetCityType
- implement sdGetBSP, FindRoadInBSP
- implement LoadCosmetics, ProcessCosmeticsLump
- fix wantedCar finally
2020-04-05 19:53:08 +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
bf1dde5d34 - many sources processed and added UNIMPLEMENTED()
- game now goes to loading screen
2020-04-04 10:56:09 +06:00
Ilya Shurumov
cb74b84f12 - implement GameInit
- add many unimplemented (unfinished)
2020-04-03 04:44:09 +06:00
Ilya Shurumov
8b2a232c55 - Latest emulator
- [EMU] Discard for all shaders corrected
- disable publisher intro screens
- Ghidra DB updates
2020-04-02 18:03:23 +06:00
Ilya Shurumov
87c16cd025 - fix CarSelectScreen
- fix LoadBackgroundFile
- updateVRAM immediately using DrawSync
2020-04-01 05:27:09 +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
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