From 72906f25087ad6adae33c64236bde00ed99c5012 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 17 Apr 2006 23:37:22 +0000 Subject: 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 --- engines/lure/game.cpp | 1 + engines/lure/menu.cpp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/lure') 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); } -- cgit v1.2.3