25 #include "common/ptr.h" 26 #include "common/rect.h" 27 #include "common/scummsys.h" 28 #include "common/str.h" 31 class SeekableReadStream;
61 bool _phaseVarControlled;
78 bool hasFrame()
const {
79 return _frame !=
nullptr;
86 return _phase >= _frames;
102 _phaseVar = phaseVar;
113 void loop(
bool loop) {
117 void cycles(
int cycles) {
121 void delay(
int delay) {
125 void setRandom(
int value) {
129 void phaseVarControlled(
bool controlled) {
130 _phaseVarControlled = controlled;
131 _onScreen = !controlled;
134 bool paused()
const {
148 void speed(
int speed) {
160 void rotate(
int rotation) {
161 if (_rotation == rotation)
164 _rotation = rotation;
165 rescaleCurrentFrame();
168 void scale(
float scale);
169 float scale()
const {
177 void onScreen(
bool onScreen);
183 uint visibleHeight()
const {
184 return _visibleHeight;
186 uint visibleCenter()
const {
187 return _visibleCenter;
191 void decodeNextFrame();
194 void rescaleCurrentFrame();
196 void freeScaledFrame();
Definition: managed_surface.h:51
Definition: animation.h:46
Definition: algorithm.h:29
Definition: formatinfo.h:28
Definition: animation.h:37