From 1fc81a08fa6eab8d29b8e0d443501727b1c6c224 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 9 Dec 2005 14:52:31 +0000 Subject: Commited patch # 1376551 (debug console, text fade, misc). Thanks to vinterstum. svn-id: r19763 --- kyra/debugger.h | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 kyra/debugger.h (limited to 'kyra/debugger.h') diff --git a/kyra/debugger.h b/kyra/debugger.h new file mode 100644 index 0000000000..b764e2a303 --- /dev/null +++ b/kyra/debugger.h @@ -0,0 +1,55 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003-2005 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. + * + * $Header$ + * + */ + +#ifndef KYRA_DEBUGGER_H +#define KYRA_DEBUGGER_H + +#include "common/debugger.h" + +namespace Kyra { + +class KyraEngine; + +class Debugger : public Common::Debugger { +public: + Debugger(KyraEngine *vm); + virtual ~Debugger() {} // we need this for __SYMBIAN32__ archaic gcc/UIQ + +protected: + KyraEngine *_vm; + + 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_listFlags(int argc, const char **argv); + bool cmd_toggleFlag(int argc, const char **argv); + bool cmd_queryFlag(int argc, const char **argv); + bool cmd_listTimers(int argc, const char **argv); + bool cmd_setTimerCountdown(int argc, const char **argv); +}; + +} // End of namespace Kyra + +#endif -- cgit v1.2.3