metaforce/Runtime/World/CScriptWaypoint.hpp

34 lines
855 B
C++
Raw Normal View History

2016-04-19 00:17:49 +00:00
#ifndef __URDE_CSCRIPTWAYPOINT_HPP__
#define __URDE_CSCRIPTWAYPOINT_HPP__
#include "CActor.hpp"
namespace urde
{
class CScriptWaypoint : public CActor
{
2017-11-24 08:23:28 +00:00
float xe8_;
u32 xec_;
float xf0_;
bool xf4_;
bool xf5_;
bool xf6_;
bool xf7_;
bool xf8_;
2017-07-10 04:55:51 +00:00
u16 xfa_jumpFlags;
2016-04-19 00:17:49 +00:00
public:
2017-11-13 06:19:18 +00:00
CScriptWaypoint(TUniqueId, std::string_view, const CEntityInfo&,
2016-04-19 00:17:49 +00:00
const zeus::CTransform&, bool, float, float,
u32, u32, u32, u32, u32, u32, u32);
2017-01-15 03:07:01 +00:00
void Accept(IVisitor& visitor);
2017-11-24 08:23:28 +00:00
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId sender, CStateManager& mgr);
void AddToRenderer(const zeus::CFrustum&, const CStateManager&) const;
TUniqueId FollowWaypoint(CStateManager& mgr) const;
TUniqueId NextWaypoint(CStateManager& mgr) const;
2016-04-19 00:17:49 +00:00
};
}
#endif // __URDE_CSCRIPTWAYPOINT_HPP__