metaforce/Runtime/World/CScriptCameraWaypoint.hpp

28 lines
790 B
C++
Raw Normal View History

2016-04-24 01:10:47 +00:00
#ifndef __URDE_CSCRIPTCAMERAWAYPOINT_HPP__
#define __URDE_CSCRIPTCAMERAWAYPOINT_HPP__
#include "CActor.hpp"
namespace urde
{
class CScriptCameraWaypoint : public CActor
{
2017-11-24 08:23:28 +00:00
float xe8_hfov;
u32 xec_;
2016-04-24 01:10:47 +00:00
public:
2017-11-13 06:19:18 +00:00
CScriptCameraWaypoint(TUniqueId uid, std::string_view name, const CEntityInfo& info,
2017-11-24 08:23:28 +00:00
const zeus::CTransform& xf, bool active, float hfov, u32);
2017-01-15 03:07:01 +00:00
void Accept(IVisitor& visitor);
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&);
void AddToRenderer(const zeus::CFrustum&, const CStateManager&) const {}
void Render(const CStateManager&) const {}
2017-10-14 06:34:57 +00:00
TUniqueId GetRandomNextWaypointId(CStateManager& mgr) const;
2017-11-24 08:23:28 +00:00
float GetHFov() const { return xe8_hfov; }
2016-04-24 01:10:47 +00:00
};
}
#endif // __URDE_CSCRIPTCAMERAWAYPOINT_HPP__