metaforce/Runtime/MP1/World/CPuffer.hpp

44 lines
1.4 KiB
C++
Raw Permalink Normal View History

2018-10-11 22:57:05 +00:00
#pragma once
#include "Runtime/CToken.hpp"
#include "Runtime/GCNTypes.hpp"
#include "Runtime/rstl.hpp"
#include "Runtime/World/CPatterned.hpp"
#include <zeus/CVector3f.hpp>
2018-10-11 22:57:05 +00:00
2021-04-10 08:42:06 +00:00
namespace metaforce::MP1 {
2018-12-08 05:30:43 +00:00
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;
2020-03-04 00:49:13 +00:00
s32 x5d0_enabledParticles = 0;
2018-12-08 05:30:43 +00:00
rstl::reserved_vector<zeus::CVector3f, 14> x5d4_gasLocators;
void sub8025bfa4(CStateManager&);
2018-11-14 04:16:11 +00:00
2018-10-11 22:57:05 +00:00
public:
DEFINE_PATTERNED(Puffer);
2018-10-11 22:57:05 +00:00
2018-12-08 05:30:43 +00:00
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);
2018-11-14 04:16:11 +00:00
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;
2018-10-11 22:57:05 +00:00
};
2021-04-10 08:42:06 +00:00
} // namespace metaforce::MP1