Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3860 in orxonox.OLD for orxonox/trunk/src/animation.h


Ignore:
Timestamp:
Apr 17, 2005, 6:20:02 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: moved likely to compiler.h in defs
also reset all the UNLIKELY_IF functions to how they should look.

the old approach is still valid, but depricated.

@patrick: i hope this is ok for you, for it is LINUX-standard.
and i think windows is also able to handle likely/unlikely because it is a compiler issue not a system issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/animation.h

    r3858 r3860  
    1111
    1212// FORWARD DEFINITION
    13 
    14 #define DELTA_X 0.05  //!< the percentag of the distance that doesnt have to be done by neg_exp (asymptotical) ~ maschinendelta
    1513
    1614//! An enumerator of Functions to describe the flow of the Animation
     
    4745 * Animation Functions
    4846 * virtual tick
     47 * addKeyFrame
    4948 * List of keyFrames
    5049 * currentKeyFrame/nextKeyFrame
     
    7372  BaseObject* getBaseObject(void) const {return baseObject;}
    7473
     74  /** \returns if the Animation should be deleted */
     75  inline bool ifDelete(void) {return bDelete;}
     76
    7577 protected:
    7678  Animation(void);
     
    8587  bool bHandled;                  //!< If this Animation is handled by the AnimationPlayer.
    8688  bool bRunning;                  //!< If the animation is running
    87   //  bool bDelete;                   //!< If true, the animation will be deleted through the AnimationPlayer.
     89  bool bDelete;                   //!< If true, the animation will be deleted through the AnimationPlayer.
    8890};
    8991
Note: See TracChangeset for help on using the changeset viewer.