aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorPaweł Kołodziejski2006-05-25 12:17:50 +0000
committerPaweł Kołodziejski2006-05-25 12:17:50 +0000
commitb07798783c9bc8c8b1e906cf6043193c00192edc (patch)
treeadf8091334e35bc24259657f4f75337a5d56b9b6 /engines/agi
parent2353454adf6c01af635a5956edfa644843ef745d (diff)
downloadscummvm-rg350-b07798783c9bc8c8b1e906cf6043193c00192edc.tar.gz
scummvm-rg350-b07798783c9bc8c8b1e906cf6043193c00192edc.tar.bz2
scummvm-rg350-b07798783c9bc8c8b1e906cf6043193c00192edc.zip
fixed regression after conversion console
svn-id: r22626
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/cycle.cpp3
-rw-r--r--engines/agi/keyboard.cpp2
-rw-r--r--engines/agi/savegame.cpp1
-rw-r--r--engines/agi/text.cpp1
4 files changed, 7 insertions, 0 deletions
diff --git a/engines/agi/cycle.cpp b/engines/agi/cycle.cpp
index 2057189cd6..7b741a7f03 100644
--- a/engines/agi/cycle.cpp
+++ b/engines/agi/cycle.cpp
@@ -274,6 +274,7 @@ int main_cycle() {
break;
case INPUT_MENU:
menu_keyhandler(key);
+ do_update();
return false;
case INPUT_NONE:
handle_controller(key);
@@ -282,6 +283,8 @@ int main_cycle() {
break;
}
+ do_update();
+
if (game.msg_box_ticks > 0)
game.msg_box_ticks--;
diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp
index d73e1d1914..bdac3953f8 100644
--- a/engines/agi/keyboard.cpp
+++ b/engines/agi/keyboard.cpp
@@ -347,6 +347,7 @@ int wait_key() {
key = do_poll_keyboard();
if (key == KEY_ENTER || key == KEY_ESCAPE || key == BUTTON_LEFT)
break;
+ do_update();
}
return key;
}
@@ -365,6 +366,7 @@ int wait_any_key() {
key = do_poll_keyboard();
if (key)
break;
+ do_update();
}
return key;
}
diff --git a/engines/agi/savegame.cpp b/engines/agi/savegame.cpp
index 7037a3d133..fb367389fe 100644
--- a/engines/agi/savegame.cpp
+++ b/engines/agi/savegame.cpp
@@ -634,6 +634,7 @@ static int select_slot() {
active = NUM_SLOTS - 1;
break;
}
+ do_update();
}
press:
diff --git a/engines/agi/text.cpp b/engines/agi/text.cpp
index b9a70b9dff..dda904ee94 100644
--- a/engines/agi/text.cpp
+++ b/engines/agi/text.cpp
@@ -377,6 +377,7 @@ int selection_box(const char *m, const char **b) {
active %= i;
break;
}
+ do_update();
}
press: