Commit Graph

9 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
f5d943e8c5 - implement InitMap, InitSpooling 2020-04-09 23:10:34 +06:00
Ilya Shurumov
955ed5185d - implement CompleteSoundSetup, StopChannel, LockChannel, UnlockChannel, SoundHandler, FESound, VsyncProc 2020-04-08 20:47:04 +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
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
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