diff options
author | Martin Kiewitz | 2009-10-06 13:30:20 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-06 13:30:20 +0000 |
commit | 334a48a33d069d00f31c972a7e9aeb0c82b7d148 (patch) | |
tree | 3a7e32b6a5bd343eabc37948a882cc55f72c43a8 /engines/sci/gui | |
parent | daa6f0d9a2ce86f3e7088f689878996ba0b10684 (diff) | |
download | scummvm-rg350-334a48a33d069d00f31c972a7e9aeb0c82b7d148.tar.gz scummvm-rg350-334a48a33d069d00f31c972a7e9aeb0c82b7d148.tar.bz2 scummvm-rg350-334a48a33d069d00f31c972a7e9aeb0c82b7d148.zip |
SCI/newgui: removed warnings from vector drawing
svn-id: r44694
Diffstat (limited to 'engines/sci/gui')
-rw-r--r-- | engines/sci/gui/gui_picture.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/engines/sci/gui/gui_picture.cpp b/engines/sci/gui/gui_picture.cpp index 15abb8fdfd..d7ce4cb317 100644 --- a/engines/sci/gui/gui_picture.cpp +++ b/engines/sci/gui/gui_picture.cpp @@ -351,7 +351,6 @@ 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); _gfx->Draw_Line(oldx, oldy, x, y, pic_color, pic_priority, pic_control); oldx = x; oldy = y; } @@ -360,7 +359,6 @@ 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); _gfx->Draw_Line(oldx, oldy, x, y, pic_color, pic_priority, pic_control); oldx = x; oldy = y; } @@ -369,7 +367,6 @@ 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); _gfx->Draw_Line(oldx, oldy, x, y, pic_color, pic_priority, pic_control); oldx = x; oldy = y; } @@ -378,7 +375,6 @@ 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); _gfx->Pic_Fill(x, y, pic_color, pic_priority, pic_control); } break; @@ -389,24 +385,20 @@ 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); _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); _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); _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); _gfx->Draw_Pattern(x, y, pic_color, pic_priority, pic_control, pattern_Code, pattern_Texture); } break; @@ -414,8 +406,7 @@ 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); - //_gfx->Draw_Pattern(x, y, pic_color, pic_priority, pic_control, pattern_Code, pattern_Texture); + _gfx->Draw_Pattern(x, y, pic_color, pic_priority, pic_control, pattern_Code, pattern_Texture); } break; @@ -466,7 +457,6 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) { error("Unsupported sci1 extended pic-operation %X", pic_op); } } else { - //warning("OPX SCI1 %X at %d", data[curPos], curPos); switch (pic_op = data[curPos++]) { case PIC_OPX_VGA_SET_PALETTE_ENTRIES: while (vectorIsNonOpcode(data[curPos])) { |