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

Wintermute::AnimationSet Class Reference

#include <animation_set.h>

Inheritance diagram for Wintermute::AnimationSet:
Collaboration diagram for Wintermute::AnimationSet:

List of all members.

Classes

class  AnimationEvent

Public Member Functions

 AnimationSet (BaseGame *inGame, ModelX *model)
virtual ~AnimationSet ()
bool loadFromX (XFileLexer &lexer, const Common::String &filename)
bool findBones (FrameNode *rootFrame)
bool addAnimation (Animation *anim)
bool addEvent (AnimationEvent *event)
bool update (int slot, uint32 localTime, float lerpValue)
bool onFrameChanged (int currentFrame, int prevFrame)
int getFrameTime ()
uint32 getTotalTime ()
bool persist (BasePersistenceManager *persistMgr)

Public Attributes

bool _looping

Protected Attributes

BaseArray< Animation * > _animations
BaseArray< AnimationEvent * > _events
int _frameTime
uint32 _totalTime
ModelX_model

Detailed Description

Definition at line 43 of file animation_set.h.


Constructor & Destructor Documentation

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

Definition at line 38 of file animation_set.cpp.

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

Definition at line 43 of file animation_set.cpp.


Member Function Documentation

bool Wintermute::AnimationSet::addAnimation ( Animation anim  ) 

Definition at line 99 of file animation_set.cpp.

bool Wintermute::AnimationSet::addEvent ( AnimationEvent event  ) 

Definition at line 109 of file animation_set.cpp.

bool Wintermute::AnimationSet::findBones ( FrameNode rootFrame  ) 

Definition at line 91 of file animation_set.cpp.

int Wintermute::AnimationSet::getFrameTime (  ) 

Definition at line 147 of file animation_set.cpp.

uint32 Wintermute::AnimationSet::getTotalTime (  ) 

Definition at line 166 of file animation_set.cpp.

bool Wintermute::AnimationSet::loadFromX ( XFileLexer lexer,
const Common::String filename 
)

Definition at line 57 of file animation_set.cpp.

bool Wintermute::AnimationSet::onFrameChanged ( int  currentFrame,
int  prevFrame 
)

Definition at line 180 of file animation_set.cpp.

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

Reimplemented from Wintermute::BaseClass.

Definition at line 203 of file animation_set.cpp.

bool Wintermute::AnimationSet::update ( int  slot,
uint32  localTime,
float  lerpValue 
)

Definition at line 135 of file animation_set.cpp.


Member Data Documentation

Definition at line 95 of file animation_set.h.

Definition at line 96 of file animation_set.h.

Definition at line 98 of file animation_set.h.

Definition at line 90 of file animation_set.h.

Definition at line 100 of file animation_set.h.

Definition at line 99 of file animation_set.h.


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


Generated on Sat Sep 26 2020 05:04:14 for ResidualVM by doxygen 1.7.1
curved edge   curved edge