metaforce/Runtime/MP1/World/CPuffer.hpp

39 lines
1.2 KiB
C++
Raw Normal View History

2018-10-11 22:57:05 +00:00
#pragma once
#include "World/CPatterned.hpp"
2018-12-08 05:30:43 +00:00
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_ = 0;
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:
2018-12-08 05:30:43 +00:00
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
2018-12-08 05:30:43 +00:00
void Accept(IVisitor&);
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
void Think(float, CStateManager&);
2019-01-29 08:28:35 +00:00
rstl::optional<zeus::CAABox> GetTouchBounds() const;
2018-12-08 05:30:43 +00:00
void Touch(CActor&, CStateManager&);
2019-04-07 05:14:48 +00:00
void Death(CStateManager&, const zeus::CVector3f&, EScriptObjectState);
2018-10-11 22:57:05 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde::MP1