Add Act3Ammo, match Act3::Act3 (#1196)

* Implement `Act3Ammo`, match `Act3::Act3`

* Move

* Fix match
This commit is contained in:
Christian Semmler
2024-12-07 11:57:59 -07:00
committed by GitHub
parent 5be00e1799
commit 97fb6e4f15
7 changed files with 159 additions and 9 deletions

View File

@@ -91,11 +91,23 @@ public:
MxFloat GetLinearVel() { return m_linearVel; }
MxFloat GetRotationalVel() { return m_rotationalVel; }
MxFloat GetMaxLinearVel() { return m_maxLinearVel; }
MxFloat GetMaxLinearAccel() { return m_maxLinearAccel; }
MxFloat GetMaxLinearDeccel() { return m_maxLinearDeccel; }
void ResetMaxLinearVel(MxFloat p_maxLinearVel)
{
m_maxLinearVel = p_maxLinearVel;
m_trackDefault = 0;
}
void ResetMaxLinearAccel(MxFloat p_maxLinearAccel)
{
m_maxLinearAccel = p_maxLinearAccel;
m_trackDefault = 0;
}
void ResetMaxLinearDeccel(MxFloat p_maxLinearDeccel)
{
m_maxLinearDeccel = p_maxLinearDeccel;
m_trackDefault = 0;
}
// FUNCTION: BETA10 0x100c9a10
int GetDefaultDeadZone() { return g_defdeadZone; }