metaforce/Runtime/World/CScriptActorKeyframe.hpp

40 lines
972 B
C++
Raw Normal View History

2016-11-20 21:53:15 +00:00
#ifndef __URDE_CSCRIPTACTORKEYFRAME_HPP__
#define __URDE_CSCRIPTACTORKEYFRAME_HPP__
#include "CEntity.hpp"
namespace urde
{
class CScriptActorKeyframe : public CEntity
{
private:
s32 x34_animationId;
float x38_;
float x3c_;
float x40_;
union {
2016-11-20 21:53:15 +00:00
struct
{
bool x44_24_ : 1;
bool x44_25_ : 1;
bool x44_26_ : 1;
bool x44_27_ : 1;
bool x44_28_ : 1;
bool x44_29_ : 1;
};
u8 _dummy = 0;
};
2016-11-20 21:53:15 +00:00
public:
2017-11-13 06:19:18 +00:00
CScriptActorKeyframe(TUniqueId uid, std::string_view name, const CEntityInfo& info, s32 w1, bool b1, float f1,
2016-11-20 21:53:15 +00:00
bool b2, u32 w2, bool active, float f2);
2017-01-15 03:07:01 +00:00
void Accept(IVisitor& visitor);
2016-11-20 21:53:15 +00:00
void AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr);
void Think(float, CStateManager&);
2016-11-20 21:53:15 +00:00
void UpdateEntity(TUniqueId, CStateManager&);
};
}
#endif // __URDE_CSCRIPTACTORKEYFRAME_HPP__