aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/coktelvideo.h
diff options
context:
space:
mode:
authorSven Hesse2008-05-23 20:40:28 +0000
committerSven Hesse2008-05-23 20:40:28 +0000
commit62d0a0d1d1e3735e4898729493ea2dcaa7f85df4 (patch)
treec5ebbd4be0bf0093f574d35a60d5bfb421a2c4fa /engines/gob/coktelvideo.h
parent4b06f42ff339cc79eb17aa75140987c1426e405a (diff)
downloadscummvm-rg350-62d0a0d1d1e3735e4898729493ea2dcaa7f85df4.tar.gz
scummvm-rg350-62d0a0d1d1e3735e4898729493ea2dcaa7f85df4.tar.bz2
scummvm-rg350-62d0a0d1d1e3735e4898729493ea2dcaa7f85df4.zip
Implemented GobEngine::pauseEngineIntern()
svn-id: r32233
Diffstat (limited to 'engines/gob/coktelvideo.h')
-rw-r--r--engines/gob/coktelvideo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/gob/coktelvideo.h b/engines/gob/coktelvideo.h
index 581ac2ae81..31b220cd56 100644
--- a/engines/gob/coktelvideo.h
+++ b/engines/gob/coktelvideo.h
@@ -134,7 +134,7 @@ public:
/** Use an own memory block as video memory. */
virtual void setVideoMemory() = 0;
- /** Play sound (if the IMD has sound). */
+ /** Play sound (if the video has sound). */
virtual void enableSound(Audio::Mixer &mixer) = 0;
/** Don't play sound or stop currently playing sound. */
virtual void disableSound() = 0;
@@ -155,6 +155,9 @@ public:
/** Wait for the frame to end. */
virtual void waitEndFrame() = 0;
+ /** Notifies the video that it was paused for duration ms. */
+ virtual void notifyPaused(uint32 duration) = 0;
+
/** Copy the current frame.
*
* @param dest The memory to which to copy the current frame.
@@ -213,6 +216,8 @@ public:
State nextFrame();
void waitEndFrame();
+ void notifyPaused(uint32 duration);
+
void copyCurrentFrame(byte *dest,
uint16 left, uint16 top, uint16 width, uint16 height,
uint16 x, uint16 y, uint16 pitch, int16 transp = -1);