Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6612 in orxonox.OLD for trunk/src/lib/particles/particle_system.h


Ignore:
Timestamp:
Jan 19, 2006, 1:50:39 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: particle_system is now loaded differently

ParticleEngine is NOT needed anymore, this is faster and better

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/particles/particle_system.h

    r6512 r6612  
    1212#include "glincl.h"
    1313#include "vector.h"
     14#include <list>
    1415
    1516#include "quick_animation.h"
     
    107108  virtual unsigned int getFaceCount() const;
    108109
     110  void addEmitter(ParticleEmitter* emitter);
     111  void addEmitterXML(const TiXmlElement* emitterRoot);
     112  void removeEmitter(ParticleEmitter* emitter);
    109113
    110114  virtual void applyField(Field* field);
     
    136140  GLuint            dialectCount;        //!< How many different types of particles are there in the Particle System
    137141
     142  std::list<ParticleEmitter*> emitters;  //!< The Emitters that do emit into this System.
     143
    138144  // per particle attributes
    139145  QuickAnimation    radiusAnim;          //!< Animation of the radius
Note: See TracChangeset for help on using the changeset viewer.