Commit Graph

74 Commits

Author SHA1 Message Date
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
c8b1d055fa - pretty some code 2020-06-06 20:39:09 +06:00
Ilya Shurumov
c98c754fc8 - attempts to fix GetPVSRegionCell2 2020-06-02 02:16:53 +06:00
Ilya Shurumov
fcc3cd7cc3 - pretty InitSpecSpool, GetPingInfo, GameInit, StepGame 2020-05-29 22:44:33 +06:00
Ilya Shurumov
d92663fe23 - improved area data loading 2020-05-16 22:44:07 +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
681747cb2e - implement ChangeCarPlayerToPed, FindClosestCar, TannerCanEnterCar
- fix PlaceCameraAtLocation
2020-05-15 17:38:32 +06:00
Ilya Shurumov
8cbdf4473d - more pretty unpack_cellpointers 2020-05-14 23:39:16 +06:00
Ilya Shurumov
217e686127 - ProcessSpoolInfoLump analyzed and converted to human-readable 2020-05-14 14:46:40 +06:00
Ilya Shurumov
bfb70417db - MALLOC_BEGIN/END macros to track game mallocptr changes 2020-05-14 12:57:20 +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
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
bbcb9bc98c - pretty CleanModelSpooled, DamagedModelSpooled, LowModelSpooled
- more understanding to code
2020-05-13 15:58:03 +06:00
Ilya Shurumov
e037675d36 - pretty and bugfixed CheckLoadAreaData
- pretty SpecialStartNextBlock, CheckSpecialSpool, Tada
2020-05-13 12:20:21 +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
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
f56fe13348 - fix bug in ClearRegion 2020-04-28 12:56:10 +06:00
Ilya Shurumov
2181519b65 - non-hardcoded LEV loader for PC version 2020-04-27 16:53:17 +06:00
Ilya Shurumov
e63eceb816 - pretty ClearRegion and less pretty ProcessSpoolInfoLump 2020-04-27 13:11:19 +06:00
Ilya Shurumov
90fbda26f5 - pretty code in SPOOL.C 2020-04-27 05:27:02 +06:00
Ilya Shurumov
12c7b4fcf8 - little fix to HAVANA_AUGUST_DEMO 2020-04-26 18:36:53 +06:00
Ilya Shurumov
d3a7a5dbdd - added experimental loading of Aug 2000 Demo LEV files (#define switch) 2020-04-26 18:19:33 +06:00
Ilya Shurumov
e432478a35 - implement sdHeightOnPlane, sdGetCell, ProcessCurvedDriver2Lump 2020-04-20 11:14:19 +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
334f09d288 - fix CheckLoadAreaData 2020-04-19 18:44:26 +06:00
Ilya Shurumov
54a642e318 - Spool fixes
- bring back all trap() calls
2020-04-19 18:32:14 +06:00
Ilya Shurumov
8f13b227f6 - fix bug in CheckSpecialSpool 2020-04-19 17:01:51 +06:00
Ilya Shurumov
dca50e21ad - level spooler callback changes to mutex 2020-04-19 16:53:18 +06:00
Ilya Shurumov
0f1ca7211e - fix data_cb_textures 2020-04-19 11:16:12 +06:00
Ilya Shurumov
56d2a0de15 - implement InitCamera 2020-04-17 01:14:56 +06:00
Ilya Shurumov
6418d4d88f - implement DrawTILES, TileNxN 2020-04-15 20:15:54 +06:00
Ilya Shurumov
9eced0134f - implement GetPVSRegionCell2 2020-04-13 20:54:39 +06:00
Ilya Shurumov
fdf5b16a4a - [EMU] fix timestep errors with TOMB5 2020-04-12 22:15:14 +06:00
Ilya Shurumov
d2c3a8c8b0 - remove nasty hack and do with Mutex instead 2020-04-12 21:48:56 +06:00
Ilya Shurumov
ce6c7eb36a - add volatile flag to 'int quickSpool' 2020-04-12 21:32:13 +06:00
Ilya Shurumov
4aa2bd6f3c - add delay hack to spool thread for QuickSpoolSpecial 2020-04-12 21:29:49 +06:00
Ilya Shurumov
87799cda0d - fix spooler thread 2020-04-12 19:56:52 +06:00
Ilya Shurumov
e70524d57a - 'volatile spoolactive' to fix blocking issue on SpoolSync 2020-04-12 17:41:42 +06:00
Ilya Shurumov
51d3938035 - implement LoadSky 2020-04-12 00:54:44 +06:00
Ilya Shurumov
2e39693ea5 - commented out printfs 2020-04-12 00:33:58 +06:00
Ilya Shurumov
dff435a4e8 - fixed spool thread ready callback 2020-04-12 00:15:11 +06:00