From fd85c13d8f5a8c58e056fe51658a5b83da323053 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 18 Sep 2006 22:22:35 +0000 Subject: Cleaned up Gdi::roomChanged svn-id: r23938 --- engines/scumm/gfx.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'engines/scumm/gfx.h') diff --git a/engines/scumm/gfx.h b/engines/scumm/gfx.h index b565998c47..9206d8d4e7 100644 --- a/engines/scumm/gfx.h +++ b/engines/scumm/gfx.h @@ -253,7 +253,8 @@ public: virtual ~Gdi(); virtual void init(); - virtual void roomChanged(byte *roomptr, uint32 IM00_offs, byte transparentColor); + virtual void roomChanged(byte *roomptr); + void setTransparentColor(byte transparentColor) { _transparentColor = transparentColor; } void drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int width, const int height, int stripnr, int numstrip, byte flag); @@ -308,7 +309,7 @@ protected: public: GdiNES(ScummEngine *vm); - virtual void roomChanged(byte *roomptr, uint32 IM00_offs, byte transparentColor); + virtual void roomChanged(byte *roomptr); }; class GdiV1 : public Gdi { @@ -342,7 +343,7 @@ protected: public: GdiV1(ScummEngine *vm); - virtual void roomChanged(byte *roomptr, uint32 IM00_offs, byte transparentColor); + virtual void roomChanged(byte *roomptr); }; class GdiV2 : public Gdi { @@ -369,7 +370,7 @@ public: GdiV2(ScummEngine *vm); ~GdiV2(); - virtual void roomChanged(byte *roomptr, uint32 IM00_offs, byte transparentColor); + virtual void roomChanged(byte *roomptr); }; } // End of namespace Scumm -- cgit v1.2.3