From c6c7b16089517917da755b02683a17712ffa39a2 Mon Sep 17 00:00:00 2001 From: Vincent Hamm Date: Thu, 9 Aug 2012 23:24:17 -0700 Subject: CINE: Slight cleanup. --- engines/cine/gfx.cpp | 3 +-- engines/cine/gfx.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'engines/cine') diff --git a/engines/cine/gfx.cpp b/engines/cine/gfx.cpp index b22e57400d..742c6606b0 100644 --- a/engines/cine/gfx.cpp +++ b/engines/cine/gfx.cpp @@ -1225,7 +1225,6 @@ void OSRenderer::renderOverlay(const Common::List::iterator &it) { int len, idx, width, height; ObjectStruct *obj; AnimData *sprite; - byte *mask; byte color; switch (it->type) { @@ -1819,7 +1818,7 @@ void OSRenderer::drawSprite(overlay *overlayPtr, const byte *spritePtr, int16 wi } delete[] pMask; -}; +} void drawSpriteRaw2(const byte *spritePtr, byte transColor, int16 width, int16 height, byte *page, int16 x, int16 y) { int16 i, j; diff --git a/engines/cine/gfx.h b/engines/cine/gfx.h index 8b21d839e4..6ff5b08b77 100644 --- a/engines/cine/gfx.h +++ b/engines/cine/gfx.h @@ -292,7 +292,6 @@ void drawSpriteRaw(const byte *spritePtr, const byte *maskPtr, int16 width, int1 void gfxDrawPlainBoxRaw(int16 x1, int16 y1, int16 x2, int16 y2, byte color, byte *page); void drawSpriteRaw2(const byte *spritePtr, byte transColor, int16 width, int16 height, byte *page, int16 x, int16 y); void maskBgOverlay(const byte *spritePtr, const byte *maskPtr, int16 width, int16 height, byte *page, int16 x, int16 y); -void drawOsSprite(overlay *overlayPtr, const byte *spritePtr, int16 width, int16 height, byte *page, int16 x, int16 y, byte transparentColor, byte bpp); void fadeFromBlack(); void fadeToBlack(); -- cgit v1.2.3