mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:07:42 +00:00
Various fixes and tweaks, Implement CExplosion, Add cheats
This commit is contained in:
@@ -11,12 +11,12 @@ namespace urde
|
||||
class CExplosion : public CEffect
|
||||
{
|
||||
std::unique_ptr<CElementGen> xe8_particleGen;
|
||||
TUniqueId xec_ = kInvalidUniqueId;
|
||||
TUniqueId xec_explosionLight = kInvalidUniqueId;
|
||||
const CGenDescription* xf0_particleDesc;
|
||||
bool xf4_24_:1;
|
||||
bool xf4_24_renderThermalHot:1;
|
||||
bool xf4_25_:1;
|
||||
bool xf4_26_:1;
|
||||
float xf8_ = 0.f;
|
||||
bool xf4_26_renderXray:1;
|
||||
float xf8_time = 0.f;
|
||||
|
||||
public:
|
||||
CExplosion(const TLockedToken<CGenDescription>& particle, TUniqueId uid, bool active,
|
||||
@@ -24,6 +24,12 @@ public:
|
||||
u32, const zeus::CVector3f& scale, const zeus::CColor& color);
|
||||
|
||||
void Accept(IVisitor&);
|
||||
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
||||
void Think(float, CStateManager&);
|
||||
void PreRender(CStateManager&, const zeus::CFrustum&);
|
||||
void AddToRenderer(const zeus::CFrustum&, const CStateManager&) const;
|
||||
void Render(const CStateManager&) const;
|
||||
bool CanRenderUnsorted(const CStateManager&) const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user