mirror of https://github.com/AxioDL/metaforce.git
CDrone: Implement AttackOver
This commit is contained in:
parent
aba51246d8
commit
fb7e8cd65a
|
@ -768,6 +768,8 @@ bool CDrone::SpotPlayer(CStateManager& mgr, float arg) {
|
||||||
|
|
||||||
bool CDrone::AnimOver(CStateManager& mgr, float arg) { return x7c8_ == 2; }
|
bool CDrone::AnimOver(CStateManager& mgr, float arg) { return x7c8_ == 2; }
|
||||||
|
|
||||||
|
bool CDrone::AttackOver(CStateManager& mgr, float arg) { return x834_31_attackOver; }
|
||||||
|
|
||||||
bool CDrone::ShouldAttack(CStateManager& mgr, float arg) {
|
bool CDrone::ShouldAttack(CStateManager& mgr, float arg) {
|
||||||
if (x5d0_ > 0.f)
|
if (x5d0_ > 0.f)
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -154,6 +154,7 @@ public:
|
||||||
bool InRange(CStateManager&, float arg) override;
|
bool InRange(CStateManager&, float arg) override;
|
||||||
bool SpotPlayer(CStateManager&, float arg) override;
|
bool SpotPlayer(CStateManager&, float arg) override;
|
||||||
bool AnimOver(CStateManager&, float arg) override;
|
bool AnimOver(CStateManager&, float arg) override;
|
||||||
|
bool AttackOver(CStateManager& mgr, float arg) override;
|
||||||
bool ShouldAttack(CStateManager&, float arg) override;
|
bool ShouldAttack(CStateManager&, float arg) override;
|
||||||
bool HearShot(CStateManager&, float arg) override;
|
bool HearShot(CStateManager&, float arg) override;
|
||||||
bool CoverCheck(CStateManager&, float arg) override;
|
bool CoverCheck(CStateManager&, float arg) override;
|
||||||
|
|
Loading…
Reference in New Issue