aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/worldofxeen
diff options
context:
space:
mode:
authorPaul Gilbert2018-03-04 18:40:25 -0500
committerPaul Gilbert2018-03-04 22:40:43 -0500
commitb6b9714ec02aa4b927ace42cb9699de899494f91 (patch)
tree45b4671a63cc2095f9b59919aa92038e9817a541 /engines/xeen/worldofxeen
parent67d4de1bb818b2cfc628549ba38cc4f00b8236b2 (diff)
downloadscummvm-rg350-b6b9714ec02aa4b927ace42cb9699de899494f91.tar.gz
scummvm-rg350-b6b9714ec02aa4b927ace42cb9699de899494f91.tar.bz2
scummvm-rg350-b6b9714ec02aa4b927ace42cb9699de899494f91.zip
XEEN: Fix scroll effect for Clouds of Xeen main menu
Diffstat (limited to 'engines/xeen/worldofxeen')
-rw-r--r--engines/xeen/worldofxeen/worldofxeen_menu.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/xeen/worldofxeen/worldofxeen_menu.cpp b/engines/xeen/worldofxeen/worldofxeen_menu.cpp
index 4797309a9f..356bb8c3e3 100644
--- a/engines/xeen/worldofxeen/worldofxeen_menu.cpp
+++ b/engines/xeen/worldofxeen/worldofxeen_menu.cpp
@@ -70,6 +70,7 @@ void MainMenuContainer::draw() {
void MainMenuContainer::execute() {
EventsManager &events = *g_vm->_events;
+ Screen &screen = *g_vm->_screen;
bool showFlag = false;
// Show the cursor
@@ -77,6 +78,8 @@ void MainMenuContainer::execute() {
events.setCursor(0);
events.showCursor();
+ screen.doScroll(true, false);
+
while (!g_vm->shouldExit() && g_vm->_gameMode == GMODE_NONE) {
// Draw the menu
draw();
@@ -86,7 +89,7 @@ void MainMenuContainer::execute() {
// Fade/scroll in screen if first frame
if (!showFlag) {
loadBackground();
- // TODO: doScroll(false, false);
+ screen.doScroll(false, false);
showFlag = true;
}