Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 16, 2006, 7:30:56 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: the most evil for (int i=0; i <'=' …) bug ever…

File:
1 edited

Legend:

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

    r7027 r7300  
    6060  virtual ~ParticleSystem();
    6161
    62   void init();
    6362  virtual void loadParams(const TiXmlElement* root);
    6463  void loadEmitters(const TiXmlElement* root);
     
    6665  void setLifeSpan(float lifeSpan, float randomLifeSpan = 0.0);
    6766  void setConserve(float conserve);
    68   void setMaxCount(int maxCount);
     67  void setMaxCount(unsigned int maxCount);
    6968
    7069  /* Per-Particle-Attributes */
     
    9493  void removeEmitter(ParticleEmitter* emitter);
    9594
    96   virtual void applyField(Field* field);
     95  virtual void applyField(const Field* field);
    9796  /** @brief this is an empty function, because the Physics are implemented in tick @param dt: useless here */
    9897  virtual void tickPhys(float dt) {};
     
    114113  float             randomInitialMass;   //!< The random initial Mass of the Particle
    115114
    116   int               maxCount;            //!< The maximum count of Particles.
    117   int               count;               //!< The current count of Particles.
     115  unsigned int      maxCount;            //!< The maximum count of Particles.
     116  unsigned int      count;               //!< The current count of Particles.
    118117  Particle*         particles;           //!< A list of particles of this System.
    119118  Particle*         deadList;            //!< A list of dead Particles in the System.
Note: See TracChangeset for help on using the changeset viewer.