metaforce/Runtime/World/CScriptEffect.cpp

29 lines
938 B
C++
Raw Normal View History

2016-04-20 21:44:18 +00:00
#include "CScriptEffect.hpp"
#include "Character/CModelData.hpp"
#include "Collision/CMaterialList.hpp"
#include "CActorParameters.hpp"
2017-01-15 03:07:01 +00:00
#include "TCastTo.hpp"
2016-04-20 21:44:18 +00:00
namespace urde
{
2017-03-24 05:30:16 +00:00
u32 CScriptEffect::g_NumParticlesUpdating = 0;
u32 CScriptEffect::g_NumParticlesRendered = 0;
2016-04-20 21:44:18 +00:00
CScriptEffect::CScriptEffect(TUniqueId uid, const std::string& name, const CEntityInfo& info,
const zeus::CTransform& xf, const zeus::CVector3f& scale,
ResId partId, ResId elscId, bool, bool, bool, bool active,
bool, float, float, float, float, bool, float, float, float,
bool, bool, bool, const CLightParameters& lParms, bool)
2016-04-22 20:22:45 +00:00
: CActor(uid, active, name, info, xf, CModelData::CModelDataNull(), CMaterialList(),
2016-04-20 21:44:18 +00:00
CActorParameters::None(), kInvalidUniqueId)
{
}
2017-01-15 03:07:01 +00:00
void CScriptEffect::Accept(IVisitor& visitor)
{
visitor.Visit(this);
}
2016-04-20 21:44:18 +00:00
}