2017-01-24 17:23:10 +00:00
|
|
|
#include "World/CWallCrawlerSwarm.hpp"
|
|
|
|
#include "World/CActorParameters.hpp"
|
|
|
|
#include "Collision/CMaterialList.hpp"
|
|
|
|
#include "TCastTo.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2017-01-24 17:23:10 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
static CMaterialList MakeMaterialList() {
|
|
|
|
return CMaterialList(EMaterialTypes::Scannable, EMaterialTypes::Trigger, EMaterialTypes::NonSolidDamageable,
|
|
|
|
EMaterialTypes::ExcludeFromLineOfSightTest);
|
2017-01-24 17:23:10 +00:00
|
|
|
}
|
|
|
|
|
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)
|
2018-12-08 05:30:43 +00:00
|
|
|
: CActor(uid, active, name, info, xf, CModelData::CModelDataNull(), MakeMaterialList(), aParams, kInvalidUniqueId) {}
|
2017-01-24 17:23:10 +00:00
|
|
|
|
|
|
|
void CWallCrawlerSwarm::Accept(IVisitor& visitor) { visitor.Visit(this); }
|
2018-02-09 07:12:26 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|