2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 14:31:20 +00:00
metaforce/Runtime/World/CScriptVisorGoo.hpp
Lioncash 2059535b55 RuntimeCommonB: Use the override specifier where applicable
Applies the override keyword where applicable to indicate visually where
member function overriding is occurring. This only targets
the RuntimeCommonB target as a starting point, which resolves around
900+ cases where the keyword could be used.
2019-08-09 09:13:26 -04:00

35 lines
1.2 KiB
C++

#pragma once
#include "CActor.hpp"
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;
public:
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);
void Accept(IVisitor& visitor) override;
void Think(float, CStateManager& stateMgr) override;
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) override;
void AddToRenderer(const zeus::CFrustum&, const CStateManager&) const override;
void Render(const CStateManager&) const override;
std::optional<zeus::CAABox> GetTouchBounds() const override;
void Touch(CActor&, CStateManager&) override;
};
} // namespace urde