aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/animation.h
diff options
context:
space:
mode:
authorVladimir Menshakov2009-09-14 22:23:35 +0000
committerVladimir Menshakov2009-09-14 22:23:35 +0000
commita13b03e4d9ed3e2147f4505bf514bbd81e7433fd (patch)
tree73edd93ebb0e8d77724e3e2e622ee7c21a052670 /engines/teenagent/animation.h
parent90eabcc885c4854f143bfe637c4205a2d563e450 (diff)
downloadscummvm-rg350-a13b03e4d9ed3e2147f4505bf514bbd81e7433fd.tar.gz
scummvm-rg350-a13b03e4d9ed3e2147f4505bf514bbd81e7433fd.tar.bz2
scummvm-rg350-a13b03e4d9ed3e2147f4505bf514bbd81e7433fd.zip
added PauseAnimation/ClearAnimations event, fixed dialogue animations in intro.
svn-id: r44091
Diffstat (limited to 'engines/teenagent/animation.h')
-rw-r--r--engines/teenagent/animation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/teenagent/animation.h b/engines/teenagent/animation.h
index 4538bdbb7e..a5d7e25c7c 100644
--- a/engines/teenagent/animation.h
+++ b/engines/teenagent/animation.h
@@ -33,7 +33,7 @@ namespace TeenAgent {
class Animation {
public:
uint16 id, x, y;
- bool loop;
+ bool loop, paused;
enum Type {TypeLan, TypeVaria, TypeInventory};
@@ -41,7 +41,7 @@ public:
void load(Common::SeekableReadStream * s, Type type = TypeLan);
void free();
- Surface * firstFrame() const;
+ Surface * firstFrame();
Surface * currentFrame(int dt = 1);
uint16 currentIndex() const { return index; }