scummvm/engines/prince/debugger.h

57 lines
1.6 KiB
C
Raw Normal View History

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.
*
* 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
* 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;
class InterpreterFlags;
2013-10-22 01:05:24 +01:00
class Debugger : public GUI::Debugger {
public:
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-10-22 01:05:24 +01:00
private:
2013-11-04 11:28:10 +00:00
bool Cmd_DebugLevel(int argc, const char **argv);
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);
bool Cmd_AddItem(int argc, const char **argv);
PrinceEngine *_vm;
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