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 QUEEN_DEBUG_H
23 #define QUEEN_DEBUG_H
24 
25 #include "gui/debugger.h"
26 
27 namespace Queen {
28 
29 class QueenEngine;
30 
31 class Debugger : public GUI::Debugger {
32 public:
33  Debugger(QueenEngine *vm);
34 
35  int flags() const { return _flags; }
36 
37  enum {
38  DF_DRAW_AREAS = 1 << 0
39  };
40 
41 private:
42  void preEnter() override;
43  void postEnter() override;
44 
45 private:
46  bool Cmd_Areas(int argc, const char **argv);
47  bool Cmd_Asm(int argc, const char **argv);
48  bool Cmd_Bob(int argc, const char **argv);
49  bool Cmd_GameState(int argc, const char **argv);
50  bool Cmd_Info(int argc, const char **argv);
51  bool Cmd_Items(int argc, const char **argv);
52  bool Cmd_PrintBobs(int argc, const char **argv);
53  bool Cmd_Room(int argc, const char **argv);
54  bool Cmd_Song(int argc, const char **argv);
55 
56 private:
57  QueenEngine *_vm;
58  int _flags;
59 };
60 
61 } // End of namespace Queen
62 
63 #endif
Definition: debug.h:31
Definition: queen.h:62
Definition: debugger.h:41
Definition: bankman.h:28