diff options
author | Filippos Karapetis | 2019-08-14 20:29:56 +0300 |
---|---|---|
committer | Filippos Karapetis | 2019-08-15 11:58:15 +0300 |
commit | 384715da8448c303785072820329432461991deb (patch) | |
tree | d0078ade12a8fb3096aa9afd87229dd0ad8bd5af /engines/startrek/console.h | |
parent | 6761ef67cf71edc0e3a70e9279829d510e3a62f0 (diff) | |
download | scummvm-rg350-384715da8448c303785072820329432461991deb.tar.gz scummvm-rg350-384715da8448c303785072820329432461991deb.tar.bz2 scummvm-rg350-384715da8448c303785072820329432461991deb.zip |
STARTREK: Add a console
This also fixes an uninitialized pointer crash (_mapFile)
Diffstat (limited to 'engines/startrek/console.h')
-rw-r--r-- | engines/startrek/console.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/engines/startrek/console.h b/engines/startrek/console.h new file mode 100644 index 0000000000..1d1b6e72fc --- /dev/null +++ b/engines/startrek/console.h @@ -0,0 +1,44 @@ +/* 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 STARTREK_CONSOLE_H +#define STARTREK_CONSOLE_H + +#include "gui/debugger.h" + +namespace StarTrek { + +class StarTrekEngine; + +class Console : public GUI::Debugger { +public: + Console(StarTrekEngine *vm); + virtual ~Console(void); + +private: + StarTrekEngine *_vm; + + bool Cmd_Room(int argc, const char **argv); +}; + +} // End of namespace StarTrek +#endif |