diff options
author | Eugene Sandulenko | 2019-07-24 12:36:48 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:27 +0200 |
commit | 0c29eff799934fb3d624f3d0318c2a9617820a55 (patch) | |
tree | 8b69f259561833d2e3e57a6264934286e2de9a3f /engines | |
parent | 9ea453bc4c54f547972ad05404bde8029ab1219e (diff) | |
download | scummvm-rg350-0c29eff799934fb3d624f3d0318c2a9617820a55.tar.gz scummvm-rg350-0c29eff799934fb3d624f3d0318c2a9617820a55.tar.bz2 scummvm-rg350-0c29eff799934fb3d624f3d0318c2a9617820a55.zip |
HDB: Remove unused console.cpp
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/console.cpp | 38 | ||||
-rw-r--r-- | engines/hdb/console.h | 40 | ||||
-rw-r--r-- | engines/hdb/hdb.cpp | 4 | ||||
-rw-r--r-- | engines/hdb/hdb.h | 3 | ||||
-rw-r--r-- | engines/hdb/module.mk | 1 |
5 files changed, 0 insertions, 86 deletions
diff --git a/engines/hdb/console.cpp b/engines/hdb/console.cpp deleted file mode 100644 index 5cb45cf823..0000000000 --- a/engines/hdb/console.cpp +++ /dev/null @@ -1,38 +0,0 @@ -/* ScummVM - Graphic Adventure Engine - * - * ScummVM is the legal property of its developers, whose names - * are too numerous to list here. Please refer to the COPYRIGHT - * file distributed with this source distribution. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - */ - -#include "gui/debugger.h" - -#include "hdb/hdb.h" -#include "hdb/console.h" - -namespace HDB { - -Console::Console() { - _visible = true; -} - -Console::~Console() { - _visible = false; -} - -} // End of namespace HDB diff --git a/engines/hdb/console.h b/engines/hdb/console.h deleted file mode 100644 index 9b77d41713..0000000000 --- a/engines/hdb/console.h +++ /dev/null @@ -1,40 +0,0 @@ -/* ScummVM - Graphic Adventure Engine -* -* ScummVM is the legal property of its developers, whose names -* are too numerous to list here. Please refer to the COPYRIGHT -* file distributed with this source distribution. -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* as published by the Free Software Foundation; either version 2 -* of the License, or (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -* -*/ - -#ifndef HDB_CONSOLE_H -#define HDB_CONSOLE_H - -#include "gui/debugger.h" - -namespace HDB { - -class Game; - -class Console : public GUI::Debugger { -public: - explicit Console(); - virtual ~Console(); -private: - bool _visible; -}; -} -#endif diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index f2f20a28c6..67978f012e 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -32,7 +32,6 @@ #include "hdb/hdb.h" #include "hdb/gfx.h" -#include "hdb/console.h" #include "hdb/menu.h" #include "hdb/mpc.h" @@ -43,7 +42,6 @@ namespace HDB { HDBGame* g_hdb; HDBGame::HDBGame(OSystem *syst, const ADGameDescription *gameDesc) : Engine(syst), _gameDescription(gameDesc) { - _console = nullptr; _format = Graphics::PixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0); _systemInit = false; g_hdb = this; @@ -77,7 +75,6 @@ HDBGame::HDBGame(OSystem *syst, const ADGameDescription *gameDesc) : Engine(syst } HDBGame::~HDBGame() { - delete _console; delete _fileMan; delete _gfx; delete _lua; @@ -858,7 +855,6 @@ Common::Error HDBGame::run() { // Initializes Graphics initGraphics(kScreenWidth, kScreenHeight, &_format); - _console = new Console(); #ifdef USE_MAD Common::SeekableReadStream *soundStream = _fileMan->findFirstData("M00_AIRLOCK_01_MP3", TYPE_BINARY); diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h index 36f5142f2c..d20f40d705 100644 --- a/engines/hdb/hdb.h +++ b/engines/hdb/hdb.h @@ -70,7 +70,6 @@ enum { #include "hdb/ai.h" #include "hdb/ai-player.h" -#include "hdb/console.h" #include "hdb/file-manager.h" #include "hdb/input.h" #include "hdb/lua-script.h" @@ -339,8 +338,6 @@ private: uint32 _tiempo; - Console *_console; - // Game Variables bool _systemInit; diff --git a/engines/hdb/module.mk b/engines/hdb/module.mk index e3e56eb593..e3d95dbbae 100644 --- a/engines/hdb/module.mk +++ b/engines/hdb/module.mk @@ -10,7 +10,6 @@ MODULE_OBJS := \ ai-player.o \ ai-use.o \ ai-waypoint.o \ - console.o \ detection.o \ file-manager.o \ gfx.o \ |