[Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.107,1.107.2.1

Travis Howell kirben at users.sourceforge.net
Sat Feb 14 20:12:02 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4342/scumm

Modified Files:
      Tag: branch-0-6-0
	akos.cpp 
Log Message:

Add fix for akos colorKey issue in fbear


Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.107
retrieving revision 1.107.2.1
diff -u -d -r1.107 -r1.107.2.1
--- akos.cpp	5 Feb 2004 07:27:30 -0000	1.107
+++ akos.cpp	15 Feb 2004 04:04:39 -0000	1.107.2.1
@@ -948,7 +948,12 @@
 	Common::Rect clip;
 	int32 maxw, maxh;
 	int32 skip_x, skip_y, cur_x, cur_y;
-	const byte transparency = (_vm->_features & GF_HUMONGOUS) ? 0 : 255;
+	byte transparency;
+	//FIXME There should be better method to determine transparency in HE games
+	if (_vm->_features & GF_HUMONGOUS) 
+		transparency = (_vm->_gameId == GID_FBEAR) ? 5 : 0;
+	else
+		transparency = 255;
 
 	if (_actorHitMode) {
 		warning("codec16: _actorHitMode not yet implemented");





More information about the Scummvm-git-logs mailing list