#include <AnimDat.h>
Public Member Functions | |
AnimDat () | |
~AnimDat () | |
void | load (IDataSource *ds) |
ActorAnim * | getAnim (uint32 shape) const |
AnimAction * | getAnim (uint32 shape, uint32 action) const |
Private Attributes | |
std::vector< ActorAnim * > | anims |
Definition at line 28 of file AnimDat.h.
AnimDat::AnimDat | ( | ) |
Definition at line 29 of file AnimDat.cpp.
AnimDat::~AnimDat | ( | ) |
AnimAction * AnimDat::getAnim | ( | uint32 | shape, | |
uint32 | action | |||
) | const |
Definition at line 42 of file AnimDat.cpp.
References anims.
Referenced by MainShapeArchive::getAnim().
void AnimDat::load | ( | IDataSource * | ds | ) |
Definition at line 58 of file AnimDat.cpp.
References AnimAction::AAF_CRUS_16DIRS, ActorAnim::actions, anims, AnimFrame::deltadir, AnimFrame::deltaz, AnimFrame::flags, AnimFrame::frame, IDataSource::read1(), IDataSource::read4(), IDataSource::readXS(), IDataSource::seek(), AnimFrame::sfx, IDataSource::skip(), and x.
Referenced by MainShapeArchive::loadAnimDat().
std::vector<ActorAnim*> AnimDat::anims [private] |