2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 01:07:43 +00:00

More CElementGen implementation

This commit is contained in:
Jack Andersen
2016-02-10 16:36:21 -10:00
parent 29d813453d
commit 0803c1bfc9
5 changed files with 365 additions and 51 deletions

View File

@@ -13,6 +13,7 @@ class CEESimpleEmitter : public CEmitterElement
public:
CEESimpleEmitter(CVectorElement* a, CVectorElement* b)
: x4_loc(a), x8_vec(b) {}
bool GetValue(int frame, Zeus::CVector3f& pPos, Zeus::CVector3f& pVel) const;
};
class CVESphere : public CEmitterElement
@@ -23,6 +24,7 @@ class CVESphere : public CEmitterElement
public:
CVESphere(CVectorElement* a, CRealElement* b, CRealElement* c)
: x4_a(a), x8_b(b), xc_c(c) {}
bool GetValue(int frame, Zeus::CVector3f& pPos, Zeus::CVector3f& pVel) const;
};
class CVEAngleSphere : public CEmitterElement
@@ -38,6 +40,7 @@ public:
CVEAngleSphere(CVectorElement* a, CRealElement* b, CRealElement* c, CRealElement* d,
CRealElement* e, CRealElement* f, CRealElement* g)
: x4_a(a), x8_b(b), xc_c(c), x10_d(d), x14_e(e), x18_f(f), x1c_g(g) {}
bool GetValue(int frame, Zeus::CVector3f& pPos, Zeus::CVector3f& pVel) const;
};
}