[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,1.62,1.63

Max Horn fingolfin at users.sourceforge.net
Fri Nov 22 13:09:02 CET 2002


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

Modified Files:
	gfx.cpp 
Log Message:
cleanup

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- gfx.cpp	19 Nov 2002 16:33:32 -0000	1.62
+++ gfx.cpp	22 Nov 2002 21:08:37 -0000	1.63
@@ -713,7 +713,7 @@
 	_screenEffectFlag = true;
 }
 
-void Scumm::fadeOut(int a)
+void Scumm::fadeOut(int effect)
 {
 	VirtScreen *vs;
 
@@ -725,7 +725,7 @@
 		return;
 	_screenEffectFlag = false;
 
-	if (a == 0)
+	if (effect == 0)
 		return;
 
 	// Fill screen 0 with black
@@ -734,12 +734,12 @@
 	memset(gdi._backbuff_ptr, 0, vs->size);
 
 	// Fade to black with the specified effect, if any.
-	switch (a) {
+	switch (effect) {
 	case 1:
 	case 2:
 	case 3:
 	case 4:
-		transitionEffect(a - 1);
+		transitionEffect(effect - 1);
 		break;
 	case 128:
 		unkScreenEffect6();
@@ -756,7 +756,7 @@
 		unkScreenEffect5(1);
 		break;
 	default:
-		warning("fadeOut: default case %d", a);
+		warning("fadeOut: default case %d", effect);
 	}
 }
 





More information about the Scummvm-git-logs mailing list