aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/video.h
diff options
context:
space:
mode:
authorSven Hesse2010-09-30 13:02:50 +0000
committerSven Hesse2010-09-30 13:02:50 +0000
commit4f2b58b11740c8bdeb728a4798e572e8c9d1d990 (patch)
tree4c69900846df7782d707132f65a4a7cfd056af76 /engines/gob/video.h
parent51fd528fe56e00466255d54e1e71b19f34729bfd (diff)
downloadscummvm-rg350-4f2b58b11740c8bdeb728a4798e572e8c9d1d990.tar.gz
scummvm-rg350-4f2b58b11740c8bdeb728a4798e572e8c9d1d990.tar.bz2
scummvm-rg350-4f2b58b11740c8bdeb728a4798e572e8c9d1d990.zip
GOB: Remove the now useless VGAVideoDriver
svn-id: r52948
Diffstat (limited to 'engines/gob/video.h')
-rw-r--r--engines/gob/video.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/engines/gob/video.h b/engines/gob/video.h
index 498f6d8650..5c49042496 100644
--- a/engines/gob/video.h
+++ b/engines/gob/video.h
@@ -107,7 +107,6 @@ public:
int16 _screenDeltaX;
int16 _screenDeltaY;
- void freeDriver();
void initPrimary(int16 mode);
SurfacePtr initSurfDesc(int16 vidMode, int16 width,
int16 height, int16 flags);
@@ -151,8 +150,6 @@ public:
virtual ~Video();
protected:
- class VideoDriver *_videoDriver;
-
bool _dirtyAll;
Common::List<Common::Rect> _dirtyRects;
@@ -161,8 +158,6 @@ protected:
GobEngine *_vm;
- char initDriver(int16 vidMode);
-
void drawPacked(byte *sprBuf, int16 width, int16 height, int16 x, int16 y, byte transp, Surface &dest);
};
@@ -208,19 +203,6 @@ private:
const byte *dataY, const byte *dataU, const byte *dataV);
};
-class VideoDriver {
-public:
- VideoDriver() {}
- virtual ~VideoDriver() {}
- virtual void drawSprite(Surface &source, Surface &dest, int16 left, int16 top, int16 right, int16 bottom, int16 x, int16 y, int16 transp) = 0;
- virtual void drawSpriteDouble(Surface &source, Surface &dest, int16 left, int16 top, int16 right, int16 bottom, int16 x, int16 y, int16 transp) = 0;
- virtual void fillRect(Surface &dest, int16 left, int16 top, int16 right, int16 bottom, byte color) = 0;
- virtual void putPixel(int16 x, int16 y, byte color, Surface &dest) = 0;
- virtual void drawLetter(unsigned char item, int16 x, int16 y, const Font &font, byte color1, byte color2, byte transp, Surface &dest) = 0;
- virtual void drawLine(Surface &dest, int16 x0, int16 y0, int16 x1, int16 y1, byte color) = 0;
- virtual void drawPackedSprite(byte *sprBuf, int16 width, int16 height, int16 x, int16 y, byte transp, Surface &dest) = 0;
-};
-
} // End of namespace Gob
#endif // GOB_VIDEO_H