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 ULTIMA3_CONSOLE_H
23#define ULTIMA3_CONSOLE_H
24
25#include "common/array.h"
26#include "common/rect.h"
27#include "gui/debugger.h"
28
29namespace Ultima {
30namespace Ultima3 {
31
32class Console : public GUI::Debugger {
33private:
39 bool getTargets(int argc, const char **argv, int index, int &first, int &last);
40
44 void ensureGame();
45
49 void restartGame();
50
51 bool cmdMap(int argc, const char **argv);
52 bool cmdTiles(int argc, const char **argv);
53 bool cmdTeleport(int argc, const char **argv);
54 bool cmdLocations(int argc, const char **argv);
55 bool cmdIntangible(int argc, const char **argv);
56 bool cmdEnemy(int argc, const char **argv);
57 bool cmdHP(int argc, const char **argv);
58 bool cmdFood(int argc, const char **argv);
59 bool cmdMP(int argc, const char **argv);
60 bool cmdLevel(int argc, const char **argv);
61 bool cmdTransport(int argc, const char **argv);
62 bool cmdEnemies(int argc, const char **argv);
63 bool cmdWin(int argc, const char **argv);
64 bool cmdGold(int argc, const char **argv);
65 bool cmdInventory(int argc, const char **argv);
66 bool cmdLoad(int argc, const char **argv);
67 bool cmdSave(int argc, const char **argv);
68 bool cmdExodus(int argc, const char **argv);
69 bool cmdMoon(int argc, const char **argv);
70 bool cmdMusic(int argc, const char **argv);
71
72public:
73 Console();
74 ~Console() override;
75};
76
77} // namespace Ultima3
78} // namespace Ultima
79
80#endif
Definition: debugger.h:41
Definition: console.h:32