Changeset 3131 for code/branches/pch/src/orxonox/tools/ParticleInterface.h
- Timestamp:
- Jun 9, 2009, 8:37:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/tools/ParticleInterface.h
r2896 r3131 34 34 #include <string> 35 35 #include <OgrePrerequisites.h> 36 37 #include "core/OrxonoxClass.h"38 #include "util/Math.h"39 36 #include "tools/TimeFactorListener.h" 40 37 … … 52 49 virtual ~ParticleInterface(); 53 50 54 inline Ogre::ParticleSystem* getParticleSystem() const51 inline Ogre::ParticleSystem* getParticleSystem() 55 52 { return this->particleSystem_; } 56 53 … … 62 59 63 60 Ogre::ParticleAffector* addAffector(const std::string& name); 64 Ogre::ParticleAffector* getAffector(unsigned int affectorNr) const;61 Ogre::ParticleAffector* getAffector(unsigned int affectorNr); 65 62 void removeAffector(unsigned int affectorNr); 66 63 void removeAllAffectors(); … … 95 92 void updateVisibility(); 96 93 97 static ParticleInterface* currentParticleInterface_s;98 static unsigned int counter_s;99 100 94 Ogre::ParticleSystem* particleSystem_; 95 Ogre::SceneManager* scenemanager_; 101 96 bool bVisible_; 102 97 bool bEnabled_; … … 104 99 unsigned int detaillevel_; //!< Detail level of this particle effect (0: off, 1: low, 2: normal, 3: high) 105 100 float speedFactor_; 106 Ogre::SceneManager* scenemanager_; 101 102 static ParticleInterface* currentParticleInterface_s; 103 static unsigned int counter_s; 107 104 }; 108 105 }
Note: See TracChangeset
for help on using the changeset viewer.