Commit Graph

639 Commits

Author SHA1 Message Date
Ilya Shurumov
d90c95ddb1 - implement ProcessMotionLump, SetupPedMotionData, SetupPedestrian, StoreVertexLists, SetupSkelModelPointers 2020-05-23 20:36:27 +06:00
Ilya Shurumov
8f3c6156e6 - [EMU] PGXP fixes 2020-05-23 20:35:16 +06:00
Ilya Shurumov
cde8f4f0e4 - bit of revert for PlotBuildingModelSubdivNxN 2020-05-23 12:48:32 +06:00
Ilya Shurumov
3bc733f968 - [EMU] sanitize PGXP types 2020-05-23 12:48:12 +06:00
Ilya Shurumov
f8b9c3443c - [EMU] GTE PGXP NCLIP improvement 2020-05-23 11:43:40 +06:00
Ilya Shurumov
cfe66fa34a - disable PGXP lookup for sky
- disable High Detail for tiles
2020-05-23 01:35:53 +06:00
Ilya Shurumov
964b97c702 - [EMU] improve PGXP 2020-05-22 22:38:52 +06:00
Ilya Shurumov
8a9ccffef4 - half-float super-optimized PGXP implementation with perspective texture correction 2020-05-22 21:42:36 +06:00
Ilya Shurumov
4024315952 - fix refactoring bug in CalculateVolume 2020-05-22 19:22:53 +06:00
Ilya Shurumov
dee23f3fc0 - split GTE ratan, rcossin, sqrt tables
- GTE_EXTERNAL if you don't want in-house GTE (example - Mednafen)
2020-05-22 16:28:53 +06:00
Ilya Shurumov
ec980a8966 - don't use GTEREG.H 2020-05-22 16:25:45 +06:00
Ilya Shurumov
468e153672 - use GTE macros everywhere instead of direct register access 2020-05-22 16:25:24 +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
c1e923a4e2 - implement LoadReplayFromBuffer, LoadAttractReplay 2020-05-21 00:30:02 +06:00
Ilya Shurumov
b5b05d5a81 - again fix 2020-05-20 21:58:12 +06:00
Ilya Shurumov
abda37108c - fix some frontend bugs
- fix the fixed
2020-05-20 21:46:52 +06:00
Ilya Shurumov
7a1578c031 - fix cutscene loading bug 2020-05-20 21:34:30 +06:00
Ilya Shurumov
fd7b4f3ec3 - more fixed numbers
- fix cutscene bug with player
2020-05-20 21:34:19 +06:00
Ilya Shurumov
461dc5c59f - replace >> 12 and / 4096 with FIXED(v) macro 2020-05-20 19:48:19 +06:00
Ilya Shurumov
bcb8d3761a - make PADRECTORD.analogue field unsigned
- bit more prerry code
2020-05-20 17:06:49 +06:00
Ilya Shurumov
d4e4421418 - [EMU] Analogue pad initialization to center 2020-05-20 16:56:01 +06:00
Ilya Shurumov
171a40c886 - implement cjpRecord, Put, ControlReplay 2020-05-20 14:28:23 +06:00
Ilya Shurumov
3d1bddc3cf - fix GlobalTimeStep 2020-05-20 13:33:28 +06:00
Ilya Shurumov
6ba6fc6dbe - [EMU] fix ratan_tbl
- pretty some matrix code
- fix new AddWheelForcesDriver1
2020-05-20 13:17:57 +06:00
Ilya Shurumov
c5a8d26f09 - fix PingOutAllCivCarsAndCopCars 2020-05-20 01:38:37 +06:00
Ilya Shurumov
9d98e41d98 - implement InitDirectorVariables, RecordCamera, FindNextChange, CheckCameraChange, FindFreeCamera, deleteCamera, DelteAllCameras
- fix TriggerInGameCutsceneSystem
2020-05-20 01:02:37 +06:00
Ilya Shurumov
91146e549d - pretty ProcessCarPad
- disable debug fly during cutscenes
2020-05-20 01:01:22 +06:00
Ilya Shurumov
1a621470ea - implement cjpPlay, Get, 2020-05-20 01:00:39 +06:00
Ilya Shurumov
54aa302de6 - fix StepGame bugs
- allow pause during cutscenes
2020-05-20 01:00:18 +06:00
Ilya Shurumov
c4351f63e2 - fix padid everywhere
- fix CalcInGameCutsceneSize
2020-05-19 22:57:43 +06:00
Ilya Shurumov
cb47c23152 - prettier TriggerInGameCutsceneSystem 2020-05-19 21:46:05 +06:00
Ilya Shurumov
e5291cbbdd - fix InitPadRecording reversing bug 2020-05-19 21:45:40 +06:00
Ilya Shurumov
0cd7771884 - fix FEPrintString bug 2020-05-19 21:45:27 +06:00
Ilya Shurumov
3dda36a8a1 - fix FindMissionLadderPos & RunMissionLadder reversing bugs 2020-05-19 21:45:17 +06:00
Ilya Shurumov
900d268097 - fix bugs? 2020-05-19 01:44:18 +06:00
Ilya Shurumov
9aaa466185 - implement SilenceThisCar, AdjustPlayerCarVolume 2020-05-19 01:44:06 +06:00
Ilya Shurumov
5c13865d69 - implement IsMovingCamera, InvalidCamera, FindNextCutChange, SetPlaybackCamera, GetPingInfo 2020-05-19 01:10:55 +06:00
Ilya Shurumov
d723e73424 - implement CutsceneCameraChange 2020-05-19 00:51:17 +06:00
Ilya Shurumov
735b7de677 - implement PingOutAllCivCarsAndCopCars
- fix roadblockDelayDiff var
2020-05-19 00:50:58 +06:00
Ilya Shurumov
d6485a9bb3 - implement HandleInGameCutscene, TriggerInGameCutscene, CalcInGameCutsceneSize, ReleaseInGameCutscene, TriggerInGameCutsceneSystem, LoadCutsceneToReplayBuffer, LoadCutsceneToBuffer, LoadCutsceneInformation, FreeCutsceneBuffer, IsCutsceneResident 2020-05-19 00:34:26 +06:00
Ilya Shurumov
847e34f83e - implement InitPadRecording, AllocateReplayStream 2020-05-19 00:32:30 +06:00
Ilya Shurumov
647bd655cc - implement MissionCityScreen, MissionSelectScreen
- replay buffer allocation
- preparations
- bug fixes
2020-05-19 00:32:09 +06:00
Ilya Shurumov
140f68b791 - implement ShowCutsceneError, LoadInGameCutscene, DestroyPlayer, SetNullPlayerDontKill, SetNullPlayer
- pretty TriggerChase, PreLoadInGameCutscene
2020-05-18 18:12:37 +06:00
Ilya Shurumov
acb031a603 - implement InitCyclingPals, InitAnimatingObjects, InitSpooledAnimObj, DrawAnimatingObject, int_garage_door 2020-05-18 18:11:07 +06:00
Ilya Shurumov
eb2bb1ce0c - fix bug in SwapDrawBuffers2 2020-05-18 18:10:12 +06:00
Ilya Shurumov
9d2e516e9f - implement _MatrixRotate, Calc_Object_MatrixYZX 2020-05-18 12:34:42 +06:00
Ilya Shurumov
d774bdc5b9 - [EMU] implement ApplyMatrix*, ApplyRotMatrix, ScaleMatrix
- [EMU] pretty RotMatrix, TransMatrix
2020-05-18 12:34:10 +06:00
Ilya Shurumov
1d443be09c - pretty GetPlayerId, CollisionSound, DamageCar3D 2020-05-18 11:40:17 +06:00
Ilya Shurumov
f4049bd3e7 - fix Tanner getting into car too quick 2020-05-18 11:39:39 +06:00
Ilya Shurumov
bf1de357ed - fix FindPointOfCollision 2020-05-18 00:03:34 +06:00
Ilya Shurumov
25ad47c9ed - [EMU] [SPU-AL] fixed looped sound clicking
- Mission complete "Next Mission" item is "Continue"
2020-05-17 23:45:53 +06:00
Ilya Shurumov
cdebd1a8b2 - implement FindPointOfCollision, GetNextWord
- fix PrintStringBoxed
2020-05-17 14:21:57 +06:00
Ilya Shurumov
7084203410 - implement InitInGameCutsceneVariables, TriggerChase 2020-05-17 13:47:23 +06:00
Ilya Shurumov
5dcadac032 - implement PrintStringBoxed 2020-05-17 13:46:58 +06:00
Ilya Shurumov
3392b10e16 - implement ControlCopDetection, InitFelonyData, 2020-05-17 13:46:45 +06:00
Ilya Shurumov
d2b98e49c6 - implement ControlSpeech 2020-05-17 12:51:47 +06:00
Ilya Shurumov
3ab4f4b856 - implement ControlNumberOfCops 2020-05-17 12:40:41 +06:00
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
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
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
dca102c0a4 - added colorful console messages 2020-05-14 12:56:30 +06:00
Ilya Shurumov
0a60e120bc - implement FunkUpDaBGMTunez
- change InitMusic to MALLOC_BEGIN/END
2020-05-14 12:56:09 +06:00
Ilya Shurumov
3074107cf0 - [EMU] implement SpuSetVoiceAR, SpuSetVoiceRR 2020-05-14 12:55:14 +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
83d13a5e91 - [EMU] SPU sample update to separate function 2020-05-13 22:03:35 +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
Ilya Shurumov
bbcb9bc98c - pretty CleanModelSpooled, DamagedModelSpooled, LowModelSpooled
- more understanding to code
2020-05-13 15:58:03 +06:00
Ilya Shurumov
027fc26c28 - crash fix for super-secret car 2020-05-13 15:57:00 +06:00
Ilya Shurumov
a17331a8be - simplify SetupSpecCosmetics, SetupSpecDenting 2020-05-13 14:30:17 +06:00
Ilya Shurumov
e490be66d1 - bit more pretty LoadPermanentTPages 2020-05-13 14:29:32 +06:00
Ilya Shurumov
920895121a - XMPLAY by Jason Page original source code ported back from PS2 2020-05-13 12:40:22 +06:00
Ilya Shurumov
e037675d36 - pretty and bugfixed CheckLoadAreaData
- pretty SpecialStartNextBlock, CheckSpecialSpool, Tada
2020-05-13 12:20:21 +06:00
Ilya Shurumov
5dfc2e3f76 - pretty ProcessLowDetailTable 2020-05-13 12:19:09 +06:00
Ilya Shurumov
989b1c1d1b - pretty LoadGameLevel 2020-05-13 12:17:48 +06:00
Ilya Shurumov
ba669089f6 - pretty SetupPlaneColours, SetupDrawmapPSX 2020-05-13 12:12:53 +06:00
Ilya Shurumov
e0c6c2b8bd - do not do XM_ calls if Song_ID == -1 2020-05-12 21:49:21 +06:00
Ilya Shurumov
fbf0e3c3d0 - fix invalid music type for Chicago day 2020-05-12 21:48:51 +06:00
Ilya Shurumov
f6821c2edb - implement and disable InitMusic 2020-05-12 21:48:33 +06:00
Ilya Shurumov
dfeacdc2d3 - [EMU] call vsync_callback if mode < 0 2020-05-12 21:48:15 +06:00
Ilya Shurumov
14b3ebf541 - implement PauseXM, UnpauseXM, UpdateSamples, FreeXM, StartXM, StopXM 2020-05-12 20:53:26 +06:00
Ilya Shurumov
3d588587cf - fixed CloseShutters and FadeGameScreen flicker 2020-05-12 15:21:12 +06:00
Ilya Shurumov
6e357c8bbc - improve and fix bugs in ProcessMDSLump 2020-05-12 14:40:49 +06:00
Ilya Shurumov
837ee218a6 - simplified spooling, added SIMPLE_SPOOL 2020-05-12 14:39:31 +06:00
Ilya Shurumov
bd22233c60 - fix reversing bugs in CheckLoadAreaData 2020-05-12 10:59:42 +06:00
Ilya Shurumov
356b804d14 - pretty SendTPage 2020-05-12 10:46:52 +06:00
Ilya Shurumov
473d94fc97 - LoadInAreaTSets bit better to read 2020-05-12 10:13:05 +06:00
Ilya Shurumov
f6936a6746 - bump version 2020-05-12 10:01:00 +06:00
Ilya Shurumov
8657ed5e8c - pretty pause code 2020-05-12 10:00:52 +06:00
Ilya Shurumov
016cca01a4 - fix Take a Ride Vegas loading (again)
- bit more pretty code
2020-05-12 00:34:48 +06:00
Ilya Shurumov
eaac176a19 - pretty init_spooled_models 2020-05-12 00:10:50 +06:00
Ilya Shurumov
217e2cfe7b - remove weird dead commented memcpys 2020-05-12 00:09:51 +06:00
Ilya Shurumov
6e0ba4e9ba - fix CheckCarToCarCollisions bug 2020-05-10 17:18:28 +06:00
Ilya Shurumov
335f7aac35 - collision debug boxes for cars
- car box Y size reduced
2020-05-10 15:31:35 +06:00
Ilya Shurumov
d03aaf7c51 - fix debug overlay color "flicker" 2020-05-10 15:30:24 +06:00
Ilya Shurumov
bd0803f160 - implement jump_debris, nose_down
- little fix to CheckCarToCarCollision
2020-05-10 14:36:03 +06:00
Ilya Shurumov
43d6814946 - fix GlobalTimeStep vehicle collision processing 2020-05-10 13:49:39 +06:00
Ilya Shurumov
1ed78a5a47 - implement DamageCar3D 2020-05-10 13:49:22 +06:00
Ilya Shurumov
f927b70b43 - implement PointFaceCheck, collided3d, CarCarCollision3 2020-05-10 13:48:47 +06:00
Ilya Shurumov
096da6924a - implement CheckCarToCarCollisions and correct GlobalTimeStep 2020-05-10 12:21:54 +06:00
Ilya Shurumov
fccc273051 - fix indices bug in buildNewCarFromModel 2020-05-09 15:54:24 +06:00
Ilya Shurumov
b71ec78484 - fix DrawCar, SubDivShadow, PlaceShadowForCar 2020-05-09 14:24:43 +06:00
Ilya Shurumov
53b3607b06 - implement RandomInit, Random2 2020-05-09 14:01:01 +06:00
Ilya Shurumov
ce5ee966e7 - implement ProcessStraightsDriver2Lump, RoadInCell
- fix declarations
2020-05-09 14:00:48 +06:00
Ilya Shurumov
2c0fe8ba03 - implement valid_region 2020-05-09 14:00:06 +06:00
Ilya Shurumov
18711e5edf - implement GetNodePos, PingOutCar, CheckPingOut, PingInCivCar, CivControl 2020-05-09 13:59:47 +06:00
Ilya Shurumov
743ca45385 - implement DentCar, fix CreateDentableCar 2020-05-09 11:27:03 +06:00
Ilya Shurumov
b30842dd91 - implement PlaceCameraInCar, PlaceCameraAtLocation, PointAtTarget
- fix bugs in ModifyCamera
2020-05-09 10:32:19 +06:00
Ilya Shurumov
675256b046 - LoadBankFromLump to deny load non-existing lumps 2020-05-09 10:31:27 +06:00
Ilya Shurumov
6634d8520e - [EMU] temporary use SquareRoot0 with CRT implementation 2020-05-09 10:30:46 +06:00
Ilya Shurumov
0803a18a9c - debug keys to toggle position display
- minor fixes
2020-05-06 17:23:01 +06:00
Ilya Shurumov
0beeccca86 - improve CarBuildingCollision and bcollided2d 2020-05-06 16:13:28 +06:00
Ilya Shurumov
2bfb4a7897 - fix UnpackCellObject
- improve CheckScenaryCollisions
2020-05-06 16:12:50 +06:00
Ilya Shurumov
9ee283fa32 - debug overlay line limit 2020-05-06 16:12:06 +06:00
Ilya Shurumov
827c137189 - collision debug to key switch
- some debug pause fixes
2020-05-06 10:42:10 +06:00
Ilya Shurumov
a75e53d385 - fix matrix in DrawSmashable_sprites 2020-05-06 10:20:21 +06:00
Ilya Shurumov
607da2dd0c - fix RenderModel 2020-05-06 10:03:05 +06:00
Ilya Shurumov
f67c643fbf - implement damage_object, MoveSmashable_object, DrawSmashable_sprites 2020-05-06 10:02:48 +06:00
Ilya Shurumov
9759ce8899 - ratan2 temporary uses atan2 from CRT 2020-05-06 10:02:09 +06:00
Ilya Shurumov
b43832bec7 - temporary fix for positional correction in CarBuildingCollision 2020-05-06 10:01:42 +06:00
Ilya Shurumov
6ed63d8b3c - fix InitCarPhysics, TempBuildCarMatrix, GlobalTimeStep, LongQuaternionToMatrix, initOBox 2020-05-05 21:31:14 +06:00
Ilya Shurumov
d22d8df453 - implement ApplyDamage, DamageCar 2020-05-05 21:29:44 +06:00
Ilya Shurumov
d164767c7f - fix StepOneCar 2020-05-05 21:29:10 +06:00
Ilya Shurumov
9172422631 - fix camera behavior CheckScenaryCollisions 2020-05-05 18:17:44 +06:00
Ilya Shurumov
b4d9463418 - fix bFindCollisionPoint and CarBuildingCollision 2020-05-05 18:17:06 +06:00
Ilya Shurumov
c1cec60fde - update Ghidra project 2020-05-05 18:16:05 +06:00
Ilya Shurumov
33ec2cca8d - fix CheckScenaryCollisions 2020-05-03 10:39:51 +06:00
Ilya Shurumov
a9140c9234 - implement COLLISION_DEBUG drawing 2020-05-02 09:20:31 +06:00
Ilya Shurumov
b41f042c12 - added Debug_AddLineOfs 2020-05-02 09:11:44 +06:00
Ilya Shurumov
210eeae73b - implement FindModelIdxWithName 2020-05-02 08:15:32 +06:00
Ilya Shurumov
b78b2f72cd - implement FindSmashableObjects
- fix smashable volume levels
2020-05-02 08:15:15 +06:00
Ilya Shurumov
9c4e77b782 - [EMU] implement SpuGetVoiceVolume, SpuSetVoiceVolume, SpuGetVoicePitch 2020-05-02 08:14:40 +06:00
Ilya Shurumov
521a90489e - implement PauseSFX, UnPauseSFX, PauseSound, UnPauseSound 2020-05-02 08:13:50 +06:00
Ilya Shurumov
2ff1377c4d - line debug overlay [WIP] 2020-05-01 14:51:44 +06:00
Ilya Shurumov
ecd1594fbc - [EMU] fix gte_ldv1, gte_ldv2 2020-05-01 14:51:24 +06:00
Ilya Shurumov
0ecf83875e - attempt to fix bcollided2d, bFindCollisionTime, bFindCollisionPoint, CarBuildingCollision 2020-05-01 14:51:06 +06:00
Ilya Shurumov
c3347feba5 - implement bcollided2d, bFindCollisionPoint, bFindCollisionTime, CarBuildingCollision 2020-05-01 12:08:36 +06:00
Ilya Shurumov
a3bf2e8e5b - implement ShowFlare
- fix AddNightLights
2020-04-30 21:35:07 +06:00