Commit Graph

53 Commits

Author SHA1 Message Date
Ilya Shurumov
38972cd5a3 - cleaning up decompiler stuff as not needed (pt.3) 2020-12-09 14:33:57 +06:00
Ilya Shurumov
7f728ad3c4 - sort all types in DR2TYPES.H
- move some types to their source files if used only once
- remove unnecessary types
2020-12-09 00:30:02 +06:00
Ilya Shurumov
0bd12cf1b3 - lots, lots and lots of changes of some complex types to typedefs 2020-12-08 22:45:14 +06:00
Ilya Shurumov
41f652487c - don't put tyre tracks on event surfaces 2020-12-01 16:23:48 +06:00
Ilya Shurumov
1704f8b03f - prevent wheel curb hit sound interrupting other sounds 2020-11-03 03:05:40 +06:00
Ilya Shurumov
251ec969dc - describe all sound banks
- restore elevator sound in Havana secret base
2020-11-02 02:27:24 +06:00
Fireboyd78
d75311ef01 Use LONGVECTOR, LONGQUATERNION instead of long[4].
TODO: Determine where LONGQUATERNION should be used.
2020-10-30 17:57:58 -07:00
Fireboyd78
633cfe9eb5 Refactored all types with the help of regex magic.
- Merged typedef tags and aliases together

- Removed unnecessary declarations of struct/union/enum

- Updated references to tag names to use their aliases instead
  - e.g. "_TARGET" becomes "MS_TARGET", "_EVENT" becomes "EVENT", etc.

- Moved a couple types into their appropriate header files
2020-10-30 17:11:58 -07:00
Ilya Shurumov
3304fc1adb - replace FixFloorSigned macro calls with divisions 2020-10-20 15:52:19 +06:00
Ilya Shurumov
402dc22785 - refactor WHEELFORCES.C 2020-10-19 23:17:42 +06:00
Ilya Shurumov
0aea3ef7e4 - more changes of controlType operations to use new car enums 2020-09-27 15:28:07 +06:00
Ilya Shurumov
8dec1bdf39 - change all controlType operations to use new car enums 2020-09-27 15:03:11 +06:00
Ilya Shurumov
90b3df1c40 - little optimization for GlobalTimeStep 2020-09-23 01:05:37 +06:00
Ilya Shurumov
9946c7a2de - refactored StepOneCar and fixed frictionLimit declaration 2020-09-19 13:55:36 +06:00
Ilya Shurumov
c6944adb3f - fix AddWheelForcesDriver1 reversing mistake 2020-09-19 02:53:53 +06:00
Ilya Shurumov
53bfcd9030 - fix GetFrictionScales error 2020-09-18 22:27:55 +06:00
Ilya Shurumov
651359d3d2 Merge branch 'develop-SoapyMan' of https://github.com/SoapyMan/REDRIVER2 into develop-SoapyMan 2020-09-16 19:49:18 +06:00
Ilya Shurumov
ab3bdb7f97 - fix StepOneCar mistake
- correction in ProcessCarPad
2020-09-16 11:33:15 +06:00
Ilya Shurumov
143f858dc1 - physics fixes 2020-09-11 20:49:50 +06:00
Ilya Shurumov
e157f36eb6 - rename macro and add same macro (non-half rounding) 2020-09-11 15:30:58 +06:00
Ilya Shurumov
51f594a19d - put FixFloorSigned and FixHalfRound into proper places 2020-09-11 13:10:50 +06:00
Ilya Shurumov
353e3bfb19 - improve, AddWheelForcesDriver1, ConvertTorqueToAngularAcceleration, 2020-09-11 01:10:51 +06:00
Ilya Shurumov
840ac1d438 - fix StepOneCar (cars less vertically jitter) 2020-09-11 00:28:55 +06:00
Ilya Shurumov
f11c09671c - fix crash in StepOneCar 2020-09-10 22:06:55 +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
05714f36b3 - replace all docop2(*) with proper macros 2020-09-03 11:32:12 +06:00
Ilya Shurumov
26fc89437c - revision of ConvertTorqueToAngularAcceleration 2020-08-31 20:40:49 +06:00
Ilya Shurumov
cd6b56f8a7 - better version of AddWheelForces 2020-08-31 20:28:22 +06:00
Ilya Shurumov
23c6a80fa3 - fix AddWheelForcesDriver1 2020-08-31 15:15:13 +06:00
Ilya Shurumov
0dd59bc5ec - fixes thanks to Google ASan 2020-08-11 20:40:06 +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
9b5b6c4090 - limit revs in ControlCarRevs
- pretty StepCars
2020-05-29 22:43:45 +06:00
Ilya Shurumov
df140f7fe8 - fix bug in RestoreCarPosition
- improve some code readability
2020-05-28 00:07:59 +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
461dc5c59f - replace >> 12 and / 4096 with FIXED(v) macro 2020-05-20 19:48:19 +06:00
Ilya Shurumov
6ba6fc6dbe - [EMU] fix ratan_tbl
- pretty some matrix code
- fix new AddWheelForcesDriver1
2020-05-20 13:17:57 +06:00
Ilya Shurumov
c4351f63e2 - fix padid everywhere
- fix CalcInGameCutsceneSize
2020-05-19 22:57:43 +06:00
Ilya Shurumov
d164767c7f - fix StepOneCar 2020-05-05 21:29:10 +06:00
Ilya Shurumov
ec6491bb87 - implement CollisionCopList 2020-04-29 13:09:20 +06:00
Ilya Shurumov
f90b5b8597 - fix AddWheelForcesDriver1 and CheckCarEffects 2020-04-27 11:52:16 +06:00
Ilya Shurumov
6d8a0eb6ee - fix StepOneCar ground collision crash 2020-04-26 18:18:30 +06:00
Ilya Shurumov
2a6d355bc8 - implement GetEngineRevs, ControlCarRevs 2020-04-26 12:02:35 +06:00
Ilya Shurumov
9321f6f067 - fix math in StepOneCar, GetFrictionScalesDriver1, ConvertTorqueToAngularAcceleration, AddWheelForcesDriver1 2020-04-26 06:34:50 +06:00
Ilya Shurumov
cfa37cc027 - 80% of AddWheelForcesDriver1 human-readable 2020-04-26 00:27:08 +06:00
Ilya Shurumov
7154cde8c8 - two versions of AddWheelForcesDriver1 2020-04-25 21:44:42 +06:00
Ilya Shurumov
115583e96e - fixed drawCarMat calculation 2020-04-23 14:31:38 +06:00
Ilya Shurumov
71cefc98a7 - implement AddWheelForcesDriver1 2020-04-23 07:05:31 +06:00
Ilya Shurumov
2ad666e37e - implement ConvertTorqueToAngularAcceleration 2020-04-23 00:52:39 +06:00