ScummVM API documentation
debug.h
1/* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the COPYRIGHT
5 * file distributed with this source distribution.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef GROOVIE_DEBUG_H
23#define GROOVIE_DEBUG_H
24
25#include "gui/debugger.h"
26
27namespace Groovie {
28
29class GroovieEngine;
30class Script;
31
32class Debugger : public GUI::Debugger {
33public:
35 ~Debugger() override;
36
37private:
38 GroovieEngine *_vm;
39 Script *_script;
40
41 int getNumber(const char *arg);
42
43 bool cmd_step(int argc, const char **argv);
44 bool cmd_go(int argc, const char **argv);
45 bool cmd_pc(int argc, const char **argv);
46 bool cmd_bg(int argc, const char **argv);
47 bool cmd_fg(int argc, const char **argv);
48 bool cmd_mem(int argc, const char **argv);
49 bool cmd_loadgame(int argc, const char **argv);
50 bool cmd_savegame(int argc, const char **argv);
51 bool cmd_playref(int argc, const char **argv);
52 bool cmd_dumppal(int argc, const char **argv);
53 bool cmd_dumpfile(int argc, const char **argv);
54};
55
56} // End of Groovie namespace
57
58#endif // GROOVIE_DEBUG_H
Definition: debugger.h:41
Definition: debug.h:32
Definition: groovie.h:116
Definition: script.h:55
Definition: cursor.h:32