From 28df3debfdfbce08476bbec2900d53651de69bda Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Thu, 19 Apr 2007 13:51:57 +0000 Subject: - Fixed handling of the case split screen + vertical scrolling area - Added manual vertical scrolling - Restricting the mouse cursor to the upper part of the split screen now svn-id: r26547 --- engines/gob/inter_v2.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/gob/inter_v2.cpp') diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp index d0677757d5..5a66300848 100644 --- a/engines/gob/inter_v2.cpp +++ b/engines/gob/inter_v2.cpp @@ -1376,7 +1376,9 @@ void Inter_v2::o2_initScreen() { if (height > 0) _vm->_video->_surfHeight = height; - _vm->_video->_splitHeight = _vm->_video->_surfHeight - offY; + _vm->_video->_splitHeight1 = MIN(200, _vm->_video->_surfHeight - offY); + _vm->_video->_splitHeight2 = offY; + _vm->_video->_splitStart = _vm->_video->_surfHeight - offY; _vm->_draw->closeScreen(); _vm->_util->clearPalette(); -- cgit v1.2.3