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

CFlyingPirate: More method implementations

This commit is contained in:
2020-03-12 19:30:33 -04:00
parent d4982270e8
commit 11ea9d3aa6
5 changed files with 177 additions and 16 deletions

View File

@@ -140,9 +140,11 @@ private:
rstl::reserved_vector<TCachedToken<CGenDescription>, 4> x65c_particleGenDescs;
rstl::reserved_vector<std::unique_ptr<CElementGen>, 16> x684_particleGens;
bool x6a0_24_ : 1;
bool x6a0_25_ : 1;
bool x6a0_27_ : 1;
bool x6a0_29_ : 1;
bool x6a0_30_ : 1;
bool x6a1_26_ : 1;
bool x6a1_28_ : 1;
bool x6a1_30_ : 1;
bool x6a1_31_ : 1;
@@ -163,7 +165,7 @@ private:
float x7e4_ = 1.f;
TUniqueId x7e8_id3 = kInvalidUniqueId;
CBurstFire x7ec_burstFire;
int x84c_ = -1;
pas::EStepDirection x84c_ = pas::EStepDirection::Invalid;
float x850_ = 3.f;
float x854_ = FLT_MAX;
float x858_ = FLT_MAX;
@@ -185,7 +187,7 @@ private:
zeus::CVector3f AvoidActors(CStateManager& mgr);
bool CanFireMissiles(CStateManager& mgr);
void CheckForProjectiles(CStateManager& mgr);
void FireProjectile(CStateManager& mgr, const zeus::CVector3f& pos);
void FireProjectile(CStateManager& mgr, const zeus::CVector3f& pos, float dt);
pas::EStepDirection GetDodgeDirection(CStateManager& mgr, float arg);
zeus::CVector3f GetTargetPos(CStateManager& mgr);
bool LineOfSightTest(CStateManager& mgr, const zeus::CVector3f& pos, const zeus::CVector3f& dir, CMaterialList materials);