Commit Graph

365 Commits

Author SHA1 Message Date
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
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
Ilya Shurumov
9b48cb9b20 - XM_SetSongPos temporary fix 2020-05-14 23:40:24 +06:00
Ilya Shurumov
8cbdf4473d - more pretty unpack_cellpointers 2020-05-14 23:39:16 +06:00
Ilya Shurumov
90738b4620 - fix damage by water 2020-05-14 23:38:58 +06:00
Ilya Shurumov
859a4713a2 - PauseXM bug fix 2020-05-14 19:11:44 +06:00
Ilya Shurumov
4cf07f34c2 - fixed bug in SetupDrawMapPSX
- more pretty GetPVSRegionCell2
2020-05-14 18:48:09 +06:00
Ilya Shurumov
545e4c83f9 - human-understandable ProcessCarModelLump 2020-05-14 17:11:37 +06:00
Ilya Shurumov
217e686127 - ProcessSpoolInfoLump analyzed and converted to human-readable 2020-05-14 14:46:40 +06:00
Ilya Shurumov
c1fccc2e2d - pretty InitCellData mallocs 2020-05-14 12:57:42 +06:00
Ilya Shurumov
bfb70417db - MALLOC_BEGIN/END macros to track game mallocptr changes 2020-05-14 12:57:20 +06:00
Ilya Shurumov
0a60e120bc - implement FunkUpDaBGMTunez
- change InitMusic to MALLOC_BEGIN/END
2020-05-14 12:56:09 +06:00
Ilya Shurumov
7dafffcea5 - temporary bug fix for car spooling
- pretty GetCarModel
2020-05-14 00:10:18 +06:00
Ilya Shurumov
ee213f576a - bit prettier DrawMapPSX, DrawSprites
- pretty init_spooled_models
2020-05-13 23:37:09 +06:00
Ilya Shurumov
1b180a9f57 - added NOTIFY_MALLOC everywhere mallocptr is used 2020-05-13 22:04:14 +06:00
Ilya Shurumov
b4c5bc7883 - fix XMPLAY structure data 2020-05-13 22:00:28 +06:00
Ilya Shurumov
1af4efcdfa - [EMU] fixed SPU implementation mistakes
- enabled InitMusic
2020-05-13 20:29:10 +06:00
Ilya Shurumov
074715065e - pretty UpdateXMSamples 2020-05-13 19:56:19 +06:00
Ilya Shurumov
0040094e01 - fix XMPLAY reversing bug 2020-05-13 19:55:56 +06:00
Ilya Shurumov
5eed501cd4 - fix car spooling memory pointers 2020-05-13 16:37:30 +06:00
Ilya Shurumov
c83b44a701 - fix SpecClutsSpooled reversing bug 2020-05-13 16:31:17 +06:00
Ilya Shurumov
51dee27b1a - bit pretty InitMap and CheckUnpackNewRegions, fixed invalid area spooling 2020-05-13 16:20:04 +06:00