[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.262,1.263

Travis Howell kirben at users.sourceforge.net
Wed Jan 14 06:37:02 CET 2004


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

Modified Files:
	script_v6.cpp 
Log Message:

Add/update comments


Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.262
retrieving revision 1.263
diff -u -d -r1.262 -r1.263
--- script_v6.cpp	14 Jan 2004 13:44:31 -0000	1.262
+++ script_v6.cpp	14 Jan 2004 14:36:19 -0000	1.263
@@ -2554,6 +2554,7 @@
 			break;
 		case 108:									/* create proc_special_palette */
 		case 109:
+			// Case 108 and 109 share the same function
 			if (num != 6)
 				warning("o6_kernelSetFunctions sub op %d: expected 6 params but got %d", args[0], num);
 			createSpecialPalette(args[1], args[2], args[3], args[4], args[5], 0, 256);
@@ -2587,16 +2588,7 @@
 			break;
 		case 117:
 			// Sam & Max uses this opcode in script-43, right
-			// before a screensaver is selected. Perhaps it's
-			// supposed to turn off all (other) animations, because
-			// some of the screensavers look really stupid in some
-			// rooms, e.g. outside the Tunnel of Love, when parts
-			// of the screen are being redrawn all the time.
-			//
-			// But if so, how are the animations turn back on again
-			// afterwards? My only possible clue is that when the
-			// screensaver is turned off, the VAR_TIMER_NEXT
-			// variable is set to 6. But maybe that's unrelated.
+			// before a screensaver is selected.
 			//
 			// Sam & Max uses variable 132 to specify the number of
 			// minutes of inactivity (no mouse movements) before





More information about the Scummvm-git-logs mailing list