aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/videoplayer.h
diff options
context:
space:
mode:
authorSven Hesse2008-05-01 03:00:51 +0000
committerSven Hesse2008-05-01 03:00:51 +0000
commit455a167b9d69c5485751024fb326a3bee8a79fe9 (patch)
treea8cc6040e078dab0e44bb99aa60ae4f97f261425 /engines/gob/videoplayer.h
parent7509d66caf516d87f938f66a20f4ce81367a8305 (diff)
downloadscummvm-rg350-455a167b9d69c5485751024fb326a3bee8a79fe9.tar.gz
scummvm-rg350-455a167b9d69c5485751024fb326a3bee8a79fe9.tar.bz2
scummvm-rg350-455a167b9d69c5485751024fb326a3bee8a79fe9.zip
Fixing the object video offsets
svn-id: r31795
Diffstat (limited to 'engines/gob/videoplayer.h')
-rw-r--r--engines/gob/videoplayer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/gob/videoplayer.h b/engines/gob/videoplayer.h
index 3a6ec0d9da..fd3c68aa1a 100644
--- a/engines/gob/videoplayer.h
+++ b/engines/gob/videoplayer.h
@@ -76,6 +76,8 @@ public:
int16 getCurrentFrame(int slot = -1) const;
int16 getWidth(int slot = -1) const;
int16 getHeight(int slot = -1) const;
+ int16 getDefaultX(int slot = -1) const;
+ int16 getDefaultY(int slot = -1) const;
void writeVideoInfo(const char *videoFile, int16 varX, int16 varY,
int16 varFrames, int16 varWidth, int16 varHeight);
@@ -96,6 +98,9 @@ private:
const CoktelVideo *getVideo() const;
CoktelVideo::State getState() const;
+ int16 getDefaultX() const;
+ int16 getDefaultY() const;
+
CoktelVideo::State nextFrame();
private:
@@ -105,6 +110,7 @@ private:
DataStream *_stream;
CoktelVideo *_video;
CoktelVideo::State _state;
+ int16 _defaultX, _defaultY;
};
static const char *_extensions[];