mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-12 03:01:17 +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;
|
||||
do {
|
||||
while (1) {
|
||||
column += *(data++);
|
||||
short type = *((char*) data++);
|
||||
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);
|
||||
column += type;
|
||||
data += type;
|
||||
// LINE: BETA10 0x1013e797
|
||||
if (--token == 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
else {
|
||||
type = -type;
|
||||
short p_pixel = *((WORD*) data); // removed for stack size
|
||||
data += 2;
|
||||
short p_pixel = *((WORD*) data++);
|
||||
WritePixelPairs(p_bitmapHeader, p_pixelData, column, row, p_pixel, type >> 1);
|
||||
column += type;
|
||||
// LINE: BETA10 0x1013e813
|
||||
if (--token == 0) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
} while (--token);
|
||||
}
|
||||
|
||||
row--;
|
||||
} while (--lines > 0);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user