2016-12-13 02:56:43 +00:00
|
|
|
#include "CScriptCameraHintTrigger.hpp"
|
|
|
|
#include "CActorParameters.hpp"
|
2017-01-15 03:07:01 +00:00
|
|
|
#include "TCastTo.hpp"
|
2016-12-13 02:56:43 +00:00
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
2016-12-19 18:27:58 +00:00
|
|
|
CScriptCameraHintTrigger::CScriptCameraHintTrigger(TUniqueId uid, bool active, const std::string& name,
|
|
|
|
const CEntityInfo& info, const zeus::CVector3f& scale,
|
|
|
|
const zeus::CTransform& xf, bool b2, bool b3)
|
2016-12-29 21:38:59 +00:00
|
|
|
: CActor(uid, active, name, info, xf, CModelData::CModelDataNull(), CMaterialList(EMaterialTypes::Trigger),
|
2016-12-19 18:27:58 +00:00
|
|
|
CActorParameters::None(), kInvalidUniqueId)
|
|
|
|
, xe8_obb(xf, scale)
|
|
|
|
, x124_scale(scale)
|
2016-12-13 02:56:43 +00:00
|
|
|
{
|
2017-01-25 04:40:19 +00:00
|
|
|
x130_24_ = b2;
|
|
|
|
x130_25_ = b3;
|
2016-12-13 02:56:43 +00:00
|
|
|
}
|
2017-01-15 03:07:01 +00:00
|
|
|
|
|
|
|
void CScriptCameraHintTrigger::Accept(IVisitor& visitor)
|
|
|
|
{
|
|
|
|
visitor.Visit(this);
|
|
|
|
}
|
|
|
|
|
2016-12-13 02:56:43 +00:00
|
|
|
}
|