2017-01-24 17:23:10 +00:00
|
|
|
#include "World/CWallCrawlerSwarm.hpp"
|
|
|
|
#include "World/CActorParameters.hpp"
|
|
|
|
#include "Collision/CMaterialList.hpp"
|
|
|
|
#include "TCastTo.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
2018-05-08 02:11:07 +00:00
|
|
|
static CMaterialList MakeMaterialList()
|
2017-01-24 17:23:10 +00:00
|
|
|
{
|
|
|
|
return CMaterialList(EMaterialTypes::Scannable, EMaterialTypes::Trigger, EMaterialTypes::NonSolidDamageable,
|
|
|
|
EMaterialTypes::ExcludeFromLineOfSightTest);
|
|
|
|
}
|
|
|
|
|
2017-11-13 06:19:18 +00:00
|
|
|
CWallCrawlerSwarm::CWallCrawlerSwarm(TUniqueId uid, bool active, std::string_view name, const CEntityInfo& info,
|
2017-01-24 17:23:10 +00:00
|
|
|
const zeus::CVector3f&, const zeus::CTransform& xf, u32, const CAnimRes&, u32, u32,
|
|
|
|
u32, u32, u32, u32, const CDamageInfo&, const CDamageInfo&, float, float, float,
|
|
|
|
float, u32, u32, float, float, float, float, float, float, float, float, float,
|
|
|
|
u32, float, float, float, const CHealthInfo&, const CDamageVulnerability&, u32,
|
|
|
|
u32, const CActorParameters& aParams)
|
|
|
|
: CActor(uid, active, name, info, xf, CModelData::CModelDataNull(), MakeMaterialList(), aParams, kInvalidUniqueId)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void CWallCrawlerSwarm::Accept(IVisitor& visitor) { visitor.Visit(this); }
|
2018-02-09 07:12:26 +00:00
|
|
|
|
2017-01-24 17:23:10 +00:00
|
|
|
}
|