metaforce/Runtime/World/CScriptDebris.cpp

36 lines
1.5 KiB
C++
Raw Normal View History

2016-05-23 05:36:20 +00:00
#include "CScriptDebris.hpp"
2017-01-15 03:07:01 +00:00
#include "TCastTo.hpp"
2016-05-23 05:36:20 +00:00
namespace urde
{
CScriptDebris::CScriptDebris(TUniqueId uid, const std::string& name, const CEntityInfo& info, const zeus::CTransform& xf,
CModelData&& mData, const CActorParameters& aParams, ResId, const zeus::CVector3f&, float,
const zeus::CVector3f&, const zeus::CColor&, float f1, float f2, float f3,
CScriptDebris::EScaleType, bool, bool, bool active)
: CPhysicsActor(uid, active, name, info, xf, std::move(mData),
2016-12-29 21:38:59 +00:00
CMaterialList(EMaterialTypes::Solid, EMaterialTypes::Debris),
2016-05-23 05:36:20 +00:00
mData.GetBounds(xf.getRotation()), SMoverData(f2), aParams, 0.3, 0.1)
{
}
2017-01-15 03:07:01 +00:00
void CScriptDebris::Accept(IVisitor& visitor)
{
visitor.Visit(this);
}
2016-05-23 05:36:20 +00:00
#if 0
CScriptDebris::CScriptDebris(TUniqueId, const std::string&, const CEntityInfo&, const zeus::CTransform&, CModelData&&,
const CActorParameters&, float, float, float, float, float, float, float, float, float,
const zeus::CColor&, const zeus::CColor&, float, const zeus::CVector3f&, const zeus::CVector3f&,
float, float, const zeus::CVector3f&, u32, const zeus::CVector3f&, bool, bool,
CScriptDebris::EOrientationType, u32, const zeus::CVector3f&, bool, bool,
CScriptDebris::EOrientationType, u32, const zeus::CVector3f&, CScriptDebris::EOrientationType,
bool, bool, bool)
{
}
#endif
}