aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Bouclet2016-02-06 16:51:18 +0100
committerBastien Bouclet2016-02-07 15:27:03 +0100
commit6e3719199e81c1d236f58459f7a9776e3a59e94e (patch)
tree0d72f692b5ff4f05fec5ac76b4c101bc0022565c
parent316dc9c829767f339f66861f016faa4b2bca60df (diff)
downloadscummvm-rg350-6e3719199e81c1d236f58459f7a9776e3a59e94e.tar.gz
scummvm-rg350-6e3719199e81c1d236f58459f7a9776e3a59e94e.tar.bz2
scummvm-rg350-6e3719199e81c1d236f58459f7a9776e3a59e94e.zip
MOHAWK: Remove some dead code
-rw-r--r--engines/mohawk/myst.cpp3
-rw-r--r--engines/mohawk/myst.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index 0cc5a01250..126d464151 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -83,7 +83,6 @@ MohawkEngine_Myst::MohawkEngine_Myst(OSystem *syst, const MohawkGameDescription
_console = nullptr;
_scriptParser = nullptr;
_gameState = nullptr;
- _loadDialog = nullptr;
_optionsDialog = nullptr;
_cursorHintCount = 0;
@@ -99,7 +98,6 @@ MohawkEngine_Myst::~MohawkEngine_Myst() {
delete _console;
delete _scriptParser;
delete _gameState;
- delete _loadDialog;
delete _optionsDialog;
delete _prevStack;
delete _rnd;
@@ -233,7 +231,6 @@ Common::Error MohawkEngine_Myst::run() {
_gfx = new MystGraphics(this);
_console = new MystConsole(this);
_gameState = new MystGameState(this, _saveFileMan);
- _loadDialog = new GUI::SaveLoadChooser(_("Load game:"), _("Load"), false);
_optionsDialog = new MystOptionsDialog(this);
_cursor = new MystCursorManager(this);
_rnd = new Common::RandomSource("myst");
diff --git a/engines/mohawk/myst.h b/engines/mohawk/myst.h
index 12ec21b52c..2264e07c6d 100644
--- a/engines/mohawk/myst.h
+++ b/engines/mohawk/myst.h
@@ -30,8 +30,6 @@
#include "common/random.h"
-#include "gui/saveload.h"
-
namespace Mohawk {
class MohawkEngine_Myst;
@@ -211,7 +209,6 @@ public:
private:
MystConsole *_console;
- GUI::SaveLoadChooser *_loadDialog;
MystOptionsDialog *_optionsDialog;
MystScriptParser *_prevStack;
ResourceCache _cache;