[Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.107.2.5,1.107.2.6

Travis Howell kirben at users.sourceforge.net
Sat Jun 26 02:32:07 CEST 2004


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

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

back port akos16 transparency fix for HE games


Index: akos.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/akos.cpp,v
retrieving revision 1.107.2.5
retrieving revision 1.107.2.6
diff -u -d -r1.107.2.5 -r1.107.2.6
--- akos.cpp	3 May 2004 11:37:16 -0000	1.107.2.5
+++ akos.cpp	26 Jun 2004 09:31:45 -0000	1.107.2.6
@@ -954,12 +954,7 @@
 	Common::Rect clip;
 	int32 maxw, maxh;
 	int32 skip_x, skip_y, cur_x, cur_y;
-	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;
+	byte transparency = (_vm->_features & GF_HUMONGOUS) ? palette[0] : 255;
 
 	if (_actorHitMode) {
 		warning("codec16: _actorHitMode not yet implemented");





More information about the Scummvm-git-logs mailing list