mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 23:26:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			41 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
| #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 */
 |