[Scummvm-cvs-logs] scummvm master -> 704eb425d3503e1680fa06441d7bada60998ee09
wjp
wjp at usecode.org
Sun Dec 30 13:58:13 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:
704eb425d3 SCI32: Add notes about KScrollWindow/Where,Go
Commit: 704eb425d3503e1680fa06441d7bada60998ee09
https://github.com/scummvm/scummvm/commit/704eb425d3503e1680fa06441d7bada60998ee09
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2012-12-30T04:57:08-08:00
Commit Message:
SCI32: Add notes about KScrollWindow/Where,Go
Changed paths:
engines/sci/engine/kgraphics32.cpp
diff --git a/engines/sci/engine/kgraphics32.cpp b/engines/sci/engine/kgraphics32.cpp
index aa59ff4..6651b80 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
More information about the Scummvm-git-logs
mailing list