Commit Graph

454 Commits

Author SHA1 Message Date
Ilya Shurumov
f6f95348db - implement ControlCops, CopControl, InitCopData, 2020-05-17 12:36:01 +06:00
Ilya Shurumov
f10fd07dd8 - implement InitCopState, InitCops 2020-05-17 12:26:48 +06:00
Ilya Shurumov
2b4ba1b197 - implement Swap2Cars 2020-05-17 12:25:59 +06:00
Ilya Shurumov
9caf43a85c - stub PATHFIND.C 2020-05-17 12:25:21 +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
2797e4dc80 - implement Long2DDistance 2020-05-17 01:06:42 +06:00
Ilya Shurumov
6633d98ee5 - implement HandleMissionThreads, MRCommand, TargetComplete, TargetActive, 2020-05-17 00:11:23 +06:00
Ilya Shurumov
015e4e1ed0 - implement CreateStationaryCivCar 2020-05-17 00:10:40 +06:00
Ilya Shurumov
2746e080d2 - implement MROperator 2020-05-16 23:18:27 +06:00
Ilya Shurumov
8373100a8c - fix IHaveThePower, PedGetOutCar, SetupTannerSitDown, DeActivatePlayerPedestrian 2020-05-16 23:10:15 +06:00
Ilya Shurumov
d92663fe23 - improved area data loading 2020-05-16 22:44:07 +06:00
Ilya Shurumov
3dd18e6616 - update Ghidra DB 2020-05-16 21:43:34 +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
6f84f216d6 - fix sky render 2020-05-16 21:39:18 +06:00
Ilya Shurumov
b0d2b3b83c - fix sdGetCell and sdGetBSP 2020-05-16 21:39:08 +06:00
Ilya Shurumov
69603d64c2 - fix mistake 2020-05-16 19:20:58 +06:00
Ilya Shurumov
ac84cb24bd - proper spooled models freeing 2020-05-16 18:33:44 +06:00
Ilya Shurumov
6c7e39bc71 - fix ProcessCarModelLump bug sowed by me 2020-05-16 16:07:52 +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
a8ee800d3e - pretty sdGetBSP, FindRoadInBSP
- more pretty RoadInCell, sdGetCell
2020-05-16 15:31:55 +06:00
Ilya Shurumov
736f8bd09f - implement SetBasePos
- fix camera bug
2020-05-16 15:30:05 +06:00
Ilya Shurumov
a89332db0e - implement CarHasSiren, DealWithHorn 2020-05-16 00:12:44 +06:00
Ilya Shurumov
8b580f41fe - fix sound channel array indexing bugs
- more pretty code
2020-05-15 23:14:23 +06:00
Ilya Shurumov
5c011ebdbd - [EMU] perfect vblank, eliminates WaitForTimestep hack in DrawGame 2020-05-15 22:38:03 +06:00
Ilya Shurumov
a93f34340e - [EMU] proper VSync callback emulation with VBlank emulation 2020-05-15 21:04:26 +06:00
Ilya Shurumov
fce7017c3b - [EMU] [SPU-AL] stop source before updating sample 2020-05-15 21:03:32 +06:00
Ilya Shurumov
465548c9a1 - implement RunMissionLadder 2020-05-15 21:02:45 +06:00
Ilya Shurumov
6f6194bd23 - fix XMPLAY bug again 2020-05-15 19:24:32 +06:00
Ilya Shurumov
8bcd156565 - fix bugs in DisplayMissionTitle 2020-05-15 19:24:13 +06:00
Ilya Shurumov
e056c7f587 - implement ProcessJunctionsDriver2Lump 2020-05-15 19:23:41 +06:00
Ilya Shurumov
44791bc468 - implement SetConfusedCar 2020-05-15 18:41:42 +06:00
Ilya Shurumov
98c58126bc - implement MakeTheCarShutUp, HaveCarSoundStraightAway, RequestSlightPauseBeforeCarSoundStarts 2020-05-15 18:24:56 +06:00
Ilya Shurumov
1ffc429023 - fix pedestrian bugs 2020-05-15 18:21:21 +06:00
Ilya Shurumov
841855a7b4 - implement ChangePedPlayerToCar 2020-05-15 18:04:48 +06:00
Ilya Shurumov
07b893bb3a - implement TannerStuckInCar 2020-05-15 17:50:23 +06:00
Ilya Shurumov
5c0166ba6e - fix SetupGetInCar 2020-05-15 17:50:05 +06:00
Ilya Shurumov
681747cb2e - implement ChangeCarPlayerToPed, FindClosestCar, TannerCanEnterCar
- fix PlaceCameraAtLocation
2020-05-15 17:38:32 +06:00
Ilya Shurumov
168a77735d - implement IHaveThePower easter egg 2020-05-15 17:16:18 +06:00
Ilya Shurumov
4b43aeffb2 - implement ProcessTannerPad 2020-05-15 17:04:48 +06:00
Ilya Shurumov
b573cd702b - implement FindTannerASeat, add_seated,, CalculatePedestrianInterest, PedSurfaceType, ProcessChairLump 2020-05-15 16:54:05 +06:00
Ilya Shurumov
fac5f92a31 - implement CalcPedestrianDirection, IsPavement, SetPedestrianTurn, FindSeated 2020-05-15 16:41:49 +06:00
Ilya Shurumov
bb51019d59 - implement AnimatePed, DeActivatePedestrian, SetupCivPedRouteData, PingOutPed, SetupCivJump, CivPedJump, SetupCivPedWalk, CivPedWalk, CivPedSit, HandlePedestrians
- pretty GetSurfaceIndex
2020-05-15 16:33:29 +06:00
Ilya Shurumov
cdd18b3fb6 - implement PedPressButton, SetupTannerSitDown, TannerCameraHandler, TannerSitDown 2020-05-15 16:00:42 +06:00
Ilya Shurumov
f8b72f3441 - implement PedGetOutCar, SetupGetOutCar, SetupGetInCar, PedGetInCar, SetupPressButton 2020-05-15 15:53:03 +06:00
Ilya Shurumov
dae3fe10b4 - implement PedDoNothing, PedUserRunner, PedUserWalker, PedCarryOutAnimtation 2020-05-15 15:36:25 +06:00
Ilya Shurumov
b0c65729dd - implement SetupWalker, SetupRunner, SetupBack, CivGetIn, CopStand 2020-05-15 15:18:42 +06:00
Ilya Shurumov
a08b3416e0 - implement TannerActionHappening, ControlPedestrians, SetupDoNowt 2020-05-15 15:06:27 +06:00
Ilya Shurumov
e6ef32f08c - bit more prettier PlaceCameraFollowCar
- little crash fixes
2020-05-15 15:05:59 +06:00
Ilya Shurumov
6270cbea4f - implement InitPedestrians, DestroyPedestrian(s), ActivatePlayerPedestrian, SetTannerPosition
- little fixes
2020-05-15 14:50:30 +06:00