Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4746 in orxonox.OLD for orxonox/trunk/src/lib/particles


Ignore:
Timestamp:
Jul 1, 2005, 12:48:48 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: changed (void) → ()

Location:
orxonox/trunk/src/lib/particles
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/particles/particle_emitter.cc

    r4726 r4746  
    159159}
    160160
    161 const char* ParticleEmitter::getTypeC(void) const
     161const char* ParticleEmitter::getTypeC() const
    162162{
    163163  if (this->type == EMITTER_PLANE)
     
    310310   \brief outputs some nice debug information
    311311*/
    312 void ParticleEmitter::debug(void) const
     312void ParticleEmitter::debug() const
    313313{
    314314  PRINT(0)(" Emitter %s\n", this->getName());
  • orxonox/trunk/src/lib/particles/particle_emitter.h

    r4726 r4746  
    3636                  float emissionRate = 1.0, float velocity = 1.0);
    3737  ParticleEmitter(const TiXmlElement* root);
    38   virtual ~ParticleEmitter(void);
     38  virtual ~ParticleEmitter();
    3939
    4040  void init();
     
    5959
    6060  /** \returns the type of the emitter */
    61   inline EMITTER_TYPE getType(void) const { return this->type; };
     61  inline EMITTER_TYPE getType() const { return this->type; };
    6262  /** \returns the Type as a const char * */
    63   const char* getTypeC(void) const;
     63  const char* getTypeC() const;
    6464  /** \returns the Size of the emitter */
    65   inline float getSize(void) const { return this->emitterSize; };
     65  inline float getSize() const { return this->emitterSize; };
    6666  /** \returns the emissionRate */
    67   inline float getEmissionRate(void) const { return this->emissionRate; };
     67  inline float getEmissionRate() const { return this->emissionRate; };
    6868  /** \returns the inherit-speed-factor */
    69   inline float getInheritSpeed(void) const { return this->inheritSpeed; };
     69  inline float getInheritSpeed() const { return this->inheritSpeed; };
    7070  /** \returns the SpreadAngle of the emitter */
    71   inline float getSpread(void) const { return this->angle; };
     71  inline float getSpread() const { return this->angle; };
    7272  /** \returns the EmissionVelocity of the emitter */
    73   inline float getEmissionVelocity(void) const { return this->velocity; };
     73  inline float getEmissionVelocity() const { return this->velocity; };
    7474  /** \returns the EmissionMomentum of this emitter */
    75   inline float getEmissionMomentum(void) const { return this->momentum; };
     75  inline float getEmissionMomentum() const { return this->momentum; };
    7676
    77   void debug(void) const;
     77  void debug() const;
    7878
    7979 private:
  • orxonox/trunk/src/lib/particles/particle_engine.cc

    r4726 r4746  
    389389   \brief outputs some nice debug information
    390390*/
    391 void ParticleEngine::debug(void)
     391void ParticleEngine::debug()
    392392{
    393393  PRINT(0)("+-----------------------------------+\n");
  • orxonox/trunk/src/lib/particles/particle_engine.h

    r4726 r4746  
    3333
    3434 public:
    35   virtual ~ParticleEngine(void);
     35  virtual ~ParticleEngine();
    3636  /** \returns a Pointer to the only object of this Class */
    37   inline static ParticleEngine* getInstance(void) { if (!singletonRef) singletonRef = new ParticleEngine();  return singletonRef; };
     37  inline static ParticleEngine* getInstance() { if (!singletonRef) singletonRef = new ParticleEngine();  return singletonRef; };
    3838
    3939  void loadParams(const TiXmlElement* root);
    4040
    4141  void tick(float dt);
    42   void draw(void) const;
     42  void draw() const;
    4343
    4444  void addSystem(ParticleSystem* system);
     
    6161
    6262 private:
    63   ParticleEngine(void);
     63  ParticleEngine();
    6464  static ParticleEngine* singletonRef;        //!< The reference to the engine.
    6565
  • orxonox/trunk/src/lib/particles/particle_system.cc

    r4732 r4746  
    8989  \brief initializes the ParticleSystem with default values
    9090*/
    91 void ParticleSystem::init(void)
     91void ParticleSystem::init()
    9292{
    9393  this->setClassID(CL_PARTICLE_SYSTEM, "ParticleSystem");
     
    367367 * \returns the count of Faces of this ParticleSystem
    368368 */
    369 unsigned int ParticleSystem::getFaceCount(void) const
     369unsigned int ParticleSystem::getFaceCount() const
    370370{
    371371  switch (this->particleType)
     
    389389   This is just the fastest Way to do this, but will most likely be changed in the future.
    390390 */
    391 void ParticleSystem::draw(void) const
     391void ParticleSystem::draw() const
    392392{
    393393  glPushAttrib(GL_ENABLE_BIT);
     
    581581   \brief outputs some nice debug information
    582582*/
    583 void ParticleSystem::debug(void) const
     583void ParticleSystem::debug() const
    584584{
    585585  PRINT(0)("  ParticleSystem %s, type: ", this->getName());
  • orxonox/trunk/src/lib/particles/particle_system.h

    r4727 r4746  
    7373  virtual ~ParticleSystem();
    7474
    75   void init(void);
     75  void init();
    7676  void loadParams(const TiXmlElement* root);
    7777
     
    9090
    9191  /** \returns the Type of the particles */
    92   inline PARTICLE_TYPE getType(void) const { return this->particleType; };
     92  inline PARTICLE_TYPE getType() const { return this->particleType; };
    9393  /** \returns the Material that lies on this particles */
    94   inline const Material* getMaterial(void) const { return this->material; };
     94  inline const Material* getMaterial() const { return this->material; };
    9595  /** \returns the lifespan of the particles */
    96   inline float getLifeSpan(void) const { return this->lifeSpan; };
     96  inline float getLifeSpan() const { return this->lifeSpan; };
    9797  /** \returns the starting-radius of the particles */
    98   inline float getStartRadius(void) { return this->radiusAnim.getValue(0.0); };
     98  inline float getStartRadius() { return this->radiusAnim.getValue(0.0); };
    9999  /** \returns the end-radius of the particles */
    100   inline float getEndRadius(void) { return this->radiusAnim.getValue(1.0); };
     100  inline float getEndRadius() { return this->radiusAnim.getValue(1.0); };
    101101  /** \returns the conserve-factor of the particles */
    102   inline float getConserve(void) const { return this->conserve; };
     102  inline float getConserve() const { return this->conserve; };
    103103  /** \returns the initial mass of the particles */
    104   inline float getMass(void) const { return this->initialMass; };
     104  inline float getMass() const { return this->initialMass; };
    105105
    106   virtual unsigned int getFaceCount(void) const;
     106  virtual unsigned int getFaceCount() const;
    107107
    108108
     
    114114
    115115  virtual void tick(float dt);
    116   virtual void draw(void) const;
     116  virtual void draw() const;
    117117
    118   void debug(void) const;
     118  void debug() const;
    119119
    120120 private:
  • orxonox/trunk/src/lib/particles/quick_animation.cc

    r4657 r4746  
    3030   \brief standard constructor
    3131*/
    32 QuickAnimation::QuickAnimation (void)
     32QuickAnimation::QuickAnimation ()
    3333{
    3434   this->setClassID(CL_QUICK_ANIMATION, "QuickAnimation");
     
    4545   \brief deletes all the deconstructor stuff
    4646*/
    47 QuickAnimation::~QuickAnimation (void)
     47QuickAnimation::~QuickAnimation ()
    4848{
    4949  this->current = this->first;
     
    228228   \brief outputs some nice information about this class
    229229*/
    230 void QuickAnimation::debug(void)
     230void QuickAnimation::debug()
    231231{
    232232  this->current = this->first;
  • orxonox/trunk/src/lib/particles/quick_animation.h

    r4657 r4746  
    4949  float getValue(float position);
    5050
    51   void debug(void);
     51  void debug();
    5252
    5353 private:
Note: See TracChangeset for help on using the changeset viewer.