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
|
|
|
|
{
|
2017-11-13 06:19:18 +00:00
|
|
|
CScriptActorKeyframe::CScriptActorKeyframe(TUniqueId uid, std::string_view name, const CEntityInfo& info, s32 animId,
|
2016-11-20 21:53:15 +00:00
|
|
|
bool b1, float f1, bool b2, u32 w2, bool active, float totalPlayback)
|
2016-12-19 18:27:58 +00:00
|
|
|
: CEntity(uid, info, active, name)
|
|
|
|
, x34_animationId(animId)
|
|
|
|
, x38_(f1)
|
|
|
|
, x3c_(totalPlayback)
|
|
|
|
, x40_(f1)
|
2016-11-20 21:53:15 +00:00
|
|
|
{
|
2017-01-25 04:40:19 +00:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2016-12-19 18:27:58 +00:00
|
|
|
void CScriptActorKeyframe::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr) {}
|
2016-11-20 21:53:15 +00:00
|
|
|
|
|
|
|
void CScriptActorKeyframe::Think(float dt, CStateManager& mgr)
|
|
|
|
{
|
2016-12-19 18:27:58 +00:00
|
|
|
if (x44_25_)
|
|
|
|
{
|
|
|
|
}
|
2016-11-20 21:53:15 +00:00
|
|
|
}
|
|
|
|
|
2016-12-19 18:27:58 +00:00
|
|
|
void CScriptActorKeyframe::UpdateEntity(TUniqueId, CStateManager&) {}
|
2016-11-20 21:53:15 +00:00
|
|
|
}
|