[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.460,2.461 scumm.h,1.631,1.632

Gregory Montoir cyx at users.sourceforge.net
Tue Jun 7 13:46:07 CEST 2005


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

Modified Files:
	gfx.cpp scumm.h 
Log Message:
Based (again) on indy4demo FMTowns, unkScreenEffect5(1) seems equivalent to dissolveEffect(1, virtscr[0].h)

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.460
retrieving revision 2.461
diff -u -d -r2.460 -r2.461
--- gfx.cpp	5 Jun 2005 04:53:43 -0000	2.460
+++ gfx.cpp	7 Jun 2005 20:45:18 -0000	2.461
@@ -2862,7 +2862,7 @@
 		dissolveEffect(1, 1);
 		break;
 	case 135:
-		unkScreenEffect5(1);
+		dissolveEffect(1, virtscr[0].h);
 		break;
 	default:
 		warning("Unknown screen effect, %d", effect);
@@ -2914,7 +2914,7 @@
 			dissolveEffect(1, 1);
 			break;
 		case 135:
-			unkScreenEffect5(1);
+			dissolveEffect(1, virtscr[0].h);
 			break;
 		default:
 			warning("fadeOut: default case %d", effect);
@@ -3225,17 +3225,6 @@
 		dissolveEffect(8, 4);
 }
 
-void ScummEngine::unkScreenEffect5(int a) {
-	// unkScreenEffect5(0), which is used by FOA during the opening
-	// cutscene when Indy opens the small statue, has been replaced by
-	// dissolveEffect(1, 1).
-	//
-	// I still don't know what unkScreenEffect5(1) is supposed to do.
-
-	// FIXME: not implemented
-	warning("stub unkScreenEffect(%d)", a);
-}
-
 } // End of namespace Scumm
 
 #ifdef __PALM_OS__

Index: scumm.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.h,v
retrieving revision 1.631
retrieving revision 1.632
diff -u -d -r1.631 -r1.632
--- scumm.h	26 May 2005 16:39:39 -0000	1.631
+++ scumm.h	7 Jun 2005 20:45:29 -0000	1.632
@@ -1024,7 +1024,6 @@
 	void fadeIn(int effect);
 	void fadeOut(int effect);
 
-	void unkScreenEffect5(int a);
 	void unkScreenEffect6();
 	void transitionEffect(int a);
 	void dissolveEffect(int width, int height);





More information about the Scummvm-git-logs mailing list