diff options
author | Max Horn | 2009-06-06 20:03:13 +0000 |
---|---|---|
committer | Max Horn | 2009-06-06 20:03:13 +0000 |
commit | 0989bb0b9087e74662f546d13b2f16544cfba20b (patch) | |
tree | 146dd1f80bc6367b4de30d229e47a7776f2b59a9 /engines/gob/driver_vga.h | |
parent | 24a512cab08a12eb2b8f3b759d7f3d82c6853a21 (diff) | |
download | scummvm-rg350-0989bb0b9087e74662f546d13b2f16544cfba20b.tar.gz scummvm-rg350-0989bb0b9087e74662f546d13b2f16544cfba20b.tar.bz2 scummvm-rg350-0989bb0b9087e74662f546d13b2f16544cfba20b.zip |
GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references
svn-id: r41299
Diffstat (limited to 'engines/gob/driver_vga.h')
-rw-r--r-- | engines/gob/driver_vga.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/gob/driver_vga.h b/engines/gob/driver_vga.h index c67fd1cb2f..c50ea5c475 100644 --- a/engines/gob/driver_vga.h +++ b/engines/gob/driver_vga.h @@ -35,20 +35,20 @@ public: VGAVideoDriver() {} virtual ~VGAVideoDriver() {} - void putPixel(int16 x, int16 y, byte color, SurfaceDesc *dest); - void drawLine(SurfaceDesc *dest, int16 x0, int16 y0, + void putPixel(int16 x, int16 y, byte color, SurfaceDesc &dest); + void drawLine(SurfaceDesc &dest, int16 x0, int16 y0, int16 x1, int16 y1, byte color); - void fillRect(SurfaceDesc *dest, int16 left, int16 top, + void fillRect(SurfaceDesc &dest, int16 left, int16 top, int16 right, int16 bottom, byte color); void drawLetter(unsigned char item, int16 x, int16 y, Video::FontDesc *fontDesc, byte color1, byte color2, - byte transp, SurfaceDesc *dest); - void drawSprite(SurfaceDesc *source, SurfaceDesc *dest, int16 left, + byte transp, SurfaceDesc &dest); + void drawSprite(SurfaceDesc &source, SurfaceDesc &dest, int16 left, int16 top, int16 right, int16 bottom, int16 x, int16 y, int16 transp); - void drawSpriteDouble(SurfaceDesc *source, SurfaceDesc *dest, int16 left, + void drawSpriteDouble(SurfaceDesc &source, SurfaceDesc &dest, int16 left, int16 top, int16 right, int16 bottom, int16 x, int16 y, int16 transp); void drawPackedSprite(byte *sprBuf, int16 width, int16 height, - int16 x, int16 y, byte transp, SurfaceDesc *dest); + int16 x, int16 y, byte transp, SurfaceDesc &dest); }; } |