ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::ActiveAnimation Class Reference

#include <active_animation.h>

Inheritance diagram for Wintermute::ActiveAnimation:
Collaboration diagram for Wintermute::ActiveAnimation:

List of all members.

Public Member Functions

 ActiveAnimation (BaseGame *inGame, ModelX *model)
virtual ~ActiveAnimation ()
bool start (AnimationSet *animation, bool looping=false)
bool update (int slot=0, bool prevFrameOnly=false, float lerpValue=0.0f, bool forceStartFrame=false)
bool resetStartTime ()
bool persist (BasePersistenceManager *persistMgr)
bool setLooping (bool looping)
char * getName ()
AnimationSetgetAnimSet ()
bool isLooping ()
bool isFinished ()

Private Attributes

ModelX_model
int _currentFrame
uint32 _startTime
bool _looping
bool _finished
uint32 _lastLocalTime
AnimationSet_animation

Detailed Description

Definition at line 39 of file active_animation.h.


Constructor & Destructor Documentation

Wintermute::ActiveAnimation::ActiveAnimation ( BaseGame inGame,
ModelX model 
)

Definition at line 37 of file active_animation.cpp.

Wintermute::ActiveAnimation::~ActiveAnimation (  )  [virtual]

Definition at line 45 of file active_animation.cpp.


Member Function Documentation

AnimationSet* Wintermute::ActiveAnimation::getAnimSet (  )  [inline]

Definition at line 52 of file active_animation.h.

char * Wintermute::ActiveAnimation::getName (  ) 

Definition at line 125 of file active_animation.cpp.

bool Wintermute::ActiveAnimation::isFinished (  )  [inline]

Definition at line 60 of file active_animation.h.

bool Wintermute::ActiveAnimation::isLooping (  )  [inline]

Definition at line 56 of file active_animation.h.

bool Wintermute::ActiveAnimation::persist ( BasePersistenceManager persistMgr  )  [virtual]

Reimplemented from Wintermute::BaseClass.

Definition at line 134 of file active_animation.cpp.

bool Wintermute::ActiveAnimation::resetStartTime (  ) 

Definition at line 62 of file active_animation.cpp.

bool Wintermute::ActiveAnimation::setLooping ( bool  looping  ) 

Definition at line 159 of file active_animation.cpp.

bool Wintermute::ActiveAnimation::start ( AnimationSet animation,
bool  looping = false 
)

Definition at line 51 of file active_animation.cpp.

bool Wintermute::ActiveAnimation::update ( int  slot = 0,
bool  prevFrameOnly = false,
float  lerpValue = 0.0f,
bool  forceStartFrame = false 
)

Definition at line 68 of file active_animation.cpp.


Member Data Documentation

Definition at line 66 of file active_animation.h.

Definition at line 69 of file active_animation.h.

Definition at line 68 of file active_animation.h.

Definition at line 62 of file active_animation.h.


The documentation for this class was generated from the following files:


Generated on Sat Sep 19 2020 05:06:30 for ResidualVM by doxygen 1.7.1
curved edge   curved edge