2007-05-30 21:56:52 +00:00
|
|
|
/* 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.
|
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
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2006-11-12 17:47:16 +00:00
|
|
|
#ifndef QUEEN_DEBUG_H
|
|
|
|
#define QUEEN_DEBUG_H
|
2003-11-09 20:50:03 +00:00
|
|
|
|
2006-09-16 16:58:27 +00:00
|
|
|
#include "gui/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
|
|
|
|
2006-09-16 16:58:27 +00:00
|
|
|
class Debugger : public GUI::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
|
|
|
|
2010-12-07 18:54:21 +00:00
|
|
|
private:
|
2003-12-26 12:58:27 +00:00
|
|
|
virtual void preEnter();
|
|
|
|
virtual void postEnter();
|
2003-11-09 20:50:03 +00:00
|
|
|
|
2010-12-07 18:54:21 +00:00
|
|
|
private:
|
2003-12-26 12:58:27 +00:00
|
|
|
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
|