aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-04-17 23:37:22 +0000
committerTorbjörn Andersson2006-04-17 23:37:22 +0000
commit72906f25087ad6adae33c64236bde00ed99c5012 (patch)
tree9128b1d58134b01cf2c2af4bffac15c095c2ff19 /engines/lure
parentc17350958d66efb34d690601bb468840fa704712 (diff)
downloadscummvm-rg350-72906f25087ad6adae33c64236bde00ed99c5012.tar.gz
scummvm-rg350-72906f25087ad6adae33c64236bde00ed99c5012.tar.bz2
scummvm-rg350-72906f25087ad6adae33c64236bde00ed99c5012.zip
Made the Lure engine call updateScreen() more often - particularly when using
the menu bar at the top of the window - for smoother mouse movement. (After a discussion with sev.) svn-id: r21992
Diffstat (limited to 'engines/lure')
-rw-r--r--engines/lure/game.cpp1
-rw-r--r--engines/lure/menu.cpp3
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/game.cpp b/engines/lure/game.cpp
index 32f6878025..a760faac02 100644
--- a/engines/lure/game.cpp
+++ b/engines/lure/game.cpp
@@ -172,6 +172,7 @@ void Game::execute() {
playerChangeRoom();
}
+ system.updateScreen();
system.delayMillis(10);
}
diff --git a/engines/lure/menu.cpp b/engines/lure/menu.cpp
index ff6a6f4c4b..e28e385aa3 100644
--- a/engines/lure/menu.cpp
+++ b/engines/lure/menu.cpp
@@ -103,7 +103,6 @@ uint8 Menu::execute() {
mouse.setCursorNum(CURSOR_ARROW);
system.copyRectToScreen(_menu->data(), FULL_SCREEN_WIDTH, 0, 0,
FULL_SCREEN_WIDTH, MENUBAR_Y_SIZE);
- system.updateScreen();
_selectedMenu = NULL;
_surfaceMenu = NULL;
@@ -143,7 +142,6 @@ uint8 Menu::execute() {
system.copyRectToScreen(_menu->data(), FULL_SCREEN_WIDTH, 0, 0,
FULL_SCREEN_WIDTH, MENUBAR_Y_SIZE);
- system.updateScreen();
}
}
@@ -156,6 +154,7 @@ uint8 Menu::execute() {
}
}
+ system.updateScreen();
system.delayMillis(10);
}