diff options
author | Sven Hesse | 2007-04-19 13:51:57 +0000 |
---|---|---|
committer | Sven Hesse | 2007-04-19 13:51:57 +0000 |
commit | 28df3debfdfbce08476bbec2900d53651de69bda (patch) | |
tree | 3ade4b7b564b77f408a89d3c5e7e28757bb987a7 /engines/gob/inter_v2.cpp | |
parent | fdea5abb34a8a00a4dfd02e8081aa550e43bedb7 (diff) | |
download | scummvm-rg350-28df3debfdfbce08476bbec2900d53651de69bda.tar.gz scummvm-rg350-28df3debfdfbce08476bbec2900d53651de69bda.tar.bz2 scummvm-rg350-28df3debfdfbce08476bbec2900d53651de69bda.zip |
- 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
Diffstat (limited to 'engines/gob/inter_v2.cpp')
-rw-r--r-- | engines/gob/inter_v2.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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(); |