ScummVM API documentation
console.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 MM_MM1_CONSOLE_H
23#define MM_MM1_CONSOLE_H
24
25#include "gui/debugger.h"
26#include "mm/mm1/game/spell_casting.h"
27
28namespace MM {
29namespace MM1 {
30
31class UIElement;
32
34private:
35 bool _pendingSoundTest = false;
36 UIElement *_soundTestRunner = nullptr;
37
38protected:
39 void postEnter() override;
40
44 bool cmdDumpMap(int argc, const char **argv);
45
49 bool cmdDumpMonsters(int argc, const char **argv);
50
54 bool cmdDumpItems(int argc, const char **argv);
55
59 bool cmdMapString(int argc, const char **argv);
60
64 bool cmdIntangible(int argc, const char **argv);
65
69 bool cmdMap(int argc, const char **argv);
70
74 bool cmdPos(int argc, const char **argv);
75
79 bool cmdCast(int argc, const char **argv);
80
84 bool cmdSpellsAll(int argc, const char **argv);
85
89 bool cmdEncounter(int argc, const char **argv);
90
94 bool cmdEncounters(int argc, const char **argv);
95
99 bool cmdSpecials(int argc, const char **argv);
100
104 bool cmdSpecial(int argc, const char **argv);
105
109 bool cmdView(int argc, const char **argv);
110
114 bool cmdDumpRoster(int argc, const char **argv);
115
119 bool cmdSoundTest(int argc, const char **argv);
120
121public:
122 Console();
123 ~Console() override;
124};
125
126} // namespace MM1
127} // namespace MM
128
129#endif
Definition: debugger.h:41
Definition: console.h:33
bool cmdMap(int argc, const char **argv)
bool cmdSpellsAll(int argc, const char **argv)
bool cmdSpecial(int argc, const char **argv)
bool cmdDumpMonsters(int argc, const char **argv)
void postEnter() override
bool cmdEncounter(int argc, const char **argv)
bool cmdPos(int argc, const char **argv)
bool cmdDumpRoster(int argc, const char **argv)
bool cmdCast(int argc, const char **argv)
bool cmdIntangible(int argc, const char **argv)
bool cmdDumpMap(int argc, const char **argv)
bool cmdDumpItems(int argc, const char **argv)
bool cmdMapString(int argc, const char **argv)
bool cmdEncounters(int argc, const char **argv)
bool cmdSpecials(int argc, const char **argv)
bool cmdSoundTest(int argc, const char **argv)
bool cmdView(int argc, const char **argv)
Definition: spell_casting.h:40
Definition: events.h:68
Definition: detection.h:27