diff options
author | Filippos Karapetis | 2009-10-31 17:54:28 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-10-31 17:54:28 +0000 |
commit | c64fa600b7cd1eb185f29a29de75dd19497c4857 (patch) | |
tree | 227cd9efb3ef37887a5546f8c9011c80e74bab01 /engines/sci/gui/gui.cpp | |
parent | 2b29b53b473af96e910066ce090e526dc0a5fb62 (diff) | |
download | scummvm-rg350-c64fa600b7cd1eb185f29a29de75dd19497c4857.tar.gz scummvm-rg350-c64fa600b7cd1eb185f29a29de75dd19497c4857.tar.bz2 scummvm-rg350-c64fa600b7cd1eb185f29a29de75dd19497c4857.zip |
- Added some TODOs
- Disabled the kGraph case used in KQ6 Windows for now, as it's problematic and crashes the game
- Added extra param to kDrawCel(), used in KQ6 Windows
The icon bar in KQ6 Windows is shown a bit better now
svn-id: r45567
Diffstat (limited to 'engines/sci/gui/gui.cpp')
-rw-r--r-- | engines/sci/gui/gui.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp index 6552a52292..b14bd6df67 100644 --- a/engines/sci/gui/gui.cpp +++ b/engines/sci/gui/gui.cpp @@ -325,8 +325,8 @@ void SciGui::drawPicture(GuiResourceId pictureId, int16 animationNr, bool animat _gfx->SetPort(oldPort); } -void SciGui::drawCel(GuiResourceId viewId, GuiViewLoopNo loopNo, GuiViewCelNo celNo, uint16 leftPos, uint16 topPos, int16 priority, uint16 paletteNo) { - _gfx->drawCel(viewId, loopNo, celNo, leftPos, topPos, priority, paletteNo); +void SciGui::drawCel(GuiResourceId viewId, GuiViewLoopNo loopNo, GuiViewCelNo celNo, uint16 leftPos, uint16 topPos, int16 priority, uint16 paletteNo, int16 origHeight) { + _gfx->drawCel(viewId, loopNo, celNo, leftPos, topPos, priority, paletteNo, origHeight); _palette->setOnScreen(); } @@ -456,6 +456,8 @@ reg_t SciGui::graphSaveBox(Common::Rect rect, uint16 screenMask) { } reg_t SciGui::graphSaveUpscaledHiresBox(Common::Rect rect) { + rect.right *= 2; + rect.bottom *= 2; return _gfx->BitsSave(rect, SCI_SCREEN_MASK_DISPLAY); } |