aboutsummaryrefslogtreecommitdiff
path: root/saga/animation.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-09-30 09:14:21 +0000
committerTorbjörn Andersson2005-09-30 09:14:21 +0000
commit2cb741281f104e8781e172c3b2f75d1f88008797 (patch)
tree60fbf3a2a5534eb08cba4ba0f139af3498b32da3 /saga/animation.h
parentd659246376de6c85b1a004c97d9a23906867d8b5 (diff)
downloadscummvm-rg350-2cb741281f104e8781e172c3b2f75d1f88008797.tar.gz
scummvm-rg350-2cb741281f104e8781e172c3b2f75d1f88008797.tar.bz2
scummvm-rg350-2cb741281f104e8781e172c3b2f75d1f88008797.zip
Don't draw actors during cutaways. (Not that it makes any difference at
this point. :-) svn-id: r18903
Diffstat (limited to 'saga/animation.h')
-rw-r--r--saga/animation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/saga/animation.h b/saga/animation.h
index 2e245489c2..994ff7d512 100644
--- a/saga/animation.h
+++ b/saga/animation.h
@@ -127,6 +127,9 @@ public:
void finish(uint16 animId);
void resume(uint16 animId, int cycles);
int16 getCurrentFrame(uint16 animId);
+ bool hasCutaway(void) {
+ return _cutawayActive;
+ }
bool hasAnimation(uint16 animId) {
if (animId >= MAX_ANIMATIONS) {
if (animId < MAX_ANIMATIONS + ARRAYSIZE(_cutawayAnimations))