diff options
Diffstat (limited to 'engines/sci/gui')
-rw-r--r-- | engines/sci/gui/gui.cpp | 8 | ||||
-rw-r--r-- | engines/sci/gui/gui.h | 2 |
2 files changed, 10 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; diff --git a/engines/sci/gui/gui.h b/engines/sci/gui/gui.h index cb3ff189a9..878f676553 100644 --- a/engines/sci/gui/gui.h +++ b/engines/sci/gui/gui.h @@ -143,6 +143,8 @@ public: virtual void portraitShow(Common::String resourceName, Common::Point position, uint16 resourceNum, uint16 noun, uint16 verb, uint16 cond, uint16 seq); virtual void portraitUnload(uint16 portraitId); + virtual void modifyPriorityBands(int top, int bottom); + virtual bool debugUndither(bool flag); virtual bool debugShowMap(int mapNo); |