2022-10-21 14:51:59 +00:00
|
|
|
#ifndef _CSCRIPTPOINTOFINTEREST
|
|
|
|
#define _CSCRIPTPOINTOFINTEREST
|
|
|
|
|
|
|
|
#include "MetroidPrime/CActor.hpp"
|
|
|
|
|
|
|
|
class CScannableParameters;
|
|
|
|
|
|
|
|
class CScriptPointOfInterest : public CActor {
|
|
|
|
private:
|
|
|
|
float xe8_pointSize;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CScriptPointOfInterest(TUniqueId, const rstl::string&, const CEntityInfo&, const CTransform4f&, bool,
|
|
|
|
const CScannableParameters&, float);
|
|
|
|
~CScriptPointOfInterest();
|
|
|
|
|
2023-02-06 07:21:28 +00:00
|
|
|
void Accept(IVisitor& visitor);
|
|
|
|
void Think(float, CStateManager&);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
|
|
|
void AddToRenderer(const CFrustumPlanes&, const CStateManager&) const;
|
|
|
|
void Render(const CStateManager&) const;
|
|
|
|
void CalculateRenderBounds();
|
|
|
|
rstl::optional_object<CAABox> GetTouchBounds() const;
|
2022-10-21 14:51:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CSCRIPTPOINTOFINTEREST
|