aboutsummaryrefslogtreecommitdiff
path: root/engines/chewy/console.h
diff options
context:
space:
mode:
authorFilippos Karapetis2016-09-19 09:39:25 +0300
committerFilippos Karapetis2016-10-03 00:32:52 +0300
commit182debe9083a57c8f96ea5214450193feb2c6558 (patch)
treef26a04978cfc3ccf1fd37e572224fd4bcebb0821 /engines/chewy/console.h
parente60fbde1d2b736d7f44c51d27e75639837d19cfe (diff)
downloadscummvm-rg350-182debe9083a57c8f96ea5214450193feb2c6558.tar.gz
scummvm-rg350-182debe9083a57c8f96ea5214450193feb2c6558.tar.bz2
scummvm-rg350-182debe9083a57c8f96ea5214450193feb2c6558.zip
CHEWY: Add a console, with a "dump" command to dump resources
Diffstat (limited to 'engines/chewy/console.h')
-rw-r--r--engines/chewy/console.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/engines/chewy/console.h b/engines/chewy/console.h
new file mode 100644
index 0000000000..b6b32e6e03
--- /dev/null
+++ b/engines/chewy/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 CHEWY_CONSOLE_H
+#define CHEWY_CONSOLE_H
+
+#include "gui/debugger.h"
+
+namespace Chewy {
+
+class ChewyEngine;
+
+class Console : public GUI::Debugger {
+public:
+ Console(ChewyEngine *vm);
+ virtual ~Console(void);
+
+private:
+ ChewyEngine *_vm;
+
+ bool Cmd_Dump(int argc, const char **argv);
+};
+
+} // End of namespace Drascula
+#endif