2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 00:27:42 +00:00

Additional CPlayerGun implementations; downcast macro for tweak pointers

This commit is contained in:
Jack Andersen
2017-08-26 17:02:18 -10:00
parent 86ada63867
commit 1f7e8e1033
38 changed files with 780 additions and 141 deletions

View File

@@ -3,10 +3,20 @@
namespace urde
{
CFidget::EState CFidget::Update(int fire, bool bobbing, bool b1, float dt, CStateManager& mgr)
{
return EState::Zero;
}
void CFidget::ResetMinor()
{
}
void CFidget::ResetAll()
{
x0_state = EState::Zero;
x4_ = -1;
x4_type = SamusGun::EFidgetType::Invalid;
x18_ = 0.f;
x1c_ = 0.f;
x14_ = 0.f;
@@ -14,9 +24,9 @@ void CFidget::ResetAll()
x28_ = 0.f;
x2c_ = 0.f;
x8_ = 0;
xc_ = -1;
xc_parm2 = -1;
x10_ = 3;
x34_24_ = false;
x34_24_loading = false;
}
}
}