diff options
author | Willem Jan Palenstijn | 2012-12-30 13:12:51 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2012-12-30 13:12:51 +0100 |
commit | 1fde5e615e14a8819f9a3442c697e6aeadbc1ad3 (patch) | |
tree | a8804b358de987f46795ed7d521a024357c2ad28 /engines/sci | |
parent | 21ea60f604b586da7337e2794fb4b4f25e63701b (diff) | |
download | scummvm-rg350-1fde5e615e14a8819f9a3442c697e6aeadbc1ad3.tar.gz scummvm-rg350-1fde5e615e14a8819f9a3442c697e6aeadbc1ad3.tar.bz2 scummvm-rg350-1fde5e615e14a8819f9a3442c697e6aeadbc1ad3.zip |
SCI32: Add some notes about KScrollWindow/Add
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/kgraphics32.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/sci/engine/kgraphics32.cpp b/engines/sci/engine/kgraphics32.cpp index 8b3afeef99..aa59ff4364 100644 --- a/engines/sci/engine/kgraphics32.cpp +++ b/engines/sci/engine/kgraphics32.cpp @@ -333,9 +333,12 @@ reg_t kScrollWindow(EngineState *s, int argc, reg_t *argv) { // with 6 when Roger speaks { Common::String text = s->_segMan->getString(argv[2]); - uint16 x = 0;//argv[3].toUint16(); // TODO: can't be x (values are all wrong) - uint16 y = 0;//argv[4].toUint16(); // TODO: can't be y (values are all wrong) - // TODO: argv[5] is an optional unknown parameter (an integer set to 0) + uint16 x = 0; + uint16 y = 0; + // 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) g_sci->_gfxFrameout->addScrollTextEntry(text, kWindow, x, y, (op == 14)); } break; |