Commit Graph

956 Commits

Author SHA1 Message Date
Ilya Shurumov
a5c54866dc - update premake5.lua 2020-09-06 00:12:41 +06:00
Ilya Shurumov
3df233179d - breakdown of THISDUST.H on DR2LIMITS, DR2MATH, DR2TYPES, VERSION headers 2020-09-06 00:12:14 +06:00
Ilya Shurumov
2acc2608f8 - refactor COSMETIC.C
- fixed back lights brightness bug
- introduce DRLIMITS.H
2020-09-05 23:48:15 +06:00
Ilya Shurumov
2863361fe1 - refactor CONVERT.C 2020-09-05 20:29:47 +06:00
Ilya Shurumov
15ed172fd6 - refactor CELL.C
- moved GetNextPackedCop, UnpackCellObject from DRAW.C to CELL.C
2020-09-05 20:27:33 +06:00
Ilya Shurumov
a060773d52 Revert "Refactor: MRProcessTarget - improved code flow, removed gotos"
This reverts commit cb13985162.
2020-09-05 19:15:16 +06:00
Ilya
d64d9adcd9
Merge pull request #24 from SoapyMan/develop-SoapyMan
Develop soapy man
2020-09-05 18:47:34 +06:00
Ilya
801906cca1
Merge pull request #23 from SoapyMan/develop-Fireboyd78
Develop fireboyd78
2020-09-05 18:34:06 +06:00
Ilya Shurumov
d780eaa9f7 - fix TannerCanEnterCar refactoring bug 2020-09-05 15:29:00 +06:00
Ilya Shurumov
f35711da52 - turn on Release optimization 2020-09-05 15:10:57 +06:00
Ilya Shurumov
bb90845c7b - cleanup of THISDUST.H
- added POLYGT3, POLYGT4 declaration
- removed POLYFT4LIT (as its same as POLYFT4)
2020-09-05 15:10:42 +06:00
Ilya Shurumov
58eb58fcb7 - refactor CARS.C 2020-09-05 15:09:08 +06:00
Fireboyd78
460277e672 Fixed the pause menu not fading out correctly. 2020-09-04 17:09:28 -07:00
Fireboyd78
319f850fa6 Refactor: IncrementTPageNum 2020-09-04 16:22:48 -07:00
Fireboyd78
071bb0c7e4 Refactor: unpackTexture - now fully optimized ;) 2020-09-04 16:00:11 -07:00
Fireboyd78
a1aebd3944 Refactor: GetTEXINFName, GetTextureDetails 2020-09-04 15:09:09 -07:00
Fireboyd78
61ae692c53 Refactor: GetTextureDetails 2020-09-04 14:55:18 -07:00
Fireboyd78
51a210f75c Refactor: TEXTURE.C
- Refactored LoadPermanentTPages
2020-09-04 14:18:03 -07:00
Fireboyd78
48671f5816 Clean up DoMissionSound a little bit. 2020-09-04 13:19:56 -07:00
Fireboyd78
5da898bdb6 Fixed ped head rotation bug caused by refactoring. 2020-09-04 12:25:35 -07:00
Fireboyd78
22ff0fc83c Fixed refactoring bugs in DoMissionSound. 2020-09-04 12:20:05 -07:00
Fireboyd78
cb13985162 Refactor: MRProcessTarget - improved code flow, removed gotos 2020-09-04 12:12:47 -07:00
Fireboyd78
02042d6b96 Refactor: PEDEST.C
- Refactored ProcessTannerPad

- Refactored DrawAllPedestrians

- Added PedVisible, DrawPedestrian functions
2020-09-04 12:09:51 -07:00
Fireboyd78
08fd40ea1c Added 'Jericho Mode' cheat code.
- Havana palettes only load in correctly by the church (Tail Jericho)

- Las Vegas works fine all throughout

- Chicago/Rio don't have models for Jericho, and are omitted
2020-09-04 12:08:51 -07:00
Fireboyd78
d145ca2727 Refactor: InitPedestrians 2020-09-04 11:58:59 -07:00
Fireboyd78
8fd15c4e1f Fixed a refactoring error in MRCommand. 2020-09-04 11:46:39 -07:00
Ilya Shurumov
a1906e9743 - refactor CAMERA.C 2020-09-04 23:40:56 +06:00
Ilya Shurumov
0a93bb83b8 - fix DrawFadePoly error
- complete ExplosionCollisionCheck
2020-09-04 21:47:03 +06:00
Ilya Shurumov
5f360cf3bb - tested BOMBERMAN.C 2020-09-04 21:43:00 +06:00
Ilya Shurumov
b43bfa243d - refactor CarBuildingCollision 2020-09-04 20:56:25 +06:00
Ilya
822896189a
Merge pull request #22 from SoapyMan/develop-SoapyMan
Develop soapy man
2020-09-04 11:48:37 +06:00
Fireboyd78
41182df6d3 Allocated some more room for cheat codes. 2020-09-03 12:51:32 -07:00
Fireboyd78
2249dc3f9a Refactor: MISSION.C
- Changed hex to decimal as needed

- Added switch cases where appropriate

- Improved code flow, replaced do/while's

- Better mission script logging
2020-09-03 12:23:13 -07:00
Fireboyd78
0d4f6fc9c5 Refactor: CalculatePedestrianInterest
- Improved code flow

- Fixed a bug where head rotation would always be zero in some cases
2020-09-03 12:13:35 -07:00
Fireboyd78
d5b1533af1 Refactor: DoMissionSound - better code flow, removed gotos 2020-09-03 12:05:28 -07:00
Fireboyd78
9b5c9f12be Refactor: RenderModel 2020-09-03 12:05:11 -07:00
Ilya Shurumov
d99419c374 - mostly refactored BCOLLIDE.C 2020-09-04 00:38:25 +06:00
Ilya Shurumov
a477cd853c - refactor AI.C
- fix MAP.C refactoring
2020-09-03 23:10:07 +06:00
Ilya Shurumov
90ae481120 - refactor BCOLL3D.C 2020-09-03 22:26:55 +06:00
Ilya Shurumov
3f49a8c525 - tested ASMTEST.C 2020-09-03 22:26:40 +06:00
Ilya Shurumov
39feda4840 - refactored MAP.C 2020-09-03 21:57:09 +06:00
Ilya Shurumov
40ee144b42 - refactored SPOOL.C 2020-09-03 21:03:36 +06:00
Ilya
40f9f43f1f
Merge pull request #20 from SoapyMan/develop-SoapyMan
Develop soapy man
2020-09-03 13:20:22 +06:00
Ilya Shurumov
b70d73974b - add_haze widescreen support 2020-09-03 13:17:39 +06:00
Ilya Shurumov
f6cf8fa548 - all fade screens to support widescreen 2020-09-03 13:06:23 +06:00
Ilya Shurumov
417e0aabda - [EMU] proper widescreen support 2020-09-03 12:47:47 +06:00
Ilya Shurumov
05714f36b3 - replace all docop2(*) with proper macros 2020-09-03 11:32:12 +06:00
Ilya Shurumov
0848836377 - [EMU] rename all GTE register macros with C2_ prefix 2020-09-03 11:30:15 +06:00
Ilya
d43d0053f1
Merge pull request #19 from SoapyMan/develop-SoapyMan
Develop soapy man
2020-09-02 23:05:51 +06:00
Ilya Shurumov
559edad04d - pathfinding obstacle map debugged 2020-09-02 23:04:40 +06:00