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"
33class AnimationResource;
36class AnimationFramePart;
48 void freeAnimationData();
50 void loadAnimations(
int fileNum,
int subfile);
55 void animate(
int animId);
90 int getCount()
const {
return _animations.
size(); }
91 Animation *getAnimation(
int idx) {
return _animations[idx]; }
114 void setFrame1(
const AnimationFrame *frame, int16 xoff = 0, int16 yoff = 0);
122 int _currentLoopCount;
Definition: animation.h:130
Definition: animation.h:140
Definition: animation.h:94
Definition: animation.h:38
void popBackTimer()
Definition: animation.h:75
void setAnimTimer(Animation *anim)
bool hasTimer() const
Definition: animation.h:80
Definition: animation.h:83
size_type size() const
Definition: array.h:316
bool empty() const
Definition: array.h:352
void pop_back()
Definition: array.h:200