Changeset 4597 in orxonox.OLD for orxonox/trunk/src/lib/particles/particle_system.h
- Timestamp:
- Jun 11, 2005, 12:55:48 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/particles/particle_system.h
r4493 r4597 1 /*! 1 /*! 2 2 \file particle_system.h 3 3 … … 23 23 24 24 //! An enumerator for the different types of particles. 25 typedef enum PARTICLE_TYPE { PARTICLE_DOT = PARTICLE_DOT_MASK, 26 PARTICLE_SPARK = PARTICLE_SPARK_MASK, 27 PARTICLE_SPRITE = PARTICLE_SPRITE_MASK, 28 PARTICLE_MULTI_SPRITE = PARTICLE_SPRITE_MASK | PARTICLE_MULTI_MASK, 29 PARTICLE_MODEL = PARTICLE_MODEL_MASK, 30 PARTICLE_MULTI_MODE = PARTICLE_MODEL_MASK | PARTICLE_MULTI_MASK }; 25 typedef enum PARTICLE_TYPE 26 { 27 PARTICLE_DOT = PARTICLE_DOT_MASK, 28 PARTICLE_SPARK = PARTICLE_SPARK_MASK, 29 PARTICLE_SPRITE = PARTICLE_SPRITE_MASK, 30 PARTICLE_MULTI_SPRITE = PARTICLE_SPRITE_MASK | PARTICLE_MULTI_MASK, 31 PARTICLE_MODEL = PARTICLE_MODEL_MASK, 32 PARTICLE_MULTI_MODE = PARTICLE_MODEL_MASK | PARTICLE_MULTI_MASK 33 }; 31 34 32 35 #define PARTICLE_DEFAULT_MAX_COUNT 200 //!< A default count of particles in the system. … … 59 62 //! A class to handle ParticleSystems 60 63 class ParticleSystem : public WorldEntity, public PhysicsInterface { 61 64 62 65 public: 63 66 ParticleSystem(unsigned int maxCount = PARTICLE_DEFAULT_MAX_COUNT, 64 67 PARTICLE_TYPE type = PARTICLE_DEFAULT_TYPE); 65 68 virtual ~ParticleSystem(); 66 69 … … 116 119 117 120 GLuint* glID; //!< A List of different gl-List-ID's 118 GLuint dialectCount; //!< How many different types of particles are there in the Particle System 121 GLuint dialectCount; //!< How many different types of particles are there in the Particle System 119 122 120 123 // per particle attributes
Note: See TracChangeset
for help on using the changeset viewer.