Commit Graph

52 Commits

Author SHA1 Message Date
Ilya Shurumov
140f68b791 - implement ShowCutsceneError, LoadInGameCutscene, DestroyPlayer, SetNullPlayerDontKill, SetNullPlayer
- pretty TriggerChase, PreLoadInGameCutscene
2020-05-18 18:12:37 +06:00
Ilya Shurumov
4cf07f34c2 - fixed bug in SetupDrawMapPSX
- more pretty GetPVSRegionCell2
2020-05-14 18:48:09 +06:00
Ilya Shurumov
ee213f576a - bit prettier DrawMapPSX, DrawSprites
- pretty init_spooled_models
2020-05-13 23:37:09 +06:00
Ilya Shurumov
ba669089f6 - pretty SetupPlaneColours, SetupDrawmapPSX 2020-05-13 12:12:53 +06:00
Ilya Shurumov
ce5ee966e7 - implement ProcessStraightsDriver2Lump, RoadInCell
- fix declarations
2020-05-09 14:00:48 +06:00
Ilya Shurumov
2bfb4a7897 - fix UnpackCellObject
- improve CheckScenaryCollisions
2020-05-06 16:12:50 +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
fe4722dca8 - implement UnpackCellObject
- use UnpackCellObject in DrawMapPSX
- change some types for better understanding the code
2020-04-29 13:10:39 +06:00
Ilya Shurumov
2181519b65 - non-hardcoded LEV loader for PC version 2020-04-27 16:53:17 +06:00
Ilya Shurumov
6ae1468c71 - experimental Driver 1 LEV lumps support 2020-04-27 16:29:53 +06:00
Ilya Shurumov
989430b4af - debug keys to change draw distance 2020-04-27 13:53:49 +06:00
Ilya Shurumov
b60bf33226 - replace shifts with divisions and miltiplies in SetupDrawMapPSX & ControlMap 2020-04-27 13:12:32 +06:00
Ilya Shurumov
6f1f7c0e1b - fix addSubdivSpriteShadow 2020-04-23 22:36:52 +06:00
Ilya Shurumov
4c3ee00077 - fix crashes caused by sprite shadows 2020-04-22 21:10:25 +06:00
Ilya Shurumov
f1140cf693 - implement addSubdivSpriteShadow, fix DrawSprites 2020-04-22 20:56:03 +06:00
Ilya Shurumov
e4910a05c5 - partially implement DrawSprites 2020-04-22 19:50:56 +06:00
Ilya Shurumov
8b1125726d - implement ComputeCarLightingLevels, setupLightMatrices, restoreCarMatrices 2020-04-21 17:06:02 +06:00
Ilya Shurumov
46cb33c64c - hardcode PositionVisible 2020-04-20 20:54:18 +06:00
Ilya Shurumov
d02dcb44c5 - implement DrawCar, FrustrumCheck 2020-04-20 20:14:50 +06:00
Ilya Shurumov
f435f2dbc2 - implement DrawAllTheCars 2020-04-20 19:41:26 +06:00
Ilya Shurumov
a3580168c2 - fix GameInit not setting mallocptr
- Spool query debug
- unpack_cellpointers is better now
2020-04-20 10:55:53 +06:00
Ilya Shurumov
038d01f63b - [EMU] replacing rcos and rsin with 'isin' implementation from PSn00bSDK 2020-04-20 09:01:22 +06:00
Ilya Shurumov
ebf17cc0d5 - implement SetupPlaneColours 2020-04-19 20:01:12 +06:00
Ilya Shurumov
54a642e318 - Spool fixes
- bring back all trap() calls
2020-04-19 18:32:14 +06:00
Ilya Shurumov
5be00df302 - implement StoreClut2, SetCLUT16Flags, PrintScaledString 2020-04-19 16:07:53 +06:00
Ilya Shurumov
8eac378770 - completely disable PVSDecode - needs DEBUGGING! 2020-04-19 14:03:23 +06:00
Ilya Shurumov
43677d1cd8 - implement Tile1x1 2020-04-19 13:03:20 +06:00
Ilya Shurumov
aaffaf87ec - fix GetPVSRegionCell2 2020-04-19 10:32:23 +06:00
Ilya Shurumov
8e69068c71 - improvements? 2020-04-19 08:20:39 +06:00
Ilya Shurumov
31a9301b20 - implement CalcObjectRotationMatrices 2020-04-18 06:39:00 +06:00
Ilya Shurumov
38af1660ff - cleanup code a bit 2020-04-18 03:12:12 +06:00
Ilya Shurumov
56d2a0de15 - implement InitCamera 2020-04-17 01:14:56 +06:00
Ilya Shurumov
3cf1c7fb5b - implement InvertMatrix, BuildWorldMatrix, ScaleCamera 2020-04-17 00:20:21 +06:00
Ilya Shurumov
6418d4d88f - implement DrawTILES, TileNxN 2020-04-15 20:15:54 +06:00
Ilya Shurumov
81a14e5d32 - [EMU] add signed GTE functions 2020-04-15 19:47:00 +06:00
Ilya Shurumov
7320469b5f - fix DrawMapPSX 2020-04-15 19:32:48 +06:00
Ilya Shurumov
5b9158f66f - implement SetCameraVector, Apply_Inv_CameraMatrix, FrustrumCheck16 2020-04-15 19:14:24 +06:00
Ilya Shurumov
45683cd95c - complete implementing DrawMapPSX 2020-04-15 18:51:36 +06:00
Ilya Shurumov
7a27e36fab - implement InitFrustrumMatrix, SetFrustrumMatrix, Set_Inv_CameraMatrix 2020-04-15 18:27:49 +06:00
Ilya Shurumov
9eced0134f - implement GetPVSRegionCell2 2020-04-13 20:54:39 +06:00
Ilya Shurumov
c627a9aa23 - implement GetFirstPackedCop, GetNextPackedCop 2020-04-13 19:55:40 +06:00
Ilya Shurumov
8165920d5f - partially implement DrawMapPSX
- implement ClearCopUsage
2020-04-13 19:45:34 +06:00
Ilya Shurumov
958c04d483 - implement SetupDrawMapPSX 2020-04-13 17:43:10 +06:00
Fireboyd78
7e26777504 Fixed incorrect ordering type changes. 2020-04-10 19:02:32 -07:00
Fireboyd78
29b2a181f3 Implemented some DRAW stuff.
* Added DrawAllBuildings

* Added RenderModel

* Defined Apply_InvCameraMatrixSetTrans
 - TODO: Implement code

* Defined Apply_InvCameraMatrixAndSetMatrix
 - TODO: Implement code
2020-04-10 18:40:49 -07:00
Fireboyd78
55d450bbbd Fixed more invalid arguments for coprocessor stuff. 2020-04-10 16:06:01 -07:00
Fireboyd78
70e66207e4 Moved PolySizes from CARS into DRAW. 2020-04-10 14:54:19 -07:00
Ilya Shurumov
f5d943e8c5 - implement InitMap, InitSpooling 2020-04-09 23:10:34 +06:00
Ilya Shurumov
f6119162b1 - fix ProcessLumps
- implement ProcessMapLump
- implement InitCellData
- implement ProcessSpoolInfoLump
2020-04-06 03:04:50 +06:00