aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/videoplayer.h
diff options
context:
space:
mode:
authorSven Hesse2008-12-03 22:14:47 +0000
committerSven Hesse2008-12-03 22:14:47 +0000
commit353a239bdb824e57e67745752d2df15dc3ae0687 (patch)
tree27bfa145527e25cba72d21d0ab9db1be20e5f938 /engines/gob/videoplayer.h
parent1edc1789b1af4a3e5aaaa3e44d5e6683585db8db (diff)
downloadscummvm-rg350-353a239bdb824e57e67745752d2df15dc3ae0687.tar.gz
scummvm-rg350-353a239bdb824e57e67745752d2df15dc3ae0687.tar.bz2
scummvm-rg350-353a239bdb824e57e67745752d2df15dc3ae0687.zip
Preliminary support for extra data and scripts in video files (urgh, this is so...vile).
Used in The Last Dynasty, which now plays a bit further (the video sequences, at least) svn-id: r35227
Diffstat (limited to 'engines/gob/videoplayer.h')
-rw-r--r--engines/gob/videoplayer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/gob/videoplayer.h b/engines/gob/videoplayer.h
index b7aa7313b0..295bb62fd3 100644
--- a/engines/gob/videoplayer.h
+++ b/engines/gob/videoplayer.h
@@ -80,6 +80,9 @@ public:
int16 getDefaultX(int slot = -1) const;
int16 getDefaultY(int slot = -1) const;
+ bool hasExtraData(const char *fileName, int slot = -1) const;
+ Common::MemoryReadStream *getExtraData(const char *fileName, int slot = -1);
+
void writeVideoInfo(const char *videoFile, int16 varX, int16 varY,
int16 varFrames, int16 varWidth, int16 varHeight);
@@ -104,6 +107,9 @@ private:
int16 getDefaultX() const;
int16 getDefaultY() const;
+ bool hasExtraData(const char *fileName) const;
+ Common::MemoryReadStream *getExtraData(const char *fileName);
+
CoktelVideo::State nextFrame();
private:
@@ -129,6 +135,7 @@ private:
bool findFile(char *fileName, Type &which);
const Video *getVideoBySlot(int slot = -1) const;
+ Video *getVideoBySlot(int slot = -1);
int getNextFreeSlot();