aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-03 04:17:15 +0100
committerMartin Kiewitz2016-02-03 04:17:15 +0100
commitd23871fdd83299dfe5b559f8b6b828c9315a84b1 (patch)
treeb2931c2fc5c0890f217a4637f05712b6e5130300 /engines
parent3eebf2eb411ff83f87447bc4478778e1d7bc84d1 (diff)
downloadscummvm-rg350-d23871fdd83299dfe5b559f8b6b828c9315a84b1.tar.gz
scummvm-rg350-d23871fdd83299dfe5b559f8b6b828c9315a84b1.tar.bz2
scummvm-rg350-d23871fdd83299dfe5b559f8b6b828c9315a84b1.zip
AGI: Rename WINDOWRESET to WINDOW_AUTO_CLOSE_TIMER
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/agi.h2
-rw-r--r--engines/agi/text.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/agi.h b/engines/agi/agi.h
index 4ec77467ea..e3bfc98aaa 100644
--- a/engines/agi/agi.h
+++ b/engines/agi/agi.h
@@ -267,7 +267,7 @@ enum {
VM_VAR_AGI_ERROR_INFO, // 18
VM_VAR_KEY, // 19
VM_VAR_COMPUTER, // 20
- VM_VAR_WINDOW_RESET, // 21
+ VM_VAR_WINDOW_AUTO_CLOSE_TIMER, // 21
VM_VAR_SOUNDGENERATOR, // 22
VM_VAR_VOLUME, // 23
VM_VAR_MAX_INPUT_CHARACTERS, // 24
diff --git a/engines/agi/text.cpp b/engines/agi/text.cpp
index 317ecbea14..135d05e0df 100644
--- a/engines/agi/text.cpp
+++ b/engines/agi/text.cpp
@@ -351,7 +351,7 @@ bool TextMgr::messageBox(const char *textPtr) {
_vm->nonBlockingText_Forget();
// timed window
- uint32 windowTimer = _vm->getVar(VM_VAR_WINDOW_RESET);
+ uint32 windowTimer = _vm->getVar(VM_VAR_WINDOW_AUTO_CLOSE_TIMER);
debugC(3, kDebugLevelText, "blocking window v21=%d", windowTimer);
windowTimer = windowTimer * 10; // 1 = 0.5 seconds
@@ -373,7 +373,7 @@ bool TextMgr::messageBox(const char *textPtr) {
_vm->inGameTimerResetPassedCycles();
- _vm->setVar(VM_VAR_WINDOW_RESET, 0);
+ _vm->setVar(VM_VAR_WINDOW_AUTO_CLOSE_TIMER, 0);
closeWindow();
_vm->_noSaveLoadAllowed = false;