aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/videoplayer.h
diff options
context:
space:
mode:
authorSven Hesse2009-05-20 20:41:10 +0000
committerSven Hesse2009-05-20 20:41:10 +0000
commit43f58b2869f97c055f56aa14f6eb4153d272b2b3 (patch)
tree5dde509e428db32f933b725607da21dd838277f8 /engines/gob/videoplayer.h
parentbfb29080f14499c456c3b760d18a29d5bf0be825 (diff)
downloadscummvm-rg350-43f58b2869f97c055f56aa14f6eb4153d272b2b3.tar.gz
scummvm-rg350-43f58b2869f97c055f56aa14f6eb4153d272b2b3.tar.bz2
scummvm-rg350-43f58b2869f97c055f56aa14f6eb4153d272b2b3.zip
Moving CoktelVideo (IMD/VMD) and the Indeo3 code (needed for Urban Runner's VMDs) to graphics/video/
svn-id: r40744
Diffstat (limited to 'engines/gob/videoplayer.h')
-rw-r--r--engines/gob/videoplayer.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/engines/gob/videoplayer.h b/engines/gob/videoplayer.h
index 07837eb6c2..ba4b3bb989 100644
--- a/engines/gob/videoplayer.h
+++ b/engines/gob/videoplayer.h
@@ -28,7 +28,8 @@
#include "common/array.h"
-#include "gob/coktelvideo.h"
+#include "graphics/video/coktelvideo.h"
+
#include "gob/dataio.h"
namespace Gob {
@@ -85,7 +86,7 @@ public:
int16 getDefaultX(int slot = -1) const;
int16 getDefaultY(int slot = -1) const;
- CoktelVideo::State getState(int slot = -1) const;
+ Graphics::CoktelVideo::State getState(int slot = -1) const;
uint32 getFeatures(int slot = -1) const;
bool hasExtraData(const char *fileName, int slot = -1) const;
@@ -108,10 +109,10 @@ private:
bool isOpen() const;
const char *getFileName() const;
- CoktelVideo *getVideo();
- const CoktelVideo *getVideo() const;
+ Graphics::CoktelVideo *getVideo();
+ const Graphics::CoktelVideo *getVideo() const;
- CoktelVideo::State getState() const;
+ Graphics::CoktelVideo::State getState() const;
uint32 getFeatures() const;
int16 getDefaultX() const;
@@ -120,15 +121,15 @@ private:
bool hasExtraData(const char *fileName) const;
Common::MemoryReadStream *getExtraData(const char *fileName);
- CoktelVideo::State nextFrame();
+ Graphics::CoktelVideo::State nextFrame();
private:
GobEngine *_vm;
char *_fileName;
DataStream *_stream;
- CoktelVideo *_video;
- CoktelVideo::State _state;
+ Graphics::CoktelVideo *_video;
+ Graphics::CoktelVideo::State _state;
int16 _defaultX, _defaultY;
};
@@ -149,11 +150,11 @@ private:
int getNextFreeSlot();
- void copyPalette(CoktelVideo &video, int16 palStart = -1, int16 palEnd = -1);
+ void copyPalette(Graphics::CoktelVideo &video, int16 palStart = -1, int16 palEnd = -1);
bool doPlay(int16 frame, int16 breakKey,
uint16 palCmd, int16 palStart, int16 palEnd,
int16 palFrame, int16 endFrame);
- void evalBgShading(CoktelVideo &video);
+ void evalBgShading(Graphics::CoktelVideo &video);
};
} // End of namespace Gob