metaforce/Runtime/World/CExplosion.hpp

32 lines
774 B
C++
Raw Normal View History

2017-04-13 19:28:31 +00:00
#ifndef __URDE_CEXPLOSION_HPP__
#define __URDE_CEXPLOSION_HPP__
#include "CEffect.hpp"
#include "Particle/CElementGen.hpp"
2017-04-15 06:16:38 +00:00
#include "Particle/CGenDescription.hpp"
2017-04-13 19:28:31 +00:00
namespace urde
{
class CExplosion : public CEffect
{
std::unique_ptr<CElementGen> xe8_particleGen;
TUniqueId xec_ = kInvalidUniqueId;
const CGenDescription* xf0_particleDesc;
bool xf4_24_:1;
bool xf4_25_:1;
bool xf4_26_:1;
float xf8_ = 0.f;
public:
CExplosion(const TLockedToken<CGenDescription>& particle, TUniqueId uid, bool active,
2017-11-13 06:19:18 +00:00
const CEntityInfo& info, std::string_view name, const zeus::CTransform& xf,
2017-04-13 19:28:31 +00:00
u32, const zeus::CVector3f& scale, const zeus::CColor& color);
void Accept(IVisitor&);
2017-04-13 19:28:31 +00:00
};
}
#endif // __URDE_CEXPLOSION_HPP__