mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-19 06:21:16 +00:00
Save progress (good example for new line annotation diff output)
This commit is contained in:
parent
103f52ccef
commit
7fa55f8425
@ -412,7 +412,7 @@ void DecodeSS2(LPBITMAPINFOHEADER p_bitmapHeader, BYTE* p_pixelData, BYTE* p_dat
|
|||||||
}
|
}
|
||||||
|
|
||||||
short column = xofs;
|
short column = xofs;
|
||||||
do {
|
while (1) {
|
||||||
column += *(data++);
|
column += *(data++);
|
||||||
short type = *((char*) data++);
|
short type = *((char*) data++);
|
||||||
type += type;
|
type += type;
|
||||||
@ -421,15 +421,22 @@ void DecodeSS2(LPBITMAPINFOHEADER p_bitmapHeader, BYTE* p_pixelData, BYTE* p_dat
|
|||||||
WritePixels(p_bitmapHeader, p_pixelData, column, row, (BYTE*) data, type);
|
WritePixels(p_bitmapHeader, p_pixelData, column, row, (BYTE*) data, type);
|
||||||
column += type;
|
column += type;
|
||||||
data += type;
|
data += type;
|
||||||
|
// LINE: BETA10 0x1013e797
|
||||||
|
if (--token == 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
type = -type;
|
type = -type;
|
||||||
short p_pixel = *((WORD*) data); // removed for stack size
|
short p_pixel = *((WORD*) data++);
|
||||||
data += 2;
|
|
||||||
WritePixelPairs(p_bitmapHeader, p_pixelData, column, row, p_pixel, type >> 1);
|
WritePixelPairs(p_bitmapHeader, p_pixelData, column, row, p_pixel, type >> 1);
|
||||||
column += type;
|
column += type;
|
||||||
|
// LINE: BETA10 0x1013e813
|
||||||
|
if (--token == 0) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} while (--token);
|
}
|
||||||
|
|
||||||
row--;
|
row--;
|
||||||
} while (--lines > 0);
|
} while (--lines > 0);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user