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;
|
|
|
|
|
2017-11-13 06:19:18 +00:00
|
|
|
CScriptEffect::CScriptEffect(TUniqueId uid, std::string_view name, const CEntityInfo& info,
|
2016-04-20 21:44:18 +00:00
|
|
|
const zeus::CTransform& xf, const zeus::CVector3f& scale,
|
2017-08-13 05:26:14 +00:00
|
|
|
CAssetId partId, CAssetId elscId, bool, bool, bool, bool active,
|
2016-04-20 21:44:18 +00:00
|
|
|
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
|
|
|
}
|