mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-01 06:17:58 +03:00
Imported Upstream version 0.26.0
This commit is contained in:
commit
9a2b6c69b6
1398 changed files with 212217 additions and 0 deletions
41
libs/openengine/ogre/particles.hpp
Normal file
41
libs/openengine/ogre/particles.hpp
Normal file
|
@ -0,0 +1,41 @@
|
|||
#ifndef OENGINE_OGRE_PARTICLES_H
|
||||
#define OENGINE_OGRE_PARTICLES_H
|
||||
|
||||
#include <OgreParticleEmitterFactory.h>
|
||||
#include <OgreParticleAffectorFactory.h>
|
||||
|
||||
/** 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);
|
||||
};
|
||||
|
||||
/** 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);
|
||||
};
|
||||
|
||||
/** 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);
|
||||
};
|
||||
|
||||
#endif /* OENGINE_OGRE_PARTICLES_H */
|
Loading…
Add table
Add a link
Reference in a new issue