You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
12 years ago
|
#ifndef OENGINE_OGRE_PARTICLES_H
|
||
|
#define OENGINE_OGRE_PARTICLES_H
|
||
|
|
||
12 years ago
|
#include <OgreParticleEmitterFactory.h>
|
||
12 years ago
|
#include <OgreParticleAffectorFactory.h>
|
||
|
|
||
12 years ago
|
/** Factory class for NifEmitter. */
|
||
|
class NifEmitterFactory : public Ogre::ParticleEmitterFactory
|
||
|
{
|
||
|
public:
|
||
|
/** See ParticleEmitterFactory */
|
||
|
Ogre::String getName() const
|
||
|
{ return "Nif"; }
|
||
|
|
||
|
/** See ParticleEmitterFactory */
|
||
|
Ogre::ParticleEmitter* createEmitter(Ogre::ParticleSystem *psys);
|
||
|
};
|
||
|
|
||
12 years ago
|
/** Factory class for GrowFadeAffector. */
|
||
|
class GrowFadeAffectorFactory : public Ogre::ParticleAffectorFactory
|
||
|
{
|
||
|
/** See Ogre::ParticleAffectorFactory */
|
||
|
Ogre::String getName() const
|
||
|
{ return "GrowFade"; }
|
||
|
|
||
|
/** See Ogre::ParticleAffectorFactory */
|
||
|
Ogre::ParticleAffector *createAffector(Ogre::ParticleSystem *psys);
|
||
|
};
|
||
|
|
||
12 years ago
|
/** Factory class for GravityAffector. */
|
||
|
class GravityAffectorFactory : public Ogre::ParticleAffectorFactory
|
||
|
{
|
||
|
/** See Ogre::ParticleAffectorFactory */
|
||
|
Ogre::String getName() const
|
||
|
{ return "Gravity"; }
|
||
|
|
||
|
/** See Ogre::ParticleAffectorFactory */
|
||
|
Ogre::ParticleAffector *createAffector(Ogre::ParticleSystem *psys);
|
||
|
};
|
||
|
|
||
12 years ago
|
#endif /* OENGINE_OGRE_PARTICLES_H */
|