aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2012-12-30 13:56:33 +0100
committerWillem Jan Palenstijn2012-12-30 13:57:08 +0100
commit704eb425d3503e1680fa06441d7bada60998ee09 (patch)
treeb73eef9f66df66c01cbf71b0fba79a9602a2235a
parent1fde5e615e14a8819f9a3442c697e6aeadbc1ad3 (diff)
downloadscummvm-rg350-704eb425d3503e1680fa06441d7bada60998ee09.tar.gz
scummvm-rg350-704eb425d3503e1680fa06441d7bada60998ee09.tar.bz2
scummvm-rg350-704eb425d3503e1680fa06441d7bada60998ee09.zip
SCI32: Add notes about KScrollWindow/Where,Go
-rw-r--r--engines/sci/engine/kgraphics32.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/sci/engine/kgraphics32.cpp b/engines/sci/engine/kgraphics32.cpp
index aa59ff4364..6651b802cf 100644
--- a/engines/sci/engine/kgraphics32.cpp
+++ b/engines/sci/engine/kgraphics32.cpp
@@ -370,14 +370,16 @@ reg_t kScrollWindow(EngineState *s, int argc, reg_t *argv) {
kStub(s, argc, argv);
break;
case 10: // Where, called by ScrollableWindow::where
- // TODO
- // argv[2] is an unknown integer
+ // TODO:
+ // Gives the current relative scroll location as a fraction
+ // with argv[2] as the denominator. (Return value is the numerator.)
// Silenced the warnings because of the high amount of console spam
//kStub(s, argc, argv);
break;
case 11: // Go, called by ScrollableWindow::scrollTo
- // 2 extra parameters here
- // TODO
+ // TODO:
+ // Two arguments provide a fraction: argv[2] is num., argv[3] is denom.
+ // Scrolls to the relative location given by the fraction.
kStub(s, argc, argv);
break;
case 12: // Insert, called by ScrollableWindow::insertString