metaforce/Runtime/World/CScriptGenerator.cpp

28 lines
661 B
C++

#include "CScriptGenerator.hpp"
namespace urde
{
CScriptGenerator::CScriptGenerator(TUniqueId uid, const std::string& name, const CEntityInfo& info,
u32 w1, bool b1, const zeus::CVector3f& vec1, bool b2, bool active, float minScale, float maxScale)
: CEntity(uid, info, active, name),
x34_(w1),
x38_24_(b1),
x38_25_(b2),
x3c_(vec1),
x48_minScale(minScale),
x4c_maxScale(maxScale)
{
}
void CScriptGenerator::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId objId, CStateManager& stateMgr)
{
if (msg == EScriptObjectMessage::SetToZero)
{
}
CEntity::AcceptScriptMsg(msg, objId, stateMgr);
}
}