2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-13 14:06:09 +00:00

CFlameWarp: Dehardcode container sizes

Same behavior, less magic numbers.
This commit is contained in:
Lioncash
2020-04-03 01:04:53 -04:00
parent ad30f0c61c
commit eb1209b492
2 changed files with 14 additions and 11 deletions

View File

@@ -47,12 +47,7 @@ public:
bool IsActivated() override { return xa0_24_activated; }
bool IsProcessed() const { return xa0_26_processed; }
FourCC Get4CharID() override { return FOURCC('FWRP'); }
void ResetPosition(const zeus::CVector3f& pos) {
for (auto& vec : x4_collisionPoints) {
vec = pos;
}
xa0_26_processed = false;
}
void ResetPosition(const zeus::CVector3f& pos);
zeus::CAABox CalculateBounds() const;
};
} // namespace urde