Commit Graph

539 Commits

Author SHA1 Message Date
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
e40e863e2a - update Ghidra DB 2020-05-20 19:48:38 +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