metaforce/Runtime/World/CScriptPointOfInterest.hpp

27 lines
810 B
C++
Raw Permalink Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
#include <string_view>
#include "Runtime/World/CActor.hpp"
2021-04-10 08:42:06 +00:00
namespace metaforce {
class CScannableParameters;
2018-12-08 05:30:43 +00:00
class CScriptPointOfInterest : public CActor {
private:
2018-12-08 05:30:43 +00:00
float xe8_pointSize;
public:
2021-05-26 14:00:57 +00:00
DEFINE_ENTITY
CScriptPointOfInterest(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, bool,
2018-12-08 05:30:43 +00:00
const CScannableParameters&, float);
void Accept(IVisitor& visitor) override;
void Think(float, CStateManager&) override;
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
void AddToRenderer(const zeus::CFrustum&, CStateManager&) override;
void Render(CStateManager&) override;
void CalculateRenderBounds() override;
std::optional<zeus::CAABox> GetTouchBounds() const override;
};
2021-04-10 08:42:06 +00:00
} // namespace metaforce