metaforce/Runtime/MP1/World/CMetaree.hpp

52 lines
1.1 KiB
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2017-08-21 00:29:59 +00:00
#include "World/CPatterned.hpp"
#include "World/CDamageInfo.hpp"
2017-12-29 08:08:12 +00:00
namespace urde::MP1
2017-08-21 00:29:59 +00:00
{
class CMetaree : public CPatterned
{
float x568_;
float x56c_;
float x570_;
zeus::CVector3f x574_;
float x580_;
zeus::CVector3f x584_;
float x590_ = 0.f;
float x594_ = 0.f;
float x598_ = 0.f;
zeus::CVector3f x59c_;
u32 x5a8_ = 0;
CDamageInfo x5ac_damgeInfo;
u16 x5c8_ = 549;
struct
{
struct
{
bool x5ca_24_ : 1;
bool x5ca_25_ : 1;
bool x5ca_26_ : 1;
};
u16 _dummy;
};
u32 x5cc_;
public:
2018-09-14 00:49:34 +00:00
DEFINE_PATTERNED(Metaree)
2017-11-13 06:19:18 +00:00
CMetaree(TUniqueId, std::string_view, EFlavorType, const CEntityInfo&, const zeus::CTransform&, CModelData&&,
2017-08-21 00:29:59 +00:00
const CPatternedInfo&, const CDamageInfo&, float, const zeus::CVector3f&, float, EBodyType, float, float,
const CActorParameters&);
void Accept(IVisitor& visitor);
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
bool Delay(CStateManager&, float)
{
2018-09-07 23:51:07 +00:00
return x330_stateMachineState.GetTime() == x568_;
2017-08-21 00:29:59 +00:00
}
};
}