aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2011-10-29 20:55:41 +0200
committerJohannes Schickel2011-10-29 20:56:00 +0200
commit3b7867ec54942cd64e20c1f879062425ee82c0d4 (patch)
tree2aab43e6a823030ba596367555a87e12d33db5f7 /engines
parent0f90b8eaad0335715d5f6aea6ede32ebbb746e25 (diff)
downloadscummvm-rg350-3b7867ec54942cd64e20c1f879062425ee82c0d4.tar.gz
scummvm-rg350-3b7867ec54942cd64e20c1f879062425ee82c0d4.tar.bz2
scummvm-rg350-3b7867ec54942cd64e20c1f879062425ee82c0d4.zip
MADE: Silence a few gcc warnings.
Diffstat (limited to 'engines')
-rw-r--r--engines/made/screen.cpp16
1 files changed, 8 insertions, 8 deletions
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++;