aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-01-14 14:36:19 +0000
committerTravis Howell2004-01-14 14:36:19 +0000
commitd66de098fc5ed72e954a2352d10f969245e86fe6 (patch)
treedb311e0616ebb9bf2a94956e77f1af3f851adb31 /scumm
parent6c78f2a6b801ae8a8efb7f9db9bf0213ce3eb759 (diff)
downloadscummvm-rg350-d66de098fc5ed72e954a2352d10f969245e86fe6.tar.gz
scummvm-rg350-d66de098fc5ed72e954a2352d10f969245e86fe6.tar.bz2
scummvm-rg350-d66de098fc5ed72e954a2352d10f969245e86fe6.zip
Add/update comments
svn-id: r12386
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v6.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 2c29a1b0f9..6719d01135 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -2554,6 +2554,7 @@ void ScummEngine_v6::o6_kernelSetFunctions() {
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 @@ void ScummEngine_v6::o6_kernelSetFunctions() {
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