mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
MOHAWK: Remove some dead code
This commit is contained in:
parent
316dc9c829
commit
6e3719199e
@ -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");
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user