2016-04-20 21:07:18 +00:00
|
|
|
#include "CScriptGrapplePoint.hpp"
|
|
|
|
#include "Character/CModelData.hpp"
|
|
|
|
#include "Collision/CMaterialList.hpp"
|
|
|
|
#include "CActorParameters.hpp"
|
2017-01-15 03:07:01 +00:00
|
|
|
#include "TCastTo.hpp"
|
2016-04-20 21:07:18 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
2017-11-13 06:19:18 +00:00
|
|
|
CScriptGrapplePoint::CScriptGrapplePoint(TUniqueId uid, std::string_view name, const CEntityInfo& info,
|
|
|
|
const zeus::CTransform &transform, bool active,
|
|
|
|
const CGrappleParameters ¶ms)
|
2016-12-29 21:38:59 +00:00
|
|
|
: CActor(uid, active, name, info, transform, CModelData::CModelDataNull(), CMaterialList(EMaterialTypes::Orbit),
|
2016-04-22 20:22:45 +00:00
|
|
|
CActorParameters::None(),
|
2016-04-20 21:07:18 +00:00
|
|
|
kInvalidUniqueId),
|
2016-04-29 10:08:46 +00:00
|
|
|
xe8_(x34_transform.origin - 0.5f,
|
|
|
|
x34_transform.origin + 0.5f),
|
2016-04-20 21:07:18 +00:00
|
|
|
x100_parameters(params)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2017-01-15 03:07:01 +00:00
|
|
|
void CScriptGrapplePoint::Accept(IVisitor& visitor)
|
|
|
|
{
|
|
|
|
visitor.Visit(this);
|
|
|
|
}
|
|
|
|
|
2016-04-20 21:07:18 +00:00
|
|
|
}
|