diff options
author | Johannes Schickel | 2005-12-09 14:52:31 +0000 |
---|---|---|
committer | Johannes Schickel | 2005-12-09 14:52:31 +0000 |
commit | 1fc81a08fa6eab8d29b8e0d443501727b1c6c224 (patch) | |
tree | 1b6a29fd64f5b61fb2af1f0f55d4169462d9a615 /kyra/debugger.h | |
parent | 4f1c89591eb4abde1f535e7edde0839da16749f5 (diff) | |
download | scummvm-rg350-1fc81a08fa6eab8d29b8e0d443501727b1c6c224.tar.gz scummvm-rg350-1fc81a08fa6eab8d29b8e0d443501727b1c6c224.tar.bz2 scummvm-rg350-1fc81a08fa6eab8d29b8e0d443501727b1c6c224.zip |
Commited patch # 1376551 (debug console, text fade, misc). Thanks to vinterstum.
svn-id: r19763
Diffstat (limited to 'kyra/debugger.h')
-rw-r--r-- | kyra/debugger.h | 55 |
1 files changed, 55 insertions, 0 deletions
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<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 |