aboutsummaryrefslogtreecommitdiff
path: root/gob/driver_vga.h
diff options
context:
space:
mode:
authorEugene Sandulenko2005-04-05 15:07:40 +0000
committerEugene Sandulenko2005-04-05 15:07:40 +0000
commit1758c5b211a39c29a193546348e7cc6e7bc2e8c9 (patch)
tree225d803c62c79d6a6d95ada0096e8832e9e65044 /gob/driver_vga.h
parentb399a052f1a60df4731aa15d330e1c0b759ed857 (diff)
downloadscummvm-rg350-1758c5b211a39c29a193546348e7cc6e7bc2e8c9.tar.gz
scummvm-rg350-1758c5b211a39c29a193546348e7cc6e7bc2e8c9.tar.bz2
scummvm-rg350-1758c5b211a39c29a193546348e7cc6e7bc2e8c9.zip
Initial checking of Gob engine
svn-id: r17388
Diffstat (limited to 'gob/driver_vga.h')
-rw-r--r--gob/driver_vga.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/gob/driver_vga.h b/gob/driver_vga.h
new file mode 100644
index 0000000000..0c31cd874d
--- /dev/null
+++ b/gob/driver_vga.h
@@ -0,0 +1,22 @@
+#ifndef DRIVER_VGA
+#define DRIVER_VGA
+
+#include "video.h"
+
+namespace Gob {
+
+class VGAVideoDriver : public VideoDriver {
+public:
+ VGAVideoDriver() {}
+ virtual ~VGAVideoDriver() {}
+ void drawSprite(SurfaceDesc *source, SurfaceDesc *dest, int16 left, int16 top, int16 right, int16 bottom, int16 x, int16 y, int16 transp);
+ void fillRect(SurfaceDesc *dest, int16 left, int16 top, int16 right, int16 bottom, byte color);
+ void putPixel(int16 x, int16 y, byte color, SurfaceDesc *dest);
+ void drawLetter(char item, int16 x, int16 y, FontDesc *fontDesc, byte color1, byte color2, byte transp, SurfaceDesc *dest);
+ void drawLine(SurfaceDesc *dest, int16 x0, int16 y0, int16 x1, int16 y1, byte color);
+ void drawPackedSprite(byte *sprBuf, int16 width, int16 height, int16 x, int16 y, byte transp, SurfaceDesc *dest);
+};
+
+}
+
+#endif