mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
AGI: Rename WINDOWRESET to WINDOW_AUTO_CLOSE_TIMER
This commit is contained in:
parent
3eebf2eb41
commit
d23871fdd8
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user