[Scummvm-cvs-logs] SF.net SVN: scummvm:[45825] scummvm/trunk/engines/draci/screen.cpp
spalek at users.sourceforge.net
spalek at users.sourceforge.net
Wed Nov 11 01:27:09 CET 2009
Revision: 45825
http://scummvm.svn.sourceforge.net/scummvm/?rev=45825&view=rev
Author: spalek
Date: 2009-11-11 00:27:08 +0000 (Wed, 11 Nov 2009)
Log Message:
-----------
Documented palette shift
Modified Paths:
--------------
scummvm/trunk/engines/draci/screen.cpp
Modified: scummvm/trunk/engines/draci/screen.cpp
===================================================================
--- scummvm/trunk/engines/draci/screen.cpp 2009-11-11 00:19:23 UTC (rev 45824)
+++ scummvm/trunk/engines/draci/screen.cpp 2009-11-11 00:27:08 UTC (rev 45825)
@@ -65,8 +65,8 @@
_palette[i * 4 + 3] = 0;
}
- // TODO: Investigate why this is needed
- // Shift the palette two bits to the left to make it brighter
+ // Shift the palette two bits to the left to make it brighter. The
+ // original game only uses 6-bit colors 0..63.
for (int i = start * 4; i < (start + num) * 4; ++i) {
_palette[i] <<= 2;
}
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