Commit Graph

19 Commits

Author SHA1 Message Date
Ilya Shurumov
012f87bd62 - USE_CRT_MALLOC - use dynamic malloc whenever possible
- fix buildNewCarFromModel bug
2020-05-16 15:56:08 +06:00
Ilya Shurumov
e490be66d1 - bit more pretty LoadPermanentTPages 2020-05-13 14:29:32 +06:00
Ilya Shurumov
4b72834e2d - implement SubdivShadow, PlaceShadowForCar 2020-04-22 16:19:32 +06:00
Ilya Shurumov
ecd8d93f3c - implement GetTEXINFName, GetTextureInfoName 2020-04-22 14:07:28 +06:00
Ilya Shurumov
d00d513c04 - implement GetTextureDetails 2020-04-19 16:11:42 +06:00
Ilya Shurumov
6418d4d88f - implement DrawTILES, TileNxN 2020-04-15 20:15:54 +06:00
Fireboyd78
956f135c73 Fixed bugs in ProcessTextureInfo. 2020-04-11 10:48:12 -07:00
Fireboyd78
3751016845 Merge branch 'master' of https://github.com/SoapyMan/REDRIVER2 2020-04-11 09:52:08 -07:00
Ilya Shurumov
5c90d922ba - fixed bug in SendTPage
- assign callbacks in 'changemode'
2020-04-11 22:34:58 +06: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
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
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
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
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
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