aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2012-12-24 18:49:51 +0100
committerStrangerke2012-12-24 18:49:51 +0100
commit40cd508ea749faaabe305f9f5a85c11f109d7fab (patch)
tree32965b54a7065a5e399cb6cf446c4f177584009e
parent093f397e98c68ac2be8ef9e9fb29760eb2d23fdc (diff)
downloadscummvm-rg350-40cd508ea749faaabe305f9f5a85c11f109d7fab.tar.gz
scummvm-rg350-40cd508ea749faaabe305f9f5a85c11f109d7fab.tar.bz2
scummvm-rg350-40cd508ea749faaabe305f9f5a85c11f109d7fab.zip
HOPKINS: Remove one more useless flag
-rw-r--r--engines/hopkins/globals.cpp1
-rw-r--r--engines/hopkins/globals.h1
-rw-r--r--engines/hopkins/hopkins.cpp3
-rw-r--r--engines/hopkins/menu.cpp2
4 files changed, 0 insertions, 7 deletions
diff --git a/engines/hopkins/globals.cpp b/engines/hopkins/globals.cpp
index 53385f484a..1fc3d41082 100644
--- a/engines/hopkins/globals.cpp
+++ b/engines/hopkins/globals.cpp
@@ -222,7 +222,6 @@ Globals::Globals() {
GESTE_FLAG = false;
BPP_NOAFF = false;
_disableInventFl = false;
- FLAG_VISIBLE = false;
netscape = false;
NOMARCHE = false;
NO_VISU = false;
diff --git a/engines/hopkins/globals.h b/engines/hopkins/globals.h
index 572822bc58..bea32c80ef 100644
--- a/engines/hopkins/globals.h
+++ b/engines/hopkins/globals.h
@@ -410,7 +410,6 @@ public:
int Max_Ligne_Long;
int Max_Perso_Y;
bool _disableInventFl;
- bool FLAG_VISIBLE;
bool netscape; // CHECKME: Useless variable?
bool NOMARCHE;
int NBBLOC;
diff --git a/engines/hopkins/hopkins.cpp b/engines/hopkins/hopkins.cpp
index 0c34bb4d93..d228f0ca97 100644
--- a/engines/hopkins/hopkins.cpp
+++ b/engines/hopkins/hopkins.cpp
@@ -4793,7 +4793,6 @@ void HopkinsEngine::PUBQUIT() {
_globals.forest = false;
_eventsManager._breakoutFl = false;
_globals._disableInventFl = true;
- _globals.FLAG_VISIBLE = false;
_graphicsManager.loadImage("BOX");
_soundManager.WSOUND(28);
_graphicsManager.FADE_INW();
@@ -5763,7 +5762,6 @@ bool HopkinsEngine::displayAdultDisclaimer() {
_graphicsManager.max_y = SCREEN_HEIGHT - 1;
_eventsManager._breakoutFl = false;
_globals.forest = false;
- _globals.FLAG_VISIBLE = false;
_globals._disableInventFl = true;
_globals._exitId = 0;
@@ -5788,7 +5786,6 @@ bool HopkinsEngine::displayAdultDisclaimer() {
} while (!shouldQuit() && (buttonIndex == 0 || _eventsManager.getMouseButton() != 1));
_globals._disableInventFl = false;
- _globals.FLAG_VISIBLE = false;
_graphicsManager.FADE_OUTW();
if (buttonIndex != 2) {
diff --git a/engines/hopkins/menu.cpp b/engines/hopkins/menu.cpp
index b0f6c27422..2252a45d06 100644
--- a/engines/hopkins/menu.cpp
+++ b/engines/hopkins/menu.cpp
@@ -60,7 +60,6 @@ int MenuManager::MENU() {
_vm->_globals.forest = false;
_vm->_eventsManager._breakoutFl = false;
_vm->_globals._disableInventFl = true;
- _vm->_globals.FLAG_VISIBLE = false;
_vm->_globals._exitId = 0;
for (int idx = 0; idx < 31; ++idx)
@@ -231,7 +230,6 @@ int MenuManager::MENU() {
_vm->_globals.freeMemory(spriteData);
_vm->_globals._disableInventFl = false;
- _vm->_globals.FLAG_VISIBLE = false;
_vm->_graphicsManager.FADE_OUTW();
return result;
}