22 #ifndef ACCESS_ANIMATION_H 23 #define ACCESS_ANIMATION_H 25 #include "common/scummsys.h" 26 #include "common/array.h" 27 #include "common/memstream.h" 28 #include "access/data.h" 29 #include "access/files.h" 33 class AnimationResource;
36 class AnimationFramePart;
48 void freeAnimationData();
54 void animate(
int animId);
89 int getCount()
const {
return _animations.
size(); }
90 Animation *getAnimation(
int idx) {
return _animations[idx]; }
113 void setFrame1(
const AnimationFrame *frame, int16 xoff = 0, int16 yoff = 0);
121 int _currentLoopCount;
void setAnimTimer(Animation *anim)
void popBackTimer()
Definition: animation.h:74
Definition: animation.h:93
bool hasTimer() const
Definition: animation.h:79
bool empty() const
Definition: array.h:352
Definition: animation.h:129
Definition: animation.h:139
Definition: animation.h:38
void pop_back()
Definition: array.h:200
Definition: animation.h:82
size_type size() const
Definition: array.h:316