Changeset 7300 in orxonox.OLD for trunk/src/lib/particles/particle_system.h
- Timestamp:
- Apr 16, 2006, 7:30:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/particle_system.h
r7027 r7300 60 60 virtual ~ParticleSystem(); 61 61 62 void init();63 62 virtual void loadParams(const TiXmlElement* root); 64 63 void loadEmitters(const TiXmlElement* root); … … 66 65 void setLifeSpan(float lifeSpan, float randomLifeSpan = 0.0); 67 66 void setConserve(float conserve); 68 void setMaxCount( int maxCount);67 void setMaxCount(unsigned int maxCount); 69 68 70 69 /* Per-Particle-Attributes */ … … 94 93 void removeEmitter(ParticleEmitter* emitter); 95 94 96 virtual void applyField( Field* field);95 virtual void applyField(const Field* field); 97 96 /** @brief this is an empty function, because the Physics are implemented in tick @param dt: useless here */ 98 97 virtual void tickPhys(float dt) {}; … … 114 113 float randomInitialMass; //!< The random initial Mass of the Particle 115 114 116 intmaxCount; //!< The maximum count of Particles.117 intcount; //!< The current count of Particles.115 unsigned int maxCount; //!< The maximum count of Particles. 116 unsigned int count; //!< The current count of Particles. 118 117 Particle* particles; //!< A list of particles of this System. 119 118 Particle* deadList; //!< A list of dead Particles in the System.
Note: See TracChangeset
for help on using the changeset viewer.