[Scummvm-cvs-logs] SF.net SVN: scummvm:[50847] scummvm/trunk/engines/sci/graphics/palette.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Tue Jul 13 17:49:13 CEST 2010
Revision: 50847
http://scummvm.svn.sourceforge.net/scummvm/?rev=50847&view=rev
Author: m_kiewitz
Date: 2010-07-13 15:49:13 +0000 (Tue, 13 Jul 2010)
Log Message:
-----------
SCI: adding comment about palette formats
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/palette.cpp
Modified: scummvm/trunk/engines/sci/graphics/palette.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/palette.cpp 2010-07-13 15:46:21 UTC (rev 50846)
+++ scummvm/trunk/engines/sci/graphics/palette.cpp 2010-07-13 15:49:13 UTC (rev 50847)
@@ -109,6 +109,8 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list