metaforce/Runtime/World/CScriptVisorGoo.hpp

35 lines
1.1 KiB
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2017-11-12 05:14:57 +00:00
#include "CActor.hpp"
2018-12-08 05:30:43 +00:00
namespace urde {
class CScriptVisorGoo : public CActor {
TToken<CGenDescription> xe8_particleDesc;
TToken<CElectricDescription> xf0_electricDesc;
u16 xf8_sfx;
CAssetId xfc_particleId;
CAssetId x100_electricId;
float x104_minDist;
float x108_maxDist;
float x10c_nearProb;
float x110_farProb;
zeus::CColor x114_color;
bool x118_24_angleTest : 1;
2017-11-12 05:14:57 +00:00
public:
2018-12-08 05:30:43 +00:00
CScriptVisorGoo(TUniqueId uid, std::string_view name, const CEntityInfo& info, const zeus::CTransform& xf,
CAssetId particle, CAssetId electric, float minDist, float maxDist, float nearProb, float farProb,
const zeus::CColor& color, int sfx, bool forceShow, bool active);
2017-11-12 05:14:57 +00:00
2018-12-08 05:30:43 +00:00
void Accept(IVisitor& visitor);
void Think(float, CStateManager& stateMgr);
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
void AddToRenderer(const zeus::CFrustum&, const CStateManager&) const;
void Render(const CStateManager&) const;
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&);
2017-11-12 05:14:57 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde