diff options
-rw-r--r-- | engines/xeen/screen.cpp | 8 | ||||
-rw-r--r-- | engines/xeen/screen.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/engines/xeen/screen.cpp b/engines/xeen/screen.cpp index 8dc7ec82dd..c9781b3cf1 100644 --- a/engines/xeen/screen.cpp +++ b/engines/xeen/screen.cpp @@ -163,14 +163,14 @@ void Screen::restoreBackground(int slot) { blitFrom(_savedScreens[slot - 1]); } -bool Screen::doScroll(bool rollUp, bool fadeIn) { +bool Screen::doScroll(bool rollUp, bool fadeInFlag) { Screen &screen = *_vm->_screen; EventsManager &events = *_vm->_events; const int SCROLL_L[8] = { 29, 23, 15, -5, -11, -23, -49, -71 }; const int SCROLL_R[8] = { 165, 171, 198, 218, 228, 245, 264, 281 }; if (_vm->_files->_isDarkCc) { - if (fadeIn) + if (fadeInFlag) screen.fadeIn(2); return _vm->shouldExit(); } @@ -212,7 +212,7 @@ bool Screen::doScroll(bool rollUp, bool fadeIn) { while (!_vm->shouldExit() && events.timeElapsed() == 0) events.pollEventsAndWait(); - if (i == 0 && fadeIn) + if (i == 0 && fadeInFlag) screen.fadeIn(2); } } else { @@ -237,7 +237,7 @@ bool Screen::doScroll(bool rollUp, bool fadeIn) { while (!_vm->shouldExit() && events.timeElapsed() == 0) events.pollEventsAndWait(); - if (i == 0 && fadeIn) + if (i == 0 && fadeInFlag) screen.fadeIn(2); } } diff --git a/engines/xeen/screen.h b/engines/xeen/screen.h index 3e7f23e19e..40b6958d9c 100644 --- a/engines/xeen/screen.h +++ b/engines/xeen/screen.h @@ -115,11 +115,11 @@ public: /** * Draws the scroll in the background - * @param rollUp If true, rolls up the scroll. If false, unrolls. - * @param fadeIn If true, does an initial fade in + * @param rollUp If true, rolls up the scroll. If false, unrolls. + * @param fadeInFlag If true, does an initial fade in * @returns True if key or mouse pressed */ - bool doScroll(bool rollUp, bool fadeIn); + bool doScroll(bool rollUp, bool fadeInFlag); }; } // End of namespace Xeen |