[Scummvm-cvs-logs] scummvm master -> 8ff034ef94913702be9c217f64aca595b4ee63d9

wjp wjp at usecode.org
Sun Dec 30 16:13:55 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
8ff034ef94 SCI32: Add more KScrollWindow notes


Commit: 8ff034ef94913702be9c217f64aca595b4ee63d9
    https://github.com/scummvm/scummvm/commit/8ff034ef94913702be9c217f64aca595b4ee63d9
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2012-12-30T07:12:47-08:00

Commit Message:
SCI32: Add more KScrollWindow notes

Changed paths:
    engines/sci/engine/kgraphics32.cpp



diff --git a/engines/sci/engine/kgraphics32.cpp b/engines/sci/engine/kgraphics32.cpp
index 6651b80..90d35b7 100644
--- a/engines/sci/engine/kgraphics32.cpp
+++ b/engines/sci/engine/kgraphics32.cpp
@@ -338,7 +338,8 @@ reg_t kScrollWindow(EngineState *s, int argc, reg_t *argv) {
 		// TODO: argv[3] is font
 		// TODO: argv[4] is color
 		// TODO: argv[5] is alignment (0 = left, 1 = center, 2 = right)
-		// TODO: argv[6] is an optional unknown bool (default 1 if not present)
+		// TODO: argv[6] is an optional bool, defaulting to true if not present.
+		//       If true, the old contents are scrolled out of view.
 		g_sci->_gfxFrameout->addScrollTextEntry(text, kWindow, x, y, (op == 14));
 		}
 		break;
@@ -383,7 +384,7 @@ reg_t kScrollWindow(EngineState *s, int argc, reg_t *argv) {
 		kStub(s, argc, argv);
 		break;
 	case 12: // Insert, called by ScrollableWindow::insertString
-		// 3 extra parameters here
+		// 5 extra parameters here.
 		// TODO
 		kStub(s, argc, argv);
 		break;






More information about the Scummvm-git-logs mailing list