Commit Graph

847 Commits

Author SHA1 Message Date
Ilya Shurumov
627dac3fd5 - implement InitTyreTracks, GetTyreTrackPositions, SetTyreTrackOldPositions, AddTyreTrack 2020-07-07 18:53:12 +06:00
Ilya Shurumov
a1d5c7caa3 - fix AddSmokingEngine 2020-07-07 18:19:23 +06:00
Ilya Shurumov
d325972465 - implement DisplaySmoke 2020-07-07 18:08:56 +06:00
Ilya Shurumov
7244cdd39c - implement DisplayDebris 2020-07-07 17:40:18 +06:00
Ilya Shurumov
9dc1576156 - implement DisplaySpark 2020-07-07 16:57:23 +06:00
Ilya Shurumov
d310f83798 - make rain disappear in tunnels 2020-07-06 02:21:33 +06:00
Ilya Shurumov
033763d629 - implement DrawRainDrops, AddRainDrops, DisplaySplashes 2020-07-06 02:00:23 +06:00
Ilya Shurumov
da429486a1 - implement LoseHubcap, MoveHubcap 2020-07-06 00:33:38 +06:00
Ilya Shurumov
e219e8ee63 - implement GetSmokeDrift, HandleDebris 2020-07-06 00:33:14 +06:00
Ilya Shurumov
98d493d599 - implement PlaceRoadBlockCops 2020-07-05 22:56:30 +06:00
Ilya Shurumov
09f8de7825 - implement set_coll_box, BuildCarCollisionBox, CheckForCar, 2020-07-05 22:32:12 +06:00
Ilya Shurumov
f761a5c59a - fix animations 2020-06-29 03:31:45 +06:00
Ilya Shurumov
e2082df3ec - fix Jericho vertices
- fix cutscene peds head
2020-06-29 03:03:07 +06:00
Ilya Shurumov
75e36891a5 - implement DoCivHead in very own way
- fix bugs
2020-06-29 02:27:46 +06:00
Ilya Shurumov
814a8c73a3 - implement DrawCiv, CloseControllers 2020-06-29 00:49:55 +06:00
Ilya Shurumov
ed72d7d346 - hacks for GetNextRoadInfo to make Civ AI drive properly on reversed roads (lane changes) 2020-06-24 21:08:00 +06:00
Ilya Shurumov
c3321ca281 - debug overlay distance limit 2020-06-24 20:35:03 +06:00
Ilya Shurumov
70508dfa74 - implement PositionVisible 2020-06-23 01:32:35 +06:00
Ilya Shurumov
659f331130 - fix pedestrian flags 2020-06-23 00:29:02 +06:00
Ilya Shurumov
ed436ca0dd - removed redundant bReverseAnimation in favor of flags 2020-06-23 00:10:11 +06:00
Ilya Shurumov
02fc5d40ed - fix sit down camera 2020-06-23 00:00:23 +06:00
Ilya Shurumov
a412d26394 - improve pedestrians to support two players 2020-06-22 23:50:29 +06:00
Ilya Shurumov
9343701150 - improve pedestrian drawing code 2020-06-22 22:24:03 +06:00
Ilya Shurumov
12acfbcadf - implement DrawCharacter, PingInPedestrians
- fix DrawBodySprite
2020-06-21 14:49:50 +06:00
Ilya Shurumov
3056ba6c3e - implement newShowTanner, newRotateBones
- fix DrawTanner
- try improve DrawBodySprite,
2020-06-21 07:12:38 +06:00
Ilya Shurumov
a8f3029eb1 - apply aspect on DrawSmashedCone 2020-06-21 07:10:30 +06:00
Ilya Shurumov
d7c9a752b6 - fix RotMatrixZYX_gte order 2020-06-21 07:10:07 +06:00
Ilya Shurumov
5eea051827 - implement AddSmokingEngine, AddFlamingEngine 2020-06-19 21:05:52 +06:00
Ilya Shurumov
96c2cdeacc - implement CreateRoadblock
- fix car dying
2020-06-19 20:10:30 +06:00
Ilya Shurumov
8a66dc633e - dirty hack GetNextRoadGetInfo to fix AI stopping
- attempt to fix unitialized variables properly
2020-06-19 19:14:47 +06:00
Ilya Shurumov
eed1d58868 - do not check felony when adding cop lights
- fix bugs
2020-06-18 02:11:06 +06:00
Ilya Shurumov
6d53ce9222 - Auto-detect 1.6 alpha (Demo) levels 2020-06-18 01:35:52 +06:00
Ilya Shurumov
e93f152ae4 - [EMU] fix controllers 2020-06-18 01:33:45 +06:00
Ilya Shurumov
bc7c17ee0b - PGPX switch button 2020-06-17 23:35:29 +06:00
Ilya Shurumov
70736556e1 - [EMU] [SPU-AL] revert volume calculation 2020-06-17 23:15:33 +06:00
Ilya Shurumov
c31b61256f - reimplement GetNextRoadInfo, CreateNewNode 2020-06-17 23:15:05 +06:00
Ilya Shurumov
c47a34dfd8 - [EMU] [SPU-AL] better stereo separation 2020-06-17 19:51:38 +06:00
Ilya Shurumov
e9be1b4d7d - implement CheckPlayerMissFelonies
- adding felony debug
2020-06-17 16:28:40 +06:00
Ilya Shurumov
8ac98618a6 - fix DrawMultiplayerTarget logic 2020-06-17 13:33:02 +06:00
Ilya Shurumov
69def522c2 - command line options to start missions and specify players 2020-06-17 03:02:31 +06:00
Ilya Shurumov
1ed924f95e - implement DrawMultiplayerTarget
- pretty some code
2020-06-17 03:02:06 +06:00
Ilya Shurumov
0954ec019d - implement DrawInGameCutscene 2020-06-17 00:20:03 +06:00
Ilya Shurumov
1826e715b4 - fix some game sound bugs 2020-06-17 00:19:40 +06:00
Ilya Shurumov
54278527ca - do not display light reflections if camera Y is under light 2020-06-16 22:45:11 +06:00
Ilya Shurumov
d6c9d0f0d4 - implement SetElTrainRotation, InitTrain, InitDoor, InitEvents, EventCollisions, GetBridgeRotation, MultiCarEvent 2020-06-14 22:01:40 +06:00
Ilya Shurumov
c22a8bd91d - implement DoPoliceLoudhailer, InitializeCutsceneSound, JerichoSpeak, InitEnvSnd, AddEnvSound, AddEnvSounds, SetEnvSndVol, SetEnvSndPos, LeadHorn
- fix bug in DoDopplerSFX
2020-06-14 01:03:59 +06:00
Ilya Shurumov
855e362305 - implement Tunnels, RecordWaypoint 2020-06-13 22:25:19 +06:00
Ilya Shurumov
d39edf92bc - implement DrawProximityBar 2020-06-13 21:54:48 +06:00
Ilya Shurumov
94e840427a - correct DrawDrivingGameOverlays 2020-06-13 20:19:18 +06:00
Ilya Shurumov
a59724208b - implement OnScoreTable, AddScoreToTable 2020-06-13 20:17:27 +06:00
Ilya Shurumov
d6ce74ca7e - implement DrawDrivingGameOverlays, PrintScoreTableTime, InitialiseScoreTables, ResetTable 2020-06-13 20:09:52 +06:00
Ilya Shurumov
600214a039 - implement InitDopplerSFX 2020-06-13 19:28:47 +06:00
Ilya Shurumov
40b68e12a8 - implement CheckForCorrectDisc, DiscSwapped, ReInitSystem, PlayFMV, PlayRender, ReportMode 2020-06-13 18:27:11 +06:00
Ilya Shurumov
d424ae16f7 - implement HandleDrivingGames, SetSmashedCone
- fix DrawSmashedCones
2020-06-13 16:13:01 +06:00
Ilya Shurumov
c89b4d0614 - implement DrawSmashedCone, DrawCone 2020-06-13 15:37:24 +06:00
Ilya Shurumov
7d19f51e03 - implement DrawDrivingGames, CarConeCollision, MoveSmashedCones, DrawSmashedCones 2020-06-13 15:28:42 +06:00
Ilya Shurumov
c0974eb768 - implement InitDrivingGames 2020-06-13 14:56:24 +06:00
Ilya Shurumov
e7eed7c668 - implement WibbleDownTheRoad
- more road stuff
2020-06-13 14:55:33 +06:00
Ilya Shurumov
2fe3dda796 - implement CameraCollisionCheck, OK_To_Zoom 2020-06-13 14:54:16 +06:00
Ilya Shurumov
43f14381c6 - implement CreateNewNode
- fix CivFindPointOnPath, CivSteerAngle
- fix some other bugs
2020-06-08 19:43:57 +06:00
Ilya Shurumov
919e6e9982 - implement CivSteerAngle, CivFindStation, CivFindPointOnPath
- fix reversing bugs
2020-06-08 03:36:47 +06:00
Ilya Shurumov
957c80bad1 - implement CheckChangeLanes, fix GetNextRoadInfo 2020-06-07 02:49:33 +06:00
Ilya Shurumov
5a2191dd53 - implement GetNextRoadInfo 2020-06-07 02:10:04 +06:00
Ilya Shurumov
c8b1d055fa - pretty some code 2020-06-06 20:39:09 +06:00
Ilya Shurumov
3e875daf3c - car bug fixes and improvements for two player mode 2020-06-06 18:19:55 +06:00
Ilya Shurumov
96731534e7 - fix frontend ReInitScreens 2020-06-06 17:35:10 +06:00
Ilya Shurumov
3c30e3d67f - fix PlacePoolForCar 2020-06-06 17:34:53 +06:00
Ilya Shurumov
9e4a16e09a - allow civilian cars in Cops'n'Robbers mode 2020-06-06 16:29:51 +06:00
Ilya Shurumov
ec19210618 - support for multiple players leaving car 2020-06-06 16:29:36 +06:00
Ilya Shurumov
28bccb1d0e - fix screen fade on two player 2020-06-06 16:29:13 +06:00
Ilya Shurumov
b7189f99f7 - allow cop cars to be selected in MP after game completion 2020-06-06 16:27:18 +06:00
Ilya Shurumov
eaa1306d84 - allow two player camera to have outside mode 2020-06-06 16:26:59 +06:00
Ilya Shurumov
c2e2aee952 - modify TannerStuckInCar to check player id 2020-06-06 16:24:46 +06:00
Ilya Shurumov
01271f3fa6 - [EMU] make keyboard controllers switch 2020-06-06 16:20:22 +06:00
Ilya Shurumov
6c14702b24 - [EMU] make GPU DR_* commands properly parsed
- [EMU] use ptag length instead of primitive_size
- [EMU] drawing area offset support
2020-06-06 13:51:27 +06:00
Ilya Shurumov
8c202856ef - fix SetupDrawBuffers, SetupDrawBufferData, InitaliseDrawEnv
- handle EndScene manually
2020-06-06 02:50:57 +06:00
Ilya Shurumov
4f776dd131 - implement ExplosionSound, GetMissionSound, InitExObjects, AddExplosion, HandleExplosion, DrawAllExplosions 2020-06-05 23:51:17 +06:00
Ilya Shurumov
cf2fc3cd92 - [EMU] LibGPU DrawPrim drawing always in front with polygon offset (and Z buffer) 2020-06-05 23:50:29 +06:00
Ilya Shurumov
31c78a6912 - implement BombThePlayerToHellAndBack, ExplosionCollisionCheck 2020-06-05 22:31:38 +06:00
Ilya Shurumov
3e5c01d485 - implement DrawThrownBombs
- fix HandleThrownBombs
2020-06-05 21:51:00 +06:00
Ilya Shurumov
64e2cbbbfd - implement InitThrownBombs, HandleThrownBombs, AddFlash 2020-06-05 21:32:32 +06:00
Ilya Shurumov
b83db3b746 - fix PlotBuildingModelSubdivNxN again 2020-06-05 20:29:03 +06:00
Ilya Shurumov
4dcd33e173 - fix car light bugs 2020-06-05 20:12:57 +06:00
Ilya Shurumov
68f7e38d17 - implement DisplayLightReflections, ShowGroundLight
- fix AddNightLights
2020-06-05 19:28:43 +06:00
Ilya Shurumov
b8e5a3fb6f - implement ShowLight
- fix AddNightLights
2020-06-05 15:13:23 +06:00
Ilya Shurumov
70f759de29 - implement PreLampStreak, find_lamp_streak 2020-06-05 13:29:35 +06:00
Ilya Shurumov
abfc04da50 - implement InitDebris 2020-06-05 13:20:26 +06:00
Ilya Shurumov
b1471672c4 - implement AddReverseLight, AddIndicatorLight, AddBrakeLight 2020-06-05 03:11:48 +06:00
Ilya Shurumov
aee98c69d4 - implement PlayerCarFX, fix DrawCar 2020-06-05 03:11:03 +06:00
Ilya Shurumov
7bc42e7082 - implement InitButtonTextures, DrawButton 2020-06-05 01:31:02 +06:00
Ilya Shurumov
dd05236d5b - implement TunnelSkyFade 2020-06-05 01:30:34 +06:00
Ilya Shurumov
9e49b92df8 - include resource files 2020-06-05 01:30:13 +06:00
Ilya Shurumov
5d12e44c20 - stub LEADAI.C 2020-06-05 01:29:54 +06:00
Ilya Shurumov
cec6d2e083 - [EMU] implement SetDrawMove, DR_MOVE parsing
- [EMU] correct MoveImage
- [EMU] implement GPU disabled state
2020-06-05 01:29:33 +06:00
Ilya Shurumov
c98c754fc8 - attempts to fix GetPVSRegionCell2 2020-06-02 02:16:53 +06:00
Ilya Shurumov
868ff8594b - implement DisplayMoon, DisplaySun, DrawLensFlare
- fix flare_info contents
2020-06-02 00:16:23 +06:00
Ilya Shurumov
15d265ba90 - pretty some code 2020-06-02 00:15:37 +06:00
Ilya Shurumov
3c476b1b63 - [EMU] [SPU-AL] set Cubic resampler 2020-06-01 17:33:30 +06:00
Ilya Shurumov
93a14f8a06 - fix DrawTargetArrow
- included missing files
2020-06-01 01:08:51 +06:00
Ilya Shurumov
2a02417d3b - fix PlotBuildingModel bug 2020-05-31 20:25:40 +06:00
Ilya Shurumov
c39cc0e063 - implement PlacePoolForCar, sQuad, SsSetSerialVol 2020-05-31 20:16:47 +06:00
Ilya Shurumov
60f8b6a295 - fix DrawWheelObject 2020-05-31 20:16:02 +06:00
Ilya Shurumov
2d2eba91ff - fix emulator Quad triangle order 2020-05-31 20:15:50 +06:00
Ilya Shurumov
aaadad71a2 - fix SetFullscreenDrawing & DrawPercentageBar
- pretty some code lil bit
2020-05-31 02:28:39 +06:00
Ilya Shurumov
c9bbf35d4f - [EMU] [SPU-AL] cleanup of unused stuff 2020-05-31 02:27:54 +06:00
Ilya Shurumov
8b1a88af95 - [EMU] implement SetDrawEnv and fix DR_ENV 2020-05-31 02:27:24 +06:00
Ilya Shurumov
ce7fa1ee60 - [EMU] clear backbuffer in wireframe mode 2020-05-31 02:26:52 +06:00
Ilya Shurumov
f3ce1a6adf - fix car exit attempt message
- fix overlay map clipping
2020-05-30 20:49:53 +06:00
Ilya Shurumov
d311765db7 - fix SetupDrawBuffers bug 2020-05-30 20:25:54 +06:00
Ilya Shurumov
0c321a5d0c - pretty some target code 2020-05-30 20:25:25 +06:00
Ilya Shurumov
bc61a1a631 - [EMU] support DR_AREA and scissor tests 2020-05-30 20:25:05 +06:00
Ilya Shurumov
6c8d37216f - implement TargetArrow, DrawOverheadMap (partially) 2020-05-30 17:40:17 +06:00
Ilya Shurumov
76f1b34222 - implement DrawPlayerDot 2020-05-30 17:39:41 +06:00
Ilya Shurumov
3fefa792d2 - implement DrawFullscreenMap, FlashOverheadMap 2020-05-30 15:53:49 +06:00
Ilya Shurumov
b119e50c2f - implement PauseMap 2020-05-30 15:53:05 +06:00
Ilya Shurumov
58c54590fb - fix PrintString 2020-05-30 15:52:56 +06:00
Ilya Shurumov
469b50f66e - implement DrawSightCone 2020-05-30 14:42:46 +06:00
Ilya Shurumov
48eee204c0 - implement SetFullscreenMapMatrix
- fix WorldToFullscreenMap2
2020-05-30 14:36:05 +06:00
Ilya Shurumov
f5998add64 - implement WorldToFullscreenMap, WorldToFullscreenMap2 2020-05-30 14:29:32 +06:00
Ilya Shurumov
c167c4469e - implement DrawCopIndicators, CopIndicator
- some cleanup
2020-05-30 14:29:08 +06:00
Ilya Shurumov
9ed019c925 - implement UpdateFlashValue, DrawTargetBlip, DrawBigCompass 2020-05-30 14:01:36 +06:00
Ilya Shurumov
8905d1e1bd - implement RotTrans
- misc fix
2020-05-30 13:35:34 +06:00
Ilya Shurumov
1954c77d60 - implement SetMapPos, draw_box, DrawN, DrawCompass 2020-05-30 13:35:07 +06:00
Ilya Shurumov
5eb3fc9120 - implement InitNodeList, AttemptUnpark 2020-05-29 23:28:50 +06:00
Ilya Shurumov
fcc3cd7cc3 - pretty InitSpecSpool, GetPingInfo, GameInit, StepGame 2020-05-29 22:44:33 +06:00
Ilya Shurumov
9b5b6c4090 - limit revs in ControlCarRevs
- pretty StepCars
2020-05-29 22:43:45 +06:00
Ilya Shurumov
0aa95c603c - implement NotTravellingAlongCurve, CivCarFX
- pretty PingInCivCar
2020-05-29 22:42:50 +06:00
Ilya Shurumov
df140f7fe8 - fix bug in RestoreCarPosition
- improve some code readability
2020-05-28 00:07:59 +06:00
Ilya Shurumov
b92fa7f003 - added '-replay' command line parameter 2020-05-27 22:20:52 +06:00
Ilya Shurumov
03843e1643 - implement SaveReplayToBuffer, SaveReplay (PC) 2020-05-27 22:20:33 +06:00
Ilya Shurumov
9d7dc6e3cd - try to fix CreateCivCarWotDrivesABitThenStops 2020-05-27 20:21:04 +06:00
Ilya Shurumov
71df1e3566 - implement CreateCivCarWotDrivesABitThenStops 2020-05-27 19:50:53 +06:00
Ilya Shurumov
397fe7124e - implement InitCivState, SetUpTrafficLightPhase, TrafficLightCycle, CivAccelTrafficRules 2020-05-27 19:20:55 +06:00
Ilya Shurumov
07ce568194 - implement AllocLeaf, ReleaseLeaf, AllocSmoke, ReleaseSmoke, AllocDebris, ReleaseDebris, AllocRainDrop, ReleaseRainDrop, GetDebrisColour 2020-05-27 18:41:57 +06:00
Ilya Shurumov
7717c9cf8a - implement SetUpCivCollFlags, CivAccel 2020-05-27 18:23:42 +06:00
Ilya Shurumov
103d2fbc0c - apply aspect ratio matrix to debris, flares and targets 2020-05-27 17:14:51 +06:00
Ilya Shurumov
9976ed8989 - implement Draw3DTarget, DrawTargetArrowModel, WorldToCameraPositions 2020-05-27 17:05:27 +06:00
Ilya Shurumov
258d96a8a0 - implement newPositionVisible 2020-05-27 17:04:24 +06:00
Ilya Shurumov
33cce3adc8 - implement UpdateCopSightData, FindCost, PassiveCopTasks, StoreGameFlags 2020-05-27 16:04:45 +06:00
Ilya Shurumov
c0cbc2a7f0 - implement NoteFelony, AdjustFelony 2020-05-27 16:03:46 +06:00
Ilya Shurumov
d615d47c61 - improve sky drawing code 2020-05-27 16:03:17 +06:00
Ilya Shurumov
ffd2a02ab4 - implement SetupTannerSkeleton, DrawTanner 2020-05-26 18:24:00 +06:00
Ilya Shurumov
65be109b19 - implement StoreEndData, RestoreStartData, StorePlayerPosition, RestorePlayerPosition, StoreCarPosition, RestoreCarPosition 2020-05-26 18:22:48 +06:00
Ilya Shurumov
ab6ed189f7 - implement PingOutAllSpecialCivCars 2020-05-26 18:21:52 +06:00
Ilya Shurumov
049ec30076 - add PAL/NTSC defines 2020-05-26 18:21:40 +06:00
Ilya Shurumov
b73b3f93fb - implement DestroyCivPedestrians, DrawAllPedestrians 2020-05-24 20:12:10 +06:00
Ilya Shurumov
17c0468649 - implement QuickBuildingCollisionCheck 2020-05-24 16:34:22 +06:00
Ilya Shurumov
6d685af37c - fix ActivatePlayerPedestrian 2020-05-24 15:07:53 +06:00
Ilya Shurumov
4c5f7f4874 - implement TannerCarCollisionCheck 2020-05-24 14:36:48 +06:00
Ilya Shurumov
1d55dde0b7 - implement TannerCollison and resolve NULLs
- fix CarBuildingCollision
2020-05-24 14:22:31 +06:00
Ilya Shurumov
a9ed0e5520 - implement CreatePedAtLocation 2020-05-24 14:21:19 +06:00
Ilya Shurumov
3f53f836e2 - fix DrawCar 2020-05-24 13:43:36 +06:00
Ilya Shurumov
75400561aa - implement AddCopCarLight, fix ShowCarLight
- fix DrawSprites
- [EMU] zero GTE flag in NCLIP
2020-05-24 13:43:04 +06:00
Ilya Shurumov
13f89c2807 - implement DrawBodySprite 2020-05-24 13:40:34 +06:00
Ilya Shurumov
b271bd7b86 - LoadSoundBankDynamic messages like in A 1.6 2020-05-24 13:40:04 +06:00
Ilya Shurumov
9061d775bb - replace some docop2* by corresponding gte_* macros 2020-05-24 00:25:48 +06:00
Ilya Shurumov
a96a221755 - implement GetModelVertPtr, InitTannerShadow, 2020-05-23 22:24:47 +06:00
Ilya Shurumov
de70406e79 implement InitTanner 2020-05-23 20:36:40 +06:00
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