diff options
author | Filippos Karapetis | 2013-01-02 20:01:00 +0200 |
---|---|---|
committer | Filippos Karapetis | 2013-01-02 20:02:29 +0200 |
commit | 69da727c550c9f0f57bd50ca2d70e1730266df59 (patch) | |
tree | 1a4ad34b1e3ec95dbef397568df2e4f90614cb6a /engines/toltecs/console.h | |
parent | 3cacade68d40d462b7fcd97ee31481c0d1d47a23 (diff) | |
download | scummvm-rg350-69da727c550c9f0f57bd50ca2d70e1730266df59.tar.gz scummvm-rg350-69da727c550c9f0f57bd50ca2d70e1730266df59.tar.bz2 scummvm-rg350-69da727c550c9f0f57bd50ca2d70e1730266df59.zip |
TOLTECS: Add a debug console
Diffstat (limited to 'engines/toltecs/console.h')
-rw-r--r-- | engines/toltecs/console.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/engines/toltecs/console.h b/engines/toltecs/console.h new file mode 100644 index 0000000000..bcdfd0cf04 --- /dev/null +++ b/engines/toltecs/console.h @@ -0,0 +1,45 @@ +/* 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 TOLTECS_CONSOLE_H +#define TOLTECS_CONSOLE_H + +#include "gui/debugger.h" + +namespace Toltecs { + +class ToltecsEngine; + +class Console : public GUI::Debugger { +public: + Console(ToltecsEngine *vm); + virtual ~Console(void); + +private: + ToltecsEngine *_vm; + + bool Cmd_Dump(int argc, const char **argv); + bool Cmd_Room(int argc, const char **argv); +}; + +} // End of namespace Toltecs +#endif |