metaforce/Runtime/World/CScriptActorKeyframe.cpp

35 lines
829 B
C++
Raw Normal View History

2016-11-20 21:53:15 +00:00
#include "CScriptActorKeyframe.hpp"
2017-01-15 03:07:01 +00:00
#include "TCastTo.hpp"
2016-11-20 21:53:15 +00:00
namespace urde
{
CScriptActorKeyframe::CScriptActorKeyframe(TUniqueId uid, const std::string& name, const CEntityInfo& info, s32 animId,
bool b1, float f1, bool b2, u32 w2, bool active, float totalPlayback)
: CEntity(uid, info, active, name)
, x34_animationId(animId)
, x38_(f1)
, x3c_(totalPlayback)
, x40_(f1)
, x44_24_(b1)
, x44_25_(b2)
, x44_26_(w2)
2016-11-20 21:53:15 +00:00
{
}
2017-01-15 03:07:01 +00:00
void CScriptActorKeyframe::Accept(IVisitor& visitor)
{
visitor.Visit(this);
}
void CScriptActorKeyframe::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) {}
2016-11-20 21:53:15 +00:00
void CScriptActorKeyframe::Think(float dt, CStateManager& mgr)
{
if (x44_25_)
{
}
2016-11-20 21:53:15 +00:00
}
void CScriptActorKeyframe::UpdateEntity(TUniqueId, CStateManager&) {}
2016-11-20 21:53:15 +00:00
}