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
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2016-12-13 02:56:43 +00:00
|
|
|
|
2017-11-13 06:19:18 +00:00
|
|
|
CScriptCameraHintTrigger::CScriptCameraHintTrigger(TUniqueId uid, bool active, std::string_view name,
|
2016-12-19 18:27:58 +00:00
|
|
|
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)
|
2018-12-08 05:30:43 +00:00
|
|
|
, x124_scale(scale) {
|
|
|
|
x130_24_ = b2;
|
|
|
|
x130_25_ = b3;
|
2016-12-13 02:56:43 +00:00
|
|
|
}
|
2017-01-15 03:07:01 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
void CScriptCameraHintTrigger::Accept(IVisitor& visitor) { visitor.Visit(this); }
|
2017-01-15 03:07:01 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|