[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,1.10,1.11 scumm.h,1.10,1.11

Pawe? Ko?odziejski aquadran at users.sourceforge.net
Sat Aug 31 14:24:02 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv2285

Modified Files:
	gfx.cpp scumm.h 
Log Message:
commited patch: #601899

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- gfx.cpp	31 Aug 2002 19:26:04 -0000	1.10
+++ gfx.cpp	31 Aug 2002 21:23:28 -0000	1.11
@@ -678,7 +678,7 @@
 		transitionEffect(effect - 1);
 		break;
 	case 128:
-		dissolveEffect(8, 8);
+		unkScreenEffect6();
 		break;
 	case 130:
 		unkScreenEffect1();
@@ -735,7 +735,7 @@
 		transitionEffect(a - 1);
 		break;
 	case 128:
-		dissolveEffect(8, 8);
+		unkScreenEffect6();
 		break;
 	case 129:
 		// Just blit screen 0 to the display (i.e. display will be black)
@@ -2090,6 +2090,13 @@
 		_system->update_screen();
 		waitForTimer(30);
 	}
+}
+
+void Scumm::unkScreenEffect6() {
+	if (_gameId == GID_LOOM256)
+		dissolveEffect(1, 1);
+	else
+		dissolveEffect(8, 4);
 }
 
 void Scumm::unkScreenEffect5(int a) {

Index: scumm.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- scumm.h	31 Aug 2002 19:26:04 -0000	1.10
+++ scumm.h	31 Aug 2002 21:23:28 -0000	1.11
@@ -835,6 +835,7 @@
 	void unkScreenEffect3();
 	void unkScreenEffect4();
 	void unkScreenEffect5(int a);
+	void unkScreenEffect6();
 	void transitionEffect(int a);
 	void dissolveEffect(int width, int height);
 	void scrollEffect(int dir);





More information about the Scummvm-git-logs mailing list