aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-07-08 11:42:07 +0000
committerTorbjörn Andersson2006-07-08 11:42:07 +0000
commit5658e71f4d7c2245098316434db2f239871e9f05 (patch)
tree485e494fe9ca53f0346d8468c27a7dd9d06bed5e /graphics
parent6ed462e06febcd060348d66a8779362a5b2bc89b (diff)
downloadscummvm-rg350-5658e71f4d7c2245098316434db2f239871e9f05.tar.gz
scummvm-rg350-5658e71f4d7c2245098316434db2f239871e9f05.tar.bz2
scummvm-rg350-5658e71f4d7c2245098316434db2f239871e9f05.zip
Added support for DXA cutscenes, while still retaining support for the old MPEG
cutscenes and the "dummy" (subtitles and voice-over) mode. Several tweaks and cleanups were made in this process, and there may very well be regressions, but it should be stable enough to commit. svn-id: r23420
Diffstat (limited to 'graphics')
-rw-r--r--graphics/animation.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/animation.h b/graphics/animation.h
index 1b429ea27d..1881f0149c 100644
--- a/graphics/animation.h
+++ b/graphics/animation.h
@@ -141,6 +141,9 @@ public:
void buildLookup();
#endif
+ int getFrameWidth() { return _frameWidth; }
+ int getFrameHeight() { return _frameHeight; }
+
protected:
bool checkPaletteSwitch();
virtual void drawYUV(int width, int height, byte *const *dat) = 0;