diff options
author | Thierry Crozat | 2018-01-23 21:53:11 +0000 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 21:53:11 +0000 |
commit | 2db8fbcb9de08a36fd1aa22d2c925ea47a4ddd36 (patch) | |
tree | baa760a3f9998238f7fea2f57cf347e4e0678e67 /engines/supernova/console.h | |
parent | 5189dbb7ba7d3db8a7e78906e5bc5ab8d1677955 (diff) | |
parent | ccd4e20e3264f24eca5ff674e5a0d5fc0b262d36 (diff) | |
download | scummvm-rg350-2db8fbcb9de08a36fd1aa22d2c925ea47a4ddd36.tar.gz scummvm-rg350-2db8fbcb9de08a36fd1aa22d2c925ea47a4ddd36.tar.bz2 scummvm-rg350-2db8fbcb9de08a36fd1aa22d2c925ea47a4ddd36.zip |
Merge branch 'supernova'
Diffstat (limited to 'engines/supernova/console.h')
-rw-r--r-- | engines/supernova/console.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/engines/supernova/console.h b/engines/supernova/console.h new file mode 100644 index 0000000000..74b40c25f8 --- /dev/null +++ b/engines/supernova/console.h @@ -0,0 +1,55 @@ +/* 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 SUPERNOVA_CONSOLE_H +#define SUPERNOVA_CONSOLE_H + +#include "gui/debugger.h" + +namespace Supernova { + +class SupernovaEngine; +class GameManager; + +enum { + kDebugGeneral = 1 << 0 +}; + +class Console : public GUI::Debugger { +public: + Console(Supernova::SupernovaEngine *vm, Supernova::GameManager *gm); + virtual ~Console() {} + + bool cmdRenderImage(int argc, const char **argv); + bool cmdPlaySound(int argc, const char **argv); + bool cmdMusic(int argc, const char **argv); + bool cmdList(int argc, const char **argv); + bool cmdInventory(int argc, const char **argv); + bool cmdGiveAll(int argc, const char **argv); +private: + SupernovaEngine *_vm; + GameManager *_gm; +}; + +} + +#endif |