2022-10-21 16:43:17 +00:00
|
|
|
#ifndef _CSCRIPTCAMERAWAYPOINT
|
|
|
|
#define _CSCRIPTCAMERAWAYPOINT
|
|
|
|
|
|
|
|
#include "MetroidPrime/CActor.hpp"
|
|
|
|
|
|
|
|
class CScriptCameraWaypoint : public CActor {
|
|
|
|
float xe8_hfov;
|
|
|
|
uint xec_;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CScriptCameraWaypoint(TUniqueId uid, const rstl::string& name, const CEntityInfo& info,
|
|
|
|
const CTransform4f& xf, bool active, float hfov, uint);
|
|
|
|
~CScriptCameraWaypoint();
|
|
|
|
|
2023-02-06 07:21:28 +00:00
|
|
|
void Accept(IVisitor& visitor);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
|
|
|
|
void AddToRenderer(const CFrustumPlanes&, const CStateManager&) const;
|
|
|
|
void Render(const CStateManager&) const;
|
2022-10-21 16:43:17 +00:00
|
|
|
|
|
|
|
TUniqueId GetRandomNextWaypointId(const CStateManager& mgr) const;
|
|
|
|
float GetHFov() const { return xe8_hfov; }
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _CSCRIPTCAMERAWAYPOINT
|