Ticket #9119: sci_parameter_previously_defined_as_type.patch
File sci_parameter_previously_defined_as_type.patch, 1.2 KB (added by , 14 years ago) |
---|
-
engines/sci/gui/gui_picture.cpp
539 539 error("picture vector data without terminator"); 540 540 } 541 541 542 bool SciGuiPicture::vectorIsNonOpcode(byte byte) {543 if ( byte >= PIC_OP_FIRST)542 bool SciGuiPicture::vectorIsNonOpcode(byte value) { 543 if (value >= PIC_OP_FIRST) 544 544 return false; 545 545 return true; 546 546 } -
engines/sci/gui/gui_picture.h
46 46 void drawSci11Vga(); 47 47 void drawCelData(byte *inbuffer, int size, int headerPos, int rlePos, int literalPos, int16 callerX, int16 callerY); 48 48 void drawVectorData(byte *data, int size); 49 bool vectorIsNonOpcode(byte byte);49 bool vectorIsNonOpcode(byte value); 50 50 void vectorGetAbsCoords(byte *data, int &curPos, int16 &x, int16 &y); 51 51 void vectorGetAbsCoordsNoMirror(byte *data, int &curPos, int16 &x, int16 &y); 52 52 void vectorGetRelCoords(byte *data, int &curPos, int16 &x, int16 &y);