diff options
author | Filippos Karapetis | 2009-11-04 11:52:11 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-11-04 11:52:11 +0000 |
commit | f755311114121ce67efc17db4a67996382affc47 (patch) | |
tree | d7a7e6785328e372b71f43d7879e7b79385c5468 /engines/sci/gui/gui.cpp | |
parent | f5d1ca32f2626ae1eb6c6c598e129698123a3aab (diff) | |
download | scummvm-rg350-f755311114121ce67efc17db4a67996382affc47.tar.gz scummvm-rg350-f755311114121ce67efc17db4a67996382affc47.tar.bz2 scummvm-rg350-f755311114121ce67efc17db4a67996382affc47.zip |
priority_first and priority_last are not used by the new drawing code, thus the new code didn't handle priority changes by kGraph()
svn-id: r45658
Diffstat (limited to 'engines/sci/gui/gui.cpp')
-rw-r--r-- | engines/sci/gui/gui.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp index 5027c0df2c..d565d20c49 100644 --- a/engines/sci/gui/gui.cpp +++ b/engines/sci/gui/gui.cpp @@ -101,6 +101,14 @@ void SciGui::initPriorityBands() { } } +void SciGui::modifyPriorityBands(int top, int bottom) { + if (_usesOldGfxFunctions) { + _gfx->PriorityBandsInit(15, top, bottom); + } else { + _gfx->PriorityBandsInit(14, top, bottom); + } +} + void SciGui::wait(int16 ticks) { uint32 time; |