[Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.51,2.52

Max Horn fingolfin at users.sourceforge.net
Thu Jun 26 07:05:03 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv17055

Modified Files:
	charset.cpp 
Log Message:
implemented text shadow in Zak256 (also needed for Indy3-256, maybe?). (Partial) fix for bug #750779 (the shadow color is still wrong)

Index: charset.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/charset.cpp,v
retrieving revision 2.51
retrieving revision 2.52
diff -u -d -r2.51 -r2.52
--- charset.cpp	19 Jun 2003 11:13:11 -0000	2.51
+++ charset.cpp	26 Jun 2003 14:04:08 -0000	2.52
@@ -927,7 +927,10 @@
 void CharsetRendererV3::setColor(byte color)
 {
 	_color = color;
-	if (_vm->_features & GF_16COLOR) {
+	if (_vm->_gameId == GID_ZAK256) {
+		_dropShadow = ((_color & 0x80) != 0);
+		_color &= 0x7f;
+	} else if (_vm->_features & GF_16COLOR) {
 		_dropShadow = ((_color & 0xF0) != 0);
 		_color &= 0x0f;
 	} else





More information about the Scummvm-git-logs mailing list