ScummVM API documentation
debugger.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 TSAGE_DEBUGGER_H
23 #define TSAGE_DEBUGGER_H
24 
25 #include "common/scummsys.h"
26 #include "gui/debugger.h"
27 
28 namespace TsAGE {
29 
30 class Debugger : public GUI::Debugger {
31 public:
32  Debugger();
33 
34 protected:
35  bool Cmd_Scene(int argc, const char **argv);
36  bool Cmd_WalkRegions(int argc, const char **argv);
37  bool Cmd_PriorityRegions(int argc, const char **argv);
38  bool Cmd_SceneRegions(int argc, const char **argv);
39  bool Cmd_SetFlag(int argc, const char **argv);
40  bool Cmd_GetFlag(int argc, const char **argv);
41  bool Cmd_ClearFlag(int argc, const char **argv);
42  bool Cmd_Hotspots(int argc, const char **argv);
43  bool Cmd_Sound(int argc, const char **argv);
44  virtual bool Cmd_ListObjects(int argc, const char **argv) = 0;
45  virtual bool Cmd_MoveObject(int argc, const char **argv) = 0;
46  virtual bool Cmd_SetOutpostAlphaDebug(int argc, const char **argv);
47 };
48 
49 class DemoDebugger : public Debugger {
50 protected:
51  bool Cmd_ListObjects(int argc, const char **argv) override;
52  bool Cmd_MoveObject(int argc, const char **argv) override;
53 };
54 
55 #ifdef ENABLE_RINGWORLD
56 class RingworldDebugger : public Debugger {
57 protected:
58  bool Cmd_ListObjects(int argc, const char **argv) override;
59  bool Cmd_MoveObject(int argc, const char **argv) override;
60 };
61 #endif
62 
63 #ifdef ENABLE_BLUEFORCE
64 class BlueForceDebugger : public Debugger {
65 protected:
66  bool Cmd_ListObjects(int argc, const char **argv) override;
67  bool Cmd_MoveObject(int argc, const char **argv) override;
68 };
69 #endif
70 
71 #ifdef ENABLE_RINGWORLD2
72 class Ringworld2Debugger : public Debugger {
73 protected:
74  bool Cmd_ListObjects(int argc, const char **argv) override;
75  bool Cmd_MoveObject(int argc, const char **argv) override;
76  bool Cmd_SetOutpostAlphaDebug(int argc, const char **argv) override;
77 };
78 #endif
79 
80 } // End of namespace TsAGE
81 
82 #endif
Definition: debugger.h:41
Definition: debugger.h:49
Definition: blueforce_dialogs.h:30
Definition: debugger.h:30