mirror of https://github.com/AxioDL/metaforce.git
50 lines
1.3 KiB
C++
50 lines
1.3 KiB
C++
#pragma once
|
|
|
|
#include "World/CPatterned.hpp"
|
|
#include "World/CPathFindSearch.hpp"
|
|
|
|
namespace urde::MP1
|
|
{
|
|
class CFireFlea : public CPatterned
|
|
{
|
|
class CDeathCameraEffect : public CEntity
|
|
{
|
|
u32 x34_ = 13;
|
|
u32 x38_ = 5;
|
|
u32 x3c_ = 60;
|
|
u32 x40_ = 190;
|
|
u32 x44_ = 0;
|
|
public:
|
|
static const zeus::CColor skStartFadeColor;
|
|
static const zeus::CColor skEndFadeColor;
|
|
static zeus::CColor sCurrentFadeColor;
|
|
CDeathCameraEffect(TUniqueId, TAreaId, std::string_view);
|
|
|
|
void Accept(IVisitor&);
|
|
void PreThink(float, CStateManager&);
|
|
void Think(float, CStateManager&);
|
|
};
|
|
float x568_ = 1.f;
|
|
float x56c_;
|
|
u32 x570_ = 0;
|
|
float xe64_;
|
|
zeus::CVector3f xd74_;
|
|
zeus::CVector3f xd80_;
|
|
CPathFindSearch xd8c_pathFind;
|
|
|
|
static s32 sLightIdx;
|
|
|
|
public:
|
|
DEFINE_PATTERNED(FireFlea)
|
|
|
|
CFireFlea(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, CModelData&&,
|
|
const CActorParameters&, const CPatternedInfo&, float);
|
|
|
|
void Accept(IVisitor&);
|
|
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, CStateManager& mgr);
|
|
void Dead(CStateManager&, EStateMsg msg, float dt);
|
|
bool Delay(CStateManager&, float arg);
|
|
bool InPosition(CStateManager& mgr, float dt);
|
|
CPathFindSearch* GetSearchPath() { return &xd8c_pathFind; }
|
|
};
|
|
} |