aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/coktelvideo.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/coktelvideo.h')
-rw-r--r--engines/gob/coktelvideo.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/gob/coktelvideo.h b/engines/gob/coktelvideo.h
index a4da56b860..54a72f0623 100644
--- a/engines/gob/coktelvideo.h
+++ b/engines/gob/coktelvideo.h
@@ -145,6 +145,9 @@ public:
/** Use an own memory block as video memory. */
virtual void setVideoMemory() = 0;
+ /** Double the video's resolution. */
+ virtual void setDoubleMode(bool doubleMode) = 0;
+
/** Play sound (if the video has sound). */
virtual void enableSound(Audio::Mixer &mixer) = 0;
/** Don't play sound or stop currently playing sound. */
@@ -226,6 +229,8 @@ public:
void setVideoMemory(byte *vidMem, uint16 width, uint16 height);
void setVideoMemory();
+ void setDoubleMode(bool doubleMode) { }
+
void enableSound(Audio::Mixer &mixer);
void disableSound();
@@ -319,6 +324,8 @@ public:
void setXY(int16 x, int16 y);
+ void setDoubleMode(bool doubleMode);
+
void seekFrame(int32 frame, int16 whence = SEEK_SET, bool restart = false);
State nextFrame();
@@ -376,6 +383,8 @@ protected:
byte _scaleExternalX;
byte *_vidMemBuffer;
+ bool _doubleMode;
+
Graphics::PaletteLUT *_palLUT;
Indeo3 *_codecIndeo3;