2013-10-22 01:05:24 +01: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.
|
|
|
|
*
|
2021-12-26 18:47:58 +01: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 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
2016-09-03 12:46:38 +02:00
|
|
|
*
|
2013-10-22 01:05:24 +01:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2013-10-24 20:31:08 +01:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2013-10-22 01:05:24 +01:00
|
|
|
* GNU General Public License for more details.
|
2016-09-03 12:46:38 +02:00
|
|
|
*
|
2013-10-22 01:05:24 +01:00
|
|
|
* You should have received a copy of the GNU General Public License
|
2021-12-26 18:47:58 +01:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2013-10-22 01:05:24 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PRINCE_DEBUGGER_H
|
|
|
|
#define PRINCE_DEBUGGER_H
|
|
|
|
|
|
|
|
#include "common/scummsys.h"
|
|
|
|
#include "gui/debugger.h"
|
|
|
|
|
|
|
|
namespace Prince {
|
|
|
|
|
|
|
|
class PrinceEngine;
|
2014-07-07 03:12:35 +02:00
|
|
|
class InterpreterFlags;
|
2013-10-22 01:05:24 +01:00
|
|
|
|
|
|
|
class Debugger : public GUI::Debugger {
|
|
|
|
public:
|
2014-07-07 03:12:35 +02:00
|
|
|
Debugger(PrinceEngine *vm, InterpreterFlags *flags);
|
2013-10-22 01:05:24 +01:00
|
|
|
|
2013-11-11 12:00:19 +00:00
|
|
|
uint8 _locationNr;
|
|
|
|
uint8 _cursorNr;
|
2013-11-09 23:07:40 +00:00
|
|
|
|
2013-10-22 01:05:24 +01:00
|
|
|
private:
|
2013-11-04 11:28:10 +00:00
|
|
|
bool Cmd_DebugLevel(int argc, const char **argv);
|
2013-10-28 17:06:12 +00:00
|
|
|
bool Cmd_SetFlag(int argc, const char **argv);
|
|
|
|
bool Cmd_GetFlag(int argc, const char **argv);
|
|
|
|
bool Cmd_ClearFlag(int argc, const char **argv);
|
|
|
|
bool Cmd_ViewFlc(int argc, const char **argv);
|
|
|
|
bool Cmd_InitRoom(int argc, const char **argv);
|
|
|
|
bool Cmd_ChangeCursor(int argc, const char **argv);
|
2014-07-07 03:12:35 +02:00
|
|
|
bool Cmd_AddItem(int argc, const char **argv);
|
2013-10-28 17:06:12 +00:00
|
|
|
|
|
|
|
PrinceEngine *_vm;
|
2014-07-07 03:12:35 +02:00
|
|
|
InterpreterFlags *_flags;
|
2013-10-22 01:05:24 +01:00
|
|
|
};
|
|
|
|
|
2014-08-01 17:38:04 +02:00
|
|
|
} // End of namespace Prince
|
2013-10-22 01:05:24 +01:00
|
|
|
|
|
|
|
#endif
|