[Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.62,2.63

Jonathan Gray khalek at users.sourceforge.net
Sat Sep 13 17:42:04 CEST 2003


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

Modified Files:
	charset.cpp 
Log Message:
use old method to decide on text colouring for loom towns, I think the pink distaff when returning to the first room may be the last bug left now

Index: charset.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/charset.cpp,v
retrieving revision 2.62
retrieving revision 2.63
diff -u -d -r2.62 -r2.63
--- charset.cpp	9 Sep 2003 20:54:18 -0000	2.62
+++ charset.cpp	14 Sep 2003 00:37:47 -0000	2.63
@@ -929,12 +929,13 @@
 {
 	_color = color;
 	_shadowColor = (_vm->_features & GF_FMTOWNS) ? 8 : 0;
-	if (_vm->_features & GF_OLD256) {
-		_dropShadow = ((_color & 0x80) != 0);
-		_color &= 0x7f;
-	} else if (_vm->_features & GF_16COLOR) {
+	// FM Towns version of Loom uses old colour method as well
+	if (_vm->_features & GF_16COLOR || _vm->_gameId == GID_LOOM) {
 		_dropShadow = ((_color & 0xF0) != 0);
 		_color &= 0x0f;
+	} else if (_vm->_features & GF_OLD256) {
+		_dropShadow = ((_color & 0x80) != 0);
+		_color &= 0x7f;
 	} else
 		_dropShadow = false;
 }





More information about the Scummvm-git-logs mailing list