[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.258,1.259

Travis Howell kirben at users.sourceforge.net
Wed Jan 14 01:55:01 CET 2004


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

Modified Files:
	script_v6.cpp 
Log Message:

Add missing code for samnmax screen saver, fixes bug #781683


Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.258
retrieving revision 1.259
diff -u -d -r1.258 -r1.259
--- script_v6.cpp	14 Jan 2004 03:50:58 -0000	1.258
+++ script_v6.cpp	14 Jan 2004 09:54:45 -0000	1.259
@@ -2604,7 +2604,23 @@
 			// minutes of inactivity (no mouse movements) before
 			// starting the screensaver, so setting it to 0 will
 			// help in debugging.
-			warning("stub o6_kernelSetFunctions_117()");
+			{
+				int i;
+				for (i = 0; i < 25; i++) {
+					if (_currentScript != i && vm.slot[i].status != ssDead) {
+						vm.slot[i].status |= 0x80;
+						vm.slot[i].freezeCount++;
+					}
+				}
+
+				for (i = 0; i < 6; i++)
+					_sentence[i].freezeCount++;
+
+				if (vm.cutSceneScriptIndex != 0xFF) {
+					vm.slot[vm.cutSceneScriptIndex].status &= 0x7F;
+					vm.slot[vm.cutSceneScriptIndex].freezeCount = 0;
+				}
+			}
 			break;
 		case 119:
 			enqueueObject(args[1], args[2], args[3], args[4], args[5], args[6], args[7], args[8], 0);





More information about the Scummvm-git-logs mailing list