diff options
author | Sven Hesse | 2007-04-05 19:20:12 +0000 |
---|---|---|
committer | Sven Hesse | 2007-04-05 19:20:12 +0000 |
commit | ce8bfbb46e75f2ebd04c3d6f7edf078fee89a103 (patch) | |
tree | 0505f7e2ed27e2e1e3a27714b0e4a860bca24101 /engines/gob/inter_v1.cpp | |
parent | 96c6ae041fdb14ad557abdb2d95fe2cd62f17a97 (diff) | |
download | scummvm-rg350-ce8bfbb46e75f2ebd04c3d6f7edf078fee89a103.tar.gz scummvm-rg350-ce8bfbb46e75f2ebd04c3d6f7edf078fee89a103.tar.bz2 scummvm-rg350-ce8bfbb46e75f2ebd04c3d6f7edf078fee89a103.zip |
Implemented scrolling and split screen (for the text field, the bottom 40 lines) in Gob3
svn-id: r26387
Diffstat (limited to 'engines/gob/inter_v1.cpp')
-rw-r--r-- | engines/gob/inter_v1.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp index ebeaec481b..4cc039b6de 100644 --- a/engines/gob/inter_v1.cpp +++ b/engines/gob/inter_v1.cpp @@ -2152,6 +2152,8 @@ bool Inter_v1::o1_istrlen(OpFuncParams ¶ms) { bool Inter_v1::o1_setMousePos(OpFuncParams ¶ms) { _vm->_global->_inter_mouseX = _vm->_parse->parseValExpr(); _vm->_global->_inter_mouseY = _vm->_parse->parseValExpr(); + _vm->_global->_inter_mouseX -= _vm->_draw->_scrollOffsetX; + _vm->_global->_inter_mouseY -= _vm->_draw->_scrollOffsetY; if (_vm->_global->_useMouse != 0) _vm->_util->setMousePos(_vm->_global->_inter_mouseX, _vm->_global->_inter_mouseY); |