2016-04-20 21:44:18 +00:00
|
|
|
#ifndef __URDE_CSCRIPEFFECT_HPP__
|
|
|
|
#define __URDE_CSCRIPEFFECT_HPP__
|
|
|
|
|
|
|
|
#include "CActor.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CScriptEffect : public CActor
|
|
|
|
{
|
2017-03-24 05:30:16 +00:00
|
|
|
static u32 g_NumParticlesUpdating;
|
|
|
|
static u32 g_NumParticlesRendered;
|
2016-04-20 21:44:18 +00:00
|
|
|
public:
|
|
|
|
CScriptEffect(TUniqueId, const std::string& name, const CEntityInfo& info,
|
|
|
|
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);
|
2017-01-15 03:07:01 +00:00
|
|
|
|
|
|
|
void Accept(IVisitor& visitor);
|
2017-03-24 05:30:16 +00:00
|
|
|
|
|
|
|
static void ResetParticleCounts()
|
|
|
|
{
|
|
|
|
g_NumParticlesUpdating = 0;
|
|
|
|
g_NumParticlesRendered = 0;
|
|
|
|
}
|
2016-04-20 21:44:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CSCRIPEFFECT_HPP__
|