Implemented scrolling and split screen (for the text field, the bottom 40 lines) in Gob3

svn-id: r26387
This commit is contained in:
Sven Hesse 2007-04-05 19:20:12 +00:00
parent 96c6ae041f
commit ce8bfbb46e
5 changed files with 50 additions and 4 deletions

View file

@ -2152,6 +2152,8 @@ bool Inter_v1::o1_istrlen(OpFuncParams &params) {
bool Inter_v1::o1_setMousePos(OpFuncParams &params) {
_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);