Commit Graph

639 Commits

Author SHA1 Message Date
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