mirror of https://github.com/AxioDL/metaforce.git
CPhazonHealingNodule: Add missing functions
This commit is contained in:
parent
61444da8ff
commit
ab8e00880e
|
@ -169,4 +169,18 @@ void CPhazonHealingNodule::UpdateParticleElectric(CStateManager& mgr) {
|
|||
x57c_particleElectric->SetOverrideFPos(actorLctrXf.origin);
|
||||
}
|
||||
}
|
||||
|
||||
bool CPhazonHealingNodule::AnimOver(CStateManager&, float arg) { return x588_state == 3; }
|
||||
|
||||
bool CPhazonHealingNodule::InRange(CStateManager&, float arg) { return x568_active == 0; }
|
||||
|
||||
bool CPhazonHealingNodule::InDetectionRange(CStateManager&, float arg) { return x568_active == 1; }
|
||||
|
||||
void CPhazonHealingNodule::MassiveDeath(CStateManager& mgr) { Death(mgr, zeus::skZero3f, EScriptObjectState::Dead); }
|
||||
|
||||
void CPhazonHealingNodule::MassiveFrozenDeath(CStateManager& mgr) {
|
||||
Death(mgr, zeus::skZero3f, EScriptObjectState::Dead);
|
||||
}
|
||||
|
||||
void CPhazonHealingNodule::PhazeOut(CStateManager& mgr) { Death(mgr, zeus::skZero3f, EScriptObjectState::Dead); }
|
||||
} // namespace urde::MP1
|
||||
|
|
|
@ -36,6 +36,14 @@ public:
|
|||
void Lurk(CStateManager& mgr, EStateMsg msg, float dt) override;
|
||||
void Patrol(CStateManager& mgr, EStateMsg msg, float dt) override;
|
||||
|
||||
bool InRange(CStateManager &, float arg) override;
|
||||
bool InDetectionRange(CStateManager &, float arg) override;
|
||||
bool AnimOver(CStateManager &, float arg) override;
|
||||
|
||||
void MassiveDeath(CStateManager &mgr) override;
|
||||
void MassiveFrozenDeath(CStateManager &mgr) override;
|
||||
void PhazeOut(CStateManager &) override;
|
||||
|
||||
private:
|
||||
void UpdateParticleElectric(CStateManager& mgr);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue