SCI: adding comment about palette formats

svn-id: r50847
This commit is contained in:
Martin Kiewitz 2010-07-13 15:49:13 +00:00
parent b97ef271c7
commit 8171093614

View File

@ -109,6 +109,8 @@ void GfxPalette::createFromData(byte *data, int bytesLeft, Palette *paletteOut)
warning("GfxPalette::createFromData() - not enough bytes in resource, expected palette header");
return;
}
// palette formats in here are not really version exclusive, we can not use sci-version to differentiate between them
// they were just called that way, because they started appearing in sci1.1 for example
if ((data[0] == 0 && data[1] == 1) || (data[0] == 0 && data[1] == 0 && READ_LE_UINT16(data + 29) == 0)) {
// SCI0/SCI1 palette
palFormat = SCI_PAL_FORMAT_VARIABLE; // CONSTANT;