aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/gui/gui.cpp')
-rw-r--r--engines/sci/gui/gui.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp
index baca9e5005..6f7ab143e7 100644
--- a/engines/sci/gui/gui.cpp
+++ b/engines/sci/gui/gui.cpp
@@ -101,14 +101,6 @@ 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;
@@ -508,6 +500,14 @@ void SciGui::graphRedrawBox(Common::Rect rect) {
_gfx->SetPort(oldPort);
}
+void SciGui::graphAdjustPriority(int top, int bottom) {
+ if (_usesOldGfxFunctions) {
+ _gfx->PriorityBandsInit(15, top, bottom);
+ } else {
+ _gfx->PriorityBandsInit(14, top, bottom);
+ }
+}
+
int16 SciGui::picNotValid(int16 newPicNotValid) {
int16 oldPicNotValid = _screen->_picNotValid;