2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-15 23:37:02 +00:00

CPhazonHealingNodule: Add missing functions

This commit is contained in:
2020-04-05 02:26:35 -04:00
parent 61444da8ff
commit ab8e00880e
2 changed files with 22 additions and 0 deletions

View File

@@ -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