aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/debugger.h
diff options
context:
space:
mode:
authorPaul Gilbert2006-07-08 08:23:41 +0000
committerPaul Gilbert2006-07-08 08:23:41 +0000
commit163a8cb72cf9cccd5883c7ea9ad0c95f2670507b (patch)
treeb2aa81bc0a90637a9042c709447a4e1b99419016 /engines/lure/debugger.h
parent5951f266db5f89de238da0d9e547bc3bf71fa232 (diff)
downloadscummvm-rg350-163a8cb72cf9cccd5883c7ea9ad0c95f2670507b.tar.gz
scummvm-rg350-163a8cb72cf9cccd5883c7ea9ad0c95f2670507b.tar.bz2
scummvm-rg350-163a8cb72cf9cccd5883c7ea9ad0c95f2670507b.zip
Initial commit of ScummVM-based debugging functionality
svn-id: r23403
Diffstat (limited to 'engines/lure/debugger.h')
-rw-r--r--engines/lure/debugger.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/engines/lure/debugger.h b/engines/lure/debugger.h
new file mode 100644
index 0000000000..df814db6ee
--- /dev/null
+++ b/engines/lure/debugger.h
@@ -0,0 +1,57 @@
+/* ScummVM - Scumm Interpreter
+ * Copyright (C) 2005-2006 The ScummVM project
+ *
+ * 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.
+ *
+ * $URL$
+ * $Id$
+ *
+ */
+
+#ifndef LURE_DEBUGGER_H
+#define LURE_DEBUGGER_H
+
+#include "common/debugger.h"
+
+namespace Lure {
+
+class KyraEngine;
+
+class Debugger : public Common::Debugger<Debugger> {
+private:
+ int strToInt(const char *s);
+public:
+ Debugger();
+ virtual ~Debugger() {} // we need this for __SYMBIAN32__ archaic gcc/UIQ
+
+protected:
+ virtual void preEnter();
+ virtual void postEnter();
+
+ bool cmd_exit(int argc, const char **argv);
+ bool cmd_help(int argc, const char **argv);
+ bool cmd_enterRoom(int argc, const char **argv);
+ bool cmd_listRooms(int argc, const char **argv);
+ bool cmd_listFields(int argc, const char **argv);
+ bool cmd_setField(int argc, const char **argv);
+ bool cmd_queryField(int argc, const char **argv);
+ bool cmd_giveItem(int argc, const char **argv);
+ bool cmd_hotspots(int argc, const char **argv);
+ bool cmd_hotspot(int argc, const char **argv);
+};
+
+} // End of namespace Lure
+
+#endif