Commit Graph

2313 Commits

Author SHA1 Message Date
Ilya Shurumov
7bf256235e - implement GotRegion, unpack_cellpointers 2020-04-10 00:22:38 +06:00
Ilya Shurumov
1559f6e420 - implement CheckUnpackNewRegions 2020-04-10 00:16:26 +06:00
Ilya Shurumov
8739be9a49 - update Ghidra project 2020-04-09 23:49:48 +06:00
Ilya Shurumov
ca85ad878a - implement LoadRegionData 2020-04-09 23:45:55 +06:00
Ilya Shurumov
9984d347c1 - implement ControlMap 2020-04-09 23:45:25 +06:00
Ilya Shurumov
87a54b18ce - implement ClearRegion 2020-04-09 23:15:54 +06:00
Ilya Shurumov
f5d943e8c5 - implement InitMap, InitSpooling 2020-04-09 23:10:34 +06:00
Ilya Shurumov
739c2ce5f7 - implement ProcessDentLump & LoadDenting
- implement ClearMem
2020-04-09 22:41:58 +06:00
Ilya Shurumov
b4ac9d8240 - implement ProcessLowDetailTable 2020-04-09 22:11:35 +06:00
Ilya Shurumov
630e8c9c73 - implement GetCarModel 2020-04-09 21:53:52 +06:00
Ilya Shurumov
2ce93b0265 - fix ProcessLumps not processing LUMP_CAR_MODELS 2020-04-09 21:42:17 +06:00
Ilya Shurumov
0f4666ae39 - implement ProcessCarModelLump, buildNewCars
- implement NewProcessRoadMapLump
2020-04-09 21:36:53 +06:00
Ilya Shurumov
1489b3a2cb - implement ResetSound, UpdateVolumeAttributesM, SetMasterVolume
- partially implement CalculateVolume
- proper SpuSetVoiceAttr in LibSPU
2020-04-09 19:55:39 +06:00
Ilya Shurumov
9f078caf95 - always redraw menu on non-PSX version 2020-04-09 00:46:50 +06:00
Ilya Shurumov
2b4de546a5 - fix 'samples' declaration
- trying SPU emulation
2020-04-09 00:07:11 +06:00
Ilya Shurumov
955ed5185d - implement CompleteSoundSetup, StopChannel, LockChannel, UnlockChannel, SoundHandler, FESound, VsyncProc 2020-04-08 20:47:04 +06:00
Ilya Shurumov
941160d6fc - implement GetCarPalIndex
- implement ProcessPalletLump
- fixed clut rectangle in LoadPermanentTPages
- human-understandable LoadPermanentTPages two dimensional arrays access
2020-04-07 16:56:13 +06:00
Ilya Shurumov
132b84188e - human-understandable IncrementTPageNum 2020-04-06 22:03:25 +06:00
Ilya Shurumov
bb1ebe5f04 - removed same dead code 2020-04-06 17:59:27 +06:00
Ilya Shurumov
2827d0d580 - Ghidra DB updates 2020-04-06 17:38:32 +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
59eacce933 - latest emulator
- swap interval for 50 FPS
2020-04-05 21:39:14 +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
6959ab4307 - fix timedelay on ShowHiresScreens 2020-04-05 05:37:55 +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
eeb96e39b5 - implement InitSound
- implement LoadBankFromLump
- implement LoadSoundBankDynamic
2020-04-04 19:42:29 +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
6da5f797fa - fix compile errors 2020-04-04 06:14:47 +06:00
Ilya Shurumov
cb74b84f12 - implement GameInit
- add many unimplemented (unfinished)
2020-04-03 04:44:09 +06:00
Ilya Shurumov
61d42df4be - latest changes of emulator 2020-04-03 04:42:51 +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
c31dae4b5a - fix FEInitCDIcon 2020-04-01 19:24:35 +06:00
Ilya Shurumov
9d9a384134 - attempt on 8 bit LUT textures
- the DrawSync should draw all polygons from DrawPrim and end scene
2020-04-01 19:24:24 +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
acaffb85f0 - discard black colour before dithering occurs 2020-04-01 03:08:47 +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
ee87194914 - add DR_MOVE to ParseLinkedPrimitiveList
- Every textured polygon is affecting active DRAWENV texture page
- added rendering skip if unhandled primitive encountered
- add some 'unimplemented' methods required by Driver 2
- compilation fix
- added key bind to save VRAM
2020-03-31 23:00:33 +06:00
Ilya Shurumov
08403ce5c4 - add TOMB5 emulator code 2020-03-31 22:56:49 +06:00
Ilya Shurumov
62a0eda4d6 - Ghidra DB updated 2020-03-30 02:36:21 +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