diff options
author | Paul Gilbert | 2013-12-24 10:32:41 +1100 |
---|---|---|
committer | Paul Gilbert | 2013-12-24 10:32:41 +1100 |
commit | 156f78e7cdb4c49b437c378d7239806784bcee54 (patch) | |
tree | 387c9e7b5c6db4ced4a8e31583f1d5cd60194fec /engines/voyeur/graphics.cpp | |
parent | 1af5a3b1b4174c2238b6d7ab81600eefe929dc9c (diff) | |
download | scummvm-rg350-156f78e7cdb4c49b437c378d7239806784bcee54.tar.gz scummvm-rg350-156f78e7cdb4c49b437c378d7239806784bcee54.tar.bz2 scummvm-rg350-156f78e7cdb4c49b437c378d7239806784bcee54.zip |
VOYEUR: Bugfixes and move for doScroll method
Diffstat (limited to 'engines/voyeur/graphics.cpp')
-rw-r--r-- | engines/voyeur/graphics.cpp | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/engines/voyeur/graphics.cpp b/engines/voyeur/graphics.cpp index 185f51be54..a62a912c35 100644 --- a/engines/voyeur/graphics.cpp +++ b/engines/voyeur/graphics.cpp @@ -692,47 +692,6 @@ void GraphicsManager::screenReset() { _vm->_eventsManager.sWaitFlip(); } -void GraphicsManager::doScroll(const Common::Point &pt) { - Common::Rect clipRect(72, 47, 240, 148); - (*_vm->_graphicsManager._vPort)->setupViewPort(NULL, &clipRect); - - PictureResource *pic; - int base = 0; - switch (_vm->_voy._transitionId) { - case 0: - break; - case 1: - case 2: - case 5: - case 6: - case 7: - case 8: - case 9: - base = 0xB00; - break; - case 3: - base = 0xC00; - break; - default: - base = 0xD00; - } - - if (base) { - pic = _vm->_bVoy->boltEntry(base + 3)._picResource; - sDrawPic(pic, *_vPort, Common::Point(784 - pt.x + 712, 150 - pt.y - 104)); - pic = _vm->_bVoy->boltEntry(base + 4)._picResource; - sDrawPic(pic, *_vPort, Common::Point(784 - pt.x + 712, 150 - pt.y - 44)); - pic = _vm->_bVoy->boltEntry(base + 5)._picResource; - sDrawPic(pic, *_vPort, Common::Point(784 - pt.x + 712, 150 - pt.y + 16)); - pic = _vm->_bVoy->boltEntry(base + 6)._picResource; - sDrawPic(pic, *_vPort, Common::Point(784 - pt.x + 712, 150 - pt.y + 76)); - pic = _vm->_bVoy->boltEntry(base + 7)._picResource; - sDrawPic(pic, *_vPort, Common::Point(784 - pt.x + 712, 150 - pt.y + 136)); - } - - (*_vPort)->setupViewPort(); -} - void GraphicsManager::fadeDownICF1(int steps) { if (steps > 0) { int stepAmount = _vm->_voy._field4378 / steps; |