mirror of https://github.com/PrimeDecomp/prime.git
parent
e75876c5ea
commit
02fc116666
|
@ -38,7 +38,7 @@ public:
|
|||
void EnterFidget(CStateManager&, int, int, int);
|
||||
void EnterStruck(CStateManager&, float);
|
||||
void LoadFidgetAnimAsync(CStateManager&, int, int, int);
|
||||
bool Update(float, CStateManager&);
|
||||
int Update(float, CStateManager&);
|
||||
void EnterIdle(CStateManager&);
|
||||
void ReturnToDefault(CStateManager&, float);
|
||||
void Reset();
|
||||
|
|
|
@ -17,8 +17,8 @@ void CGunController::EnterStruck(CStateManager&, float) {}
|
|||
|
||||
void CGunController::LoadFidgetAnimAsync(CStateManager&, int, int, int) {}
|
||||
|
||||
bool CGunController::Update(float, CStateManager&) {
|
||||
return false;
|
||||
int CGunController::Update(float, CStateManager&) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void CGunController::EnterIdle(CStateManager&) {}
|
||||
|
|
|
@ -63,7 +63,13 @@ bool CGunMotion::PlayPasAnim(SamusGun::EAnimationState state, CStateManager& mgr
|
|||
return loop;
|
||||
}
|
||||
|
||||
void CGunMotion::Update(float, CStateManager&) {}
|
||||
void CGunMotion::Update(float dt, CStateManager& mgr) {
|
||||
x0_modelData.AdvanceAnimation(dt, mgr, kInvalidAreaId, true);
|
||||
switch (x4c_gunController.Update(dt, mgr)) {
|
||||
case 1:
|
||||
xb8_24_animPlaying = false;
|
||||
}
|
||||
}
|
||||
|
||||
void CGunMotion::Draw(const CStateManager&, const CTransform4f&) const {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue