mirror of https://github.com/AxioDL/metaforce.git
44 lines
1.3 KiB
C++
44 lines
1.3 KiB
C++
#pragma once
|
|
|
|
#include "Runtime/CToken.hpp"
|
|
#include "Runtime/GCNTypes.hpp"
|
|
#include "Runtime/rstl.hpp"
|
|
#include "Runtime/World/CPatterned.hpp"
|
|
|
|
#include <zeus/CVector3f.hpp>
|
|
|
|
namespace urde::MP1 {
|
|
class CPuffer : public CPatterned {
|
|
zeus::CVector3f x568_face;
|
|
TToken<CGenDescription> x574_cloudEffect;
|
|
CDamageInfo x57c_cloudDamage;
|
|
bool x598_24_ : 1;
|
|
bool x598_25_ : 1;
|
|
bool x598_26_ : 1;
|
|
s16 x59a_;
|
|
CDamageInfo x59c_explosionDamage;
|
|
float x5b8_;
|
|
CAssetId x5bc_cloudSteam;
|
|
zeus::CVector3f x5c0_move;
|
|
TUniqueId x5cc_ = kInvalidUniqueId;
|
|
s32 x5d0_enabledParticles = 0;
|
|
rstl::reserved_vector<zeus::CVector3f, 14> x5d4_gasLocators;
|
|
|
|
void sub8025bfa4(CStateManager&);
|
|
|
|
public:
|
|
DEFINE_PATTERNED(Puffer)
|
|
|
|
CPuffer(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, CModelData&&,
|
|
const CActorParameters&, const CPatternedInfo&, float, CAssetId, const CDamageInfo&, CAssetId, float, bool,
|
|
bool, bool, const CDamageInfo&, s16);
|
|
|
|
void Accept(IVisitor&) override;
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
|
|
void Think(float, CStateManager&) override;
|
|
std::optional<zeus::CAABox> GetTouchBounds() const override;
|
|
void Touch(CActor&, CStateManager&) override;
|
|
void Death(CStateManager&, const zeus::CVector3f&, EScriptObjectState) override;
|
|
};
|
|
} // namespace urde::MP1
|