diff options
author | Eugene Sandulenko | 2010-06-15 10:18:34 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-15 10:18:34 +0000 |
commit | 2ccb5bb0251d801ef8b2fc15accbf7d421990afa (patch) | |
tree | 58ca75fca0b7e8f51fc350f6dae293cc64823537 /engines/drascula/console.h | |
parent | f992721361d182223f1f551fe8bbfd030a27bd1f (diff) | |
download | scummvm-rg350-2ccb5bb0251d801ef8b2fc15accbf7d421990afa.tar.gz scummvm-rg350-2ccb5bb0251d801ef8b2fc15accbf7d421990afa.tar.bz2 scummvm-rg350-2ccb5bb0251d801ef8b2fc15accbf7d421990afa.zip |
Drascula: Added debug console. Implemented a (buggy) room comand.
svn-id: r49703
Diffstat (limited to 'engines/drascula/console.h')
-rwxr-xr-x | engines/drascula/console.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/engines/drascula/console.h b/engines/drascula/console.h new file mode 100755 index 0000000000..33e2f626e4 --- /dev/null +++ b/engines/drascula/console.h @@ -0,0 +1,51 @@ +/* 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. + * + * $URL$ + * $Id$ + * + */ + +#ifndef DRASCULA_CONSOLE_H +#define DRASCULA_CONSOLE_H + +#include "gui/debugger.h" + +namespace Drascula { + +class DrasculaEngine; + +class Console : public GUI::Debugger { +public: + Console(DrasculaEngine *vm); + virtual ~Console(void); + +protected: + virtual void preEnter(); + virtual void postEnter(); + +private: + DrasculaEngine *_vm; + + bool Cmd_Room(int argc, const char **argv); +}; + +} // End of namespace Drascula +#endif |