MOHAWK: Remove some dead code

This commit is contained in:
Bastien Bouclet 2016-02-06 16:51:18 +01:00
parent 316dc9c829
commit 6e3719199e
2 changed files with 0 additions and 6 deletions

View File

@ -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");

View File

@ -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;