metaforce/Runtime/World/CScriptGrapplePoint.cpp

20 lines
703 B
C++
Raw Normal View History

2016-04-20 21:07:18 +00:00
#include "CScriptGrapplePoint.hpp"
#include "Character/CModelData.hpp"
#include "Collision/CMaterialList.hpp"
#include "CActorParameters.hpp"
namespace urde
{
CScriptGrapplePoint::CScriptGrapplePoint(TUniqueId uid, const std::string &name, const CEntityInfo& info,
const zeus::CTransform &transform, bool active, const CGrappleParameters &params)
2016-04-22 20:22:45 +00:00
: CActor(uid, active, name, info, transform, CModelData::CModelDataNull(), CMaterialList(EMaterialTypes::FourtyOne),
CActorParameters::None(),
2016-04-20 21:07:18 +00:00
kInvalidUniqueId),
2016-04-22 20:22:45 +00:00
xe8_(x34_transform.m_origin - 0.5f,
x34_transform.m_origin + 0.5f),
2016-04-20 21:07:18 +00:00
x100_parameters(params)
{
}
}