0x1F9F1 / Open1560

A mod for Midtown Madness 1, primarily focused on supporting modern computers and fixing bugs.
https://0x1F9F1.github.io/Open1560
GNU General Public License v3.0
110 stars 9 forks source link

Check uses ARTSPTR->InvSeconds (Inverse Frame Delta) #89

Open 0x1F9F1 opened 3 years ago

0x1F9F1 commented 3 years ago

These functions use InvSeconds. Should they?

0x47DFC4 mmWheel::ComputeDwtdw
0x47E0A7 mmWheel::ComputeDwtdw
0x47EC0D mmWheel::Update
0x47EC59 mmWheel::Update
0x4D9815 asInertialCS::FinishForces
0x4DC6DB Joint3Dof::Update
0x4DC747 Joint3Dof::Update
0x4DC7B3 Joint3Dof::Update
0x4DC81F Joint3Dof::Update
0x4DCCFE Joint3Dof::Update
0x1F9F1 commented 3 years ago

In asInertialCS::FinishForces, InvSeconds is used to calculate the force being applied in a second, to see whether it is less than the minimum force for the ICS to sleep