From 3b7867ec54942cd64e20c1f879062425ee82c0d4 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 29 Oct 2011 20:55:41 +0200 Subject: MADE: Silence a few gcc warnings. --- engines/made/screen.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'engines') diff --git a/engines/made/screen.cpp b/engines/made/screen.cpp index dbe2f1c7ba..168902d577 100644 --- a/engines/made/screen.cpp +++ b/engines/made/screen.cpp @@ -437,15 +437,15 @@ uint16 Screen::placeSprite(uint16 channelIndex, uint16 flexIndex, int16 x, int16 PictureResource *flex = _vm->_res->getPicture(flexIndex); if (flex) { - Graphics::Surface *surf = flex->getPicture(); + //Graphics::Surface *surf = flex->getPicture(); int16 state = 1; - int16 x1, y1, x2, y2; + /*int16 x1, y1, x2, y2; x1 = x; y1 = y; x2 = x + surf->w + 1; - y2 = y + surf->h + 1; + y2 = y + surf->h + 1;*/ if (_ground == 0) state |= 2; @@ -485,12 +485,12 @@ uint16 Screen::placeAnim(uint16 channelIndex, uint16 animIndex, int16 x, int16 y if (anim) { int16 state = 1; - int16 x1, y1, x2, y2; + /*int16 x1, y1, x2, y2; x1 = x; y1 = y; x2 = x + anim->getWidth(); - y2 = y + anim->getHeight(); + y2 = y + anim->getHeight();*/ if (anim->getFlags() == 1 || _ground == 0) state |= 2; @@ -543,7 +543,7 @@ uint16 Screen::placeText(uint16 channelIndex, uint16 textObjectIndex, int16 x, i Object *obj = _vm->_dat->getObject(textObjectIndex); const char *text = obj->getString(); - int16 x1, y1, x2, y2; + //int16 x1, y1, x2, y2; setFont(fontNum); @@ -557,10 +557,10 @@ uint16 Screen::placeText(uint16 channelIndex, uint16 textObjectIndex, int16 x, i y--; } - x1 = x; + /*x1 = x; y1 = y; x2 = x + textWidth; - y2 = y + textHeight; + y2 = y + textHeight;*/ if (textWidth > 0 && outlineColor != -1) { x++; -- cgit v1.2.3