2003-11-09 20:50:03 +00:00
|
|
|
/* ScummVM - Scumm Interpreter
|
2006-01-18 17:39:49 +00:00
|
|
|
* Copyright (C) 2003-2006 The ScummVM project
|
2003-11-09 20:50:03 +00:00
|
|
|
*
|
|
|
|
* 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
|
2005-10-18 01:30:26 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2003-11-09 20:50:03 +00:00
|
|
|
*
|
|
|
|
* $Header$
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QUEENDEBUG_H
|
|
|
|
#define QUEENDEBUG_H
|
|
|
|
|
2003-12-26 12:58:27 +00:00
|
|
|
#include "common/debugger.h"
|
2003-11-09 20:50:03 +00:00
|
|
|
|
|
|
|
namespace Queen {
|
|
|
|
|
2003-12-11 22:16:35 +00:00
|
|
|
class QueenEngine;
|
2003-11-09 20:50:03 +00:00
|
|
|
|
2003-12-26 12:58:27 +00:00
|
|
|
class Debugger : public Common::Debugger<Debugger> {
|
2003-11-09 20:50:03 +00:00
|
|
|
public:
|
|
|
|
|
2003-12-26 12:58:27 +00:00
|
|
|
Debugger(QueenEngine *vm);
|
2005-06-21 22:08:21 +00:00
|
|
|
virtual ~Debugger(); // we need this here for __SYMBIAN32__ archaic gcc/UIQ
|
2003-11-09 20:50:03 +00:00
|
|
|
|
2005-05-09 18:25:28 +00:00
|
|
|
int flags() const { return _flags; }
|
2005-07-30 21:11:48 +00:00
|
|
|
|
2005-05-09 18:25:28 +00:00
|
|
|
enum {
|
|
|
|
DF_DRAW_AREAS = 1 << 0
|
|
|
|
};
|
2003-11-09 20:50:03 +00:00
|
|
|
|
2003-12-26 12:58:27 +00:00
|
|
|
protected:
|
2003-11-09 20:50:03 +00:00
|
|
|
|
2003-12-26 12:58:27 +00:00
|
|
|
virtual void preEnter();
|
|
|
|
virtual void postEnter();
|
2003-11-09 20:50:03 +00:00
|
|
|
|
2003-12-26 12:58:27 +00:00
|
|
|
bool Cmd_Exit(int argc, const char **argv);
|
|
|
|
bool Cmd_Help(int argc, const char **argv);
|
|
|
|
bool Cmd_Areas(int argc, const char **argv);
|
|
|
|
bool Cmd_Asm(int argc, const char **argv);
|
2004-01-02 14:17:25 +00:00
|
|
|
bool Cmd_Bob(int argc, const char **argv);
|
2003-12-26 12:58:27 +00:00
|
|
|
bool Cmd_GameState(int argc, const char **argv);
|
|
|
|
bool Cmd_Info(int argc, const char **argv);
|
|
|
|
bool Cmd_Items(int argc, const char **argv);
|
2004-01-02 14:17:25 +00:00
|
|
|
bool Cmd_PrintBobs(int argc, const char **argv);
|
2003-12-26 12:58:27 +00:00
|
|
|
bool Cmd_Room(int argc, const char **argv);
|
2003-12-28 01:17:29 +00:00
|
|
|
bool Cmd_Song(int argc, const char **argv);
|
2005-07-30 21:11:48 +00:00
|
|
|
|
2003-11-09 20:50:03 +00:00
|
|
|
private:
|
|
|
|
|
2003-12-11 22:16:35 +00:00
|
|
|
QueenEngine *_vm;
|
2005-05-09 18:25:28 +00:00
|
|
|
int _flags;
|
2003-11-09 20:50:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // End of namespace Queen
|
|
|
|
|
|
|
|
#endif
|