mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #208 from lioncash/wave
CWaveBuster: Implement GetTouchBounds()
This commit is contained in:
commit
ac46b898bc
|
@ -37,4 +37,12 @@ void CWaveBuster::ResetBeam(bool deactivate) {}
|
||||||
|
|
||||||
void CWaveBuster::SetNewTarget(TUniqueId id) {}
|
void CWaveBuster::SetNewTarget(TUniqueId id) {}
|
||||||
|
|
||||||
|
std::optional<zeus::CAABox> CWaveBuster::GetTouchBounds() const {
|
||||||
|
if (x3d0_28_) {
|
||||||
|
return std::nullopt;
|
||||||
|
}
|
||||||
|
|
||||||
|
return GetProjectileBounds();
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace urde
|
} // namespace urde
|
||||||
|
|
|
@ -54,6 +54,8 @@ public:
|
||||||
void UpdateFx(const zeus::CTransform& xf, float dt, CStateManager& mgr);
|
void UpdateFx(const zeus::CTransform& xf, float dt, CStateManager& mgr);
|
||||||
void ResetBeam(bool deactivate);
|
void ResetBeam(bool deactivate);
|
||||||
void SetNewTarget(TUniqueId id);
|
void SetNewTarget(TUniqueId id);
|
||||||
|
|
||||||
|
std::optional<zeus::CAABox> GetTouchBounds() const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace urde
|
} // namespace urde
|
||||||
|
|
Loading…
Reference in New Issue