Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9722 in orxonox.OLD for branches/new_class_id/src/lib/graphics


Ignore:
Timestamp:
Sep 4, 2006, 11:54:30 PM (18 years ago)
Author:
bensch
Message:

orxonox: now it is gcc-4.1.1 conform

strangely before this, it was possible to compare and set std::list::iterators to NULL values.
also it now is not allowed to use
void ClassName::functionName(); inside of the header… quite nice feature, and i think compiling is faster too :)

Gentoo Rocks
GCC rocks also with nptl :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/graphics/importer/md2/md2Model.h

    r9715 r9722  
    160160  virtual void setAnimation(int firstFrame, int lastFrame, int fps, int bStoppable, int animPlayback);
    161161  /**  returns the current animation @returns animation type */
    162   inline int MD2Model::getAnimation() { return this->animationState.type; }
     162  inline int getAnimation() { return this->animationState.type; }
    163163  virtual void setAnimationSpeed(float speed) { this->animationSpeed = speed; }
    164164  virtual bool isAnimationFinished() { return (this->animationState.currentFrame == this->animationState.endFrame )?true:false; }
Note: See TracChangeset for help on using the changeset viewer.