Commit Graph

48 Commits

Author SHA1 Message Date
Ilya Shurumov
9c6ff3c594 - implement auto-save/auto-load
- fix SwirlLeaves called only on car_data[0]
2020-08-31 13:13:20 +06:00
Ilya Shurumov
ef387cbe43 - complete MRCommand (cheats) 2020-08-31 01:11:20 +06:00
Ilya Shurumov
7c610d7566 - remove "drowning" in Vegas train during Take a Ride
- fix TriggerEvents
2020-08-31 00:59:25 +06:00
Ilya Shurumov
5bb021fa6b Merge branch 'Fireboyd78-refactor' 2020-08-27 00:07:52 +06:00
Ilya Shurumov
0429b42d2d - implement LeadUpdateState 2020-08-26 23:08:22 +06:00
Fireboyd78
360a051190 Refactor: Handle321Go 2020-08-26 09:52:33 -07:00
Ilya Shurumov
5ccd011d12 - fix spooling debug messages 2020-08-22 21:45:59 +06:00
Ilya Shurumov
87d4134d62 - pretty HanfleMissionThreads, GetFirstPackedCop 2020-08-20 17:19:37 +06:00
Ilya Shurumov
8a239a3c6a - fix Swap2Cars reversing bug 2020-07-08 01:48:02 +06:00
Ilya Shurumov
12acfbcadf - implement DrawCharacter, PingInPedestrians
- fix DrawBodySprite
2020-06-21 14:49:50 +06:00
Ilya Shurumov
eaa1306d84 - allow two player camera to have outside mode 2020-06-06 16:26:59 +06:00
Ilya Shurumov
3e5c01d485 - implement DrawThrownBombs
- fix HandleThrownBombs
2020-06-05 21:51:00 +06:00
Ilya Shurumov
7bc42e7082 - implement InitButtonTextures, DrawButton 2020-06-05 01:31:02 +06:00
Ilya Shurumov
9d7dc6e3cd - try to fix CreateCivCarWotDrivesABitThenStops 2020-05-27 20:21:04 +06:00
Ilya Shurumov
51a7512123 - Cutscene recorder command-line feature
- implement LoadCutsceneAsReplay
- implement cutscene recorder under CUTSCENE_RECORDER define
2020-05-21 03:37:33 +06:00
Ilya Shurumov
647bd655cc - implement MissionCityScreen, MissionSelectScreen
- replay buffer allocation
- preparations
- bug fixes
2020-05-19 00:32:09 +06:00
Ilya Shurumov
1d443be09c - pretty GetPlayerId, CollisionSound, DamageCar3D 2020-05-18 11:40:17 +06:00
Ilya Shurumov
cdebd1a8b2 - implement FindPointOfCollision, GetNextWord
- fix PrintStringBoxed
2020-05-17 14:21:57 +06:00
Ilya Shurumov
3392b10e16 - implement ControlCopDetection, InitFelonyData, 2020-05-17 13:46:45 +06:00
Ilya Shurumov
2b4ba1b197 - implement Swap2Cars 2020-05-17 12:25:59 +06:00
Ilya Shurumov
b9037a20c3 - implement MRGetVariable, MRSetVariable
- pretty MRCommand
2020-05-17 01:17:30 +06:00
Ilya Shurumov
f9665389e5 - implement MRProcessTarget, MRRequestCar
- pretty LoadMission
2020-05-17 01:07:19 +06:00
Ilya Shurumov
6633d98ee5 - implement HandleMissionThreads, MRCommand, TargetComplete, TargetActive, 2020-05-17 00:11:23 +06:00
Ilya Shurumov
2746e080d2 - implement MROperator 2020-05-16 23:18:27 +06:00
Ilya Shurumov
356c5f6c88 - implement MRCommitThreadGenocide, MRStartThread, MRFunction, MRHandleCarRequests, MRCreateCar, MRCancelCarRequest, SetPlayerMessage, SetMissionMessage, PauseMissionTimer, PreProcessTargets, HandleGameOver, CompleteAllActiveTargets, SetMissionComplete, SetMissionOver, ActivateNextFlag, CalcLapTime, SetCarToBeStolen, MakePhantomCarEqualPlayerCar
- bunch of pretty mission code
2020-05-16 21:43:19 +06:00
Ilya Shurumov
012f87bd62 - USE_CRT_MALLOC - use dynamic malloc whenever possible
- fix buildNewCarFromModel bug
2020-05-16 15:56:08 +06:00
Ilya Shurumov
44791bc468 - implement SetConfusedCar 2020-05-15 18:41:42 +06:00
Ilya Shurumov
dae3fe10b4 - implement PedDoNothing, PedUserRunner, PedUserWalker, PedCarryOutAnimtation 2020-05-15 15:36:25 +06:00
Ilya Shurumov
6270cbea4f - implement InitPedestrians, DestroyPedestrian(s), ActivatePlayerPedestrian, SetTannerPosition
- little fixes
2020-05-15 14:50:30 +06:00
Ilya Shurumov
bfb70417db - MALLOC_BEGIN/END macros to track game mallocptr changes 2020-05-14 12:57:20 +06:00
Ilya Shurumov
1b180a9f57 - added NOTIFY_MALLOC everywhere mallocptr is used 2020-05-13 22:04:14 +06:00
Ilya Shurumov
2c0fe8ba03 - implement valid_region 2020-05-09 14:00:06 +06:00
Ilya Shurumov
8b56c9699e - implement DrawTimer, HandleTimer, PrintDigit
- disable SetCLUT16Flags on PC
2020-04-20 13:09:59 +06:00
Ilya Shurumov
e2a0f6198c - implement HandleMission, Handle321Go 2020-04-20 13:09:07 +06:00
Ilya Shurumov
79849de4a1 - implement DrawMission, DisplayPlayerPosition, DrawMessage, DrawWorldTargets, DrawFullscreenTargets, DrawMultiplayerTargets, DrawOverheadTarget 2020-04-18 00:27:24 +06:00
Ilya Shurumov
4ee57f00f3 - implement StepGame 2020-04-17 23:14:36 +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
a5d5b9add4 - show mission loading errors 2020-04-12 22:34:07 +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
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