OpenMW
components/nifogre/particles.hpp
Go to the documentation of this file.
00001 #ifndef OENGINE_OGRE_PARTICLES_H
00002 #define OENGINE_OGRE_PARTICLES_H
00003 
00004 #include <OgreParticleEmitterFactory.h>
00005 #include <OgreParticleAffectorFactory.h>
00006 
00008 class NifEmitterFactory : public Ogre::ParticleEmitterFactory
00009 {
00010 public:
00012     Ogre::String getName() const
00013     { return "Nif"; }
00014 
00016     Ogre::ParticleEmitter* createEmitter(Ogre::ParticleSystem *psys);
00017 };
00018 
00020 class GrowFadeAffectorFactory : public Ogre::ParticleAffectorFactory
00021 {
00023     Ogre::String getName() const
00024     { return "GrowFade"; }
00025 
00027     Ogre::ParticleAffector *createAffector(Ogre::ParticleSystem *psys);
00028 };
00029 
00031 class GravityAffectorFactory : public Ogre::ParticleAffectorFactory
00032 {
00034     Ogre::String getName() const
00035     { return "Gravity"; }
00036 
00038     Ogre::ParticleAffector *createAffector(Ogre::ParticleSystem *psys);
00039 };
00040 
00041 #endif /* OENGINE_OGRE_PARTICLES_H */