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.
|
2004-01-27 16:28:39 +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.
|
2004-01-27 16:28:39 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2006-09-29 08:14:27 +00:00
|
|
|
#ifndef AGOS_DEBUGGER_H
|
|
|
|
#define AGOS_DEBUGGER_H
|
2004-01-27 16:28:39 +00:00
|
|
|
|
2006-09-16 16:58:27 +00:00
|
|
|
#include "gui/debugger.h"
|
2004-01-27 16:28:39 +00:00
|
|
|
|
2006-09-29 09:44:30 +00:00
|
|
|
namespace AGOS {
|
2004-01-27 16:28:39 +00:00
|
|
|
|
2006-09-29 09:44:30 +00:00
|
|
|
class AGOSEngine;
|
2004-01-27 16:28:39 +00:00
|
|
|
|
2006-09-16 16:58:27 +00:00
|
|
|
class Debugger : public GUI::Debugger {
|
2004-01-27 16:28:39 +00:00
|
|
|
public:
|
2006-09-29 09:44:30 +00:00
|
|
|
Debugger(AGOSEngine *vm);
|
2005-06-21 22:08:21 +00:00
|
|
|
virtual ~Debugger() {} // we need this for __SYMBIAN32__ archaic gcc/UIQ
|
2004-01-27 16:28:39 +00:00
|
|
|
|
2010-12-07 18:54:21 +00:00
|
|
|
private:
|
2006-09-29 09:44:30 +00:00
|
|
|
AGOSEngine *_vm;
|
2004-01-27 16:28:39 +00:00
|
|
|
|
2004-01-28 02:42:23 +00:00
|
|
|
bool Cmd_DebugLevel(int argc, const char **argv);
|
2004-01-27 17:13:43 +00:00
|
|
|
bool Cmd_PlayMusic(int argc, const char **argv);
|
2004-01-28 02:27:09 +00:00
|
|
|
bool Cmd_PlaySound(int argc, const char **argv);
|
|
|
|
bool Cmd_PlayVoice(int argc, const char **argv);
|
|
|
|
bool Cmd_SetBit(int argc, const char **argv);
|
2009-05-01 14:31:59 +00:00
|
|
|
bool Cmd_SetBit2(int argc, const char **argv);
|
|
|
|
bool Cmd_SetBit3(int argc, const char **argv);
|
2004-01-28 02:27:09 +00:00
|
|
|
bool Cmd_SetVar(int argc, const char **argv);
|
2006-11-09 10:41:29 +00:00
|
|
|
bool Cmd_SetObjectFlag(int argc, const char **argv);
|
2004-01-28 02:27:09 +00:00
|
|
|
bool Cmd_StartSubroutine(int argc, const char **argv);
|
2009-05-14 07:05:51 +00:00
|
|
|
bool Cmd_dumpImage(int argc, const char **argv);
|
|
|
|
bool Cmd_dumpScript(int argc, const char **argv);
|
2004-01-27 16:28:39 +00:00
|
|
|
};
|
|
|
|
|
2006-09-29 09:44:30 +00:00
|
|
|
} // End of namespace AGOS
|
2004-01-27 16:28:39 +00:00
|
|
|
|
|
|
|
#endif
|