2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 23:07:42 +00:00

Merge pull request #208 from lioncash/wave

CWaveBuster: Implement GetTouchBounds()
This commit is contained in:
2020-03-12 15:09:57 -07:00
committed by GitHub
2 changed files with 10 additions and 0 deletions

View File

@@ -37,4 +37,12 @@ void CWaveBuster::ResetBeam(bool deactivate) {}
void CWaveBuster::SetNewTarget(TUniqueId id) {}
std::optional<zeus::CAABox> CWaveBuster::GetTouchBounds() const {
if (x3d0_28_) {
return std::nullopt;
}
return GetProjectileBounds();
}
} // namespace urde

View File

@@ -54,6 +54,8 @@ public:
void UpdateFx(const zeus::CTransform& xf, float dt, CStateManager& mgr);
void ResetBeam(bool deactivate);
void SetNewTarget(TUniqueId id);
std::optional<zeus::CAABox> GetTouchBounds() const override;
};
} // namespace urde