aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/prog.cpp
diff options
context:
space:
mode:
authorStrangerke2012-03-08 08:24:54 +0100
committerStrangerke2012-04-06 08:22:57 +0200
commit36a65ad3c9c858f72ba62d16d58b6996228b27fa (patch)
tree4fb75881271198c1559e82114ca06cbfc120f8fd /engines/mortevielle/prog.cpp
parent09c157b3b33122b645f93c81f8b524caabbd62d5 (diff)
downloadscummvm-rg350-36a65ad3c9c858f72ba62d16d58b6996228b27fa.tar.gz
scummvm-rg350-36a65ad3c9c858f72ba62d16d58b6996228b27fa.tar.bz2
scummvm-rg350-36a65ad3c9c858f72ba62d16d58b6996228b27fa.zip
MORTEVIELLE: Move (and rename) some more globals to MortevielleEngine
Diffstat (limited to 'engines/mortevielle/prog.cpp')
-rw-r--r--engines/mortevielle/prog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/mortevielle/prog.cpp b/engines/mortevielle/prog.cpp
index 36d5265ed3..a74def2eb4 100644
--- a/engines/mortevielle/prog.cpp
+++ b/engines/mortevielle/prog.cpp
@@ -70,12 +70,12 @@ void changeGraphicalDevice(int newDevice) {
*/
void MortevielleEngine::gameLoaded() {
hideMouse();
- g_imen = false;
+ _menu._menuDisplayed = false;
_loseGame = true;
g_anyone = false;
g_okdes = true;
- g_col = false;
- g_cache = false;
+ _col = false;
+ _hiddenHero = false;
g_brt = false;
g_maff = 68;
g_mnumo = 0;
@@ -132,10 +132,10 @@ void tmaj3() {
}
void tsitu() {
- if (!g_col)
+ if (!g_vm->_col)
clearScreenType2();
g_syn = false;
- g_iesc = false;
+ g_vm->_keyPressedEsc = false;
if (!g_anyone) {
if (g_brt)
if ((g_msg[3] == MENU_MOVE) || (g_msg[4] == OPCODE_LEAVE) || (g_msg[4] == OPCODE_SLEEP) || (g_msg[4] == OPCODE_EAT)) {
@@ -199,7 +199,7 @@ void tsitu() {
fctSelfPut();
if (g_msg[4] == OPCODE_SLOOK)
fctSelftLook();
- g_cache = false;
+ g_vm->_hiddenHero = false;
if (g_msg[4] == OPCODE_SHIDE)
fctSelfHide();