diff options
author | Filippos Karapetis | 2009-10-05 07:48:43 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-05 07:48:43 +0000 |
commit | d61e73367fc0ef5dd59c0664d511e539e7195d6c (patch) | |
tree | a0cf2eb03dbbafdc69d69d232f7fc601e104b419 /engines | |
parent | 3f77685f13165120d64eabf863f017ee65684711 (diff) | |
download | scummvm-rg350-d61e73367fc0ef5dd59c0664d511e539e7195d6c.tar.gz scummvm-rg350-d61e73367fc0ef5dd59c0664d511e539e7195d6c.tar.bz2 scummvm-rg350-d61e73367fc0ef5dd59c0664d511e539e7195d6c.zip |
Silenced some warnings in drawVectorData()
svn-id: r44652
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/gui/gui_picture.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/sci/gui/gui_picture.cpp b/engines/sci/gui/gui_picture.cpp index d779cf5e75..4013d6f58e 100644 --- a/engines/sci/gui/gui_picture.cpp +++ b/engines/sci/gui/gui_picture.cpp @@ -319,7 +319,7 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) { // Drawing while (curPos < dataSize) { - warning("%X at %d", data[curPos], curPos); + //warning("%X at %d", data[curPos], curPos); switch (pic_op = data[curPos++]) { case PIC_OP_SET_COLOR: byte = data[curPos++]; @@ -347,7 +347,7 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) { vectorGetAbsCoords(data, curPos, oldx, oldy); while (vectorIsNonOpcode(data[curPos])) { vectorGetRelCoords(data, curPos, oldx, oldy, x, y); - warning("line %d %d -> %d %d", oldy, oldx, y, x); + //warning("line %d %d -> %d %d", oldy, oldx, y, x); _gfx->Draw_Line(oldx, oldy, x, y, pic_color, pic_priority, pic_control); oldx = x; oldy = y; } @@ -356,7 +356,7 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) { vectorGetAbsCoords(data, curPos, oldx, oldy); while (vectorIsNonOpcode(data[curPos])) { vectorGetRelCoordsMed(data, curPos, oldx, oldy, x, y); - warning("line %d %d -> %d %d", oldy, oldx, y, x); + //warning("line %d %d -> %d %d", oldy, oldx, y, x); _gfx->Draw_Line(oldx, oldy, x, y, pic_color, pic_priority, pic_control); oldx = x; oldy = y; } @@ -365,7 +365,7 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) { vectorGetAbsCoords(data, curPos, oldx, oldy); while (vectorIsNonOpcode(data[curPos])) { vectorGetAbsCoords(data, curPos, x, y); - warning("line %d %d -> %d %d", oldy, oldx, y, x); + //warning("line %d %d -> %d %d", oldy, oldx, y, x); _gfx->Draw_Line(oldx, oldy, x, y, pic_color, pic_priority, pic_control); oldx = x; oldy = y; } @@ -374,7 +374,7 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) { case PIC_OP_FILL: //fill while (vectorIsNonOpcode(data[curPos])) { vectorGetAbsCoords(data, curPos, x, y); - warning("fill %d %d", y, x); + //warning("fill %d %d", y, x); _gfx->Pic_Fill(x, y, pic_color, pic_priority, pic_control); } break; @@ -385,24 +385,24 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) { case PIC_OP_SHORT_PATTERNS: vectorGetPatternTexture(data, curPos, pattern_Code, pattern_Texture); vectorGetAbsCoords(data, curPos, x, y); - warning("pattern %d %d", y, x); + //warning("pattern %d %d", y, x); _gfx->Draw_Pattern(x, y, pic_color, pic_priority, pic_control, pattern_Code, pattern_Texture); while (vectorIsNonOpcode(data[curPos])) { vectorGetPatternTexture(data, curPos, pattern_Code, pattern_Texture); vectorGetRelCoords(data, curPos, x, y, x, y); - warning("pattern %d %d", y, x); + //warning("pattern %d %d", y, x); _gfx->Draw_Pattern(x, y, pic_color, pic_priority, pic_control, pattern_Code, pattern_Texture); } break; case PIC_OP_MEDIUM_PATTERNS: vectorGetPatternTexture(data, curPos, pattern_Code, pattern_Texture); vectorGetAbsCoords(data, curPos, x, y); - warning("pattern %d %d", y, x); + //warning("pattern %d %d", y, x); _gfx->Draw_Pattern(x, y, pic_color, pic_priority, pic_control, pattern_Code, pattern_Texture); while (vectorIsNonOpcode(data[curPos])) { vectorGetPatternTexture(data, curPos, pattern_Code, pattern_Texture); vectorGetRelCoordsMed(data, curPos, x, y, x, y); - warning("pattern %d %d", y, x); + //warning("pattern %d %d", y, x); _gfx->Draw_Pattern(x, y, pic_color, pic_priority, pic_control, pattern_Code, pattern_Texture); } break; @@ -410,14 +410,14 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) { while (vectorIsNonOpcode(data[curPos])) { vectorGetPatternTexture(data, curPos, pattern_Code, pattern_Texture); vectorGetAbsCoords(data, curPos, x, y); - warning("pattern %d %d", y, x); + //warning("pattern %d %d", y, x); //_gfx->Draw_Pattern(x, y, pic_color, pic_priority, pic_control, pattern_Code, pattern_Texture); } break; case PIC_OP_OPX: // Extended functions if (sci1) { - warning("OPX SCI1 %X at %d", data[curPos], curPos); + //warning("OPX SCI1 %X at %d", data[curPos], curPos); switch (pic_op = data[curPos++]) { case PIC_OPX_SCI1_SET_PALETTE_ENTRIES: while (vectorIsNonOpcode(data[curPos])) { |