Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3863 in orxonox.OLD for orxonox/trunk/src/t_animation.h


Ignore:
Timestamp:
Apr 18, 2005, 10:10:26 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: efence compile support, minor changes at animation, and texture has now only support for sdl-image

File:
1 edited

Legend:

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

    r3860 r3863  
    2121#define _T_ANIMATION_H
    2222
     23
    2324#include "animation.h"
    2425
    2526#define DELTA_X 0.05  //!< the percentag of the distance that doesnt have to be done by neg_exp (asymptotical) ~ maschinendelta
     27
     28//! A Struct for Keyframes that simply hold a float
     29typedef struct KeyFrameF
     30{
     31  float duration;             //!< duration of this keyframe
     32  float value;                //!< value of this keyframe
     33  ANIM_FUNCTION animFunc;     //!< with whitch function to iterate to the next KeyFrameF
     34};
     35
    2636
    2737//! A Class to handle some animation for single floated values.
Note: See TracChangeset for help on using the changeset viewer.