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 * Based on the original sources
21 * https://github.com/Croquetx/thecolony
22 * Copyright (C) 1988, David A. Smith
23 *
24 * Distributed under Apache Version 2.0 License
25 *
26 */
27
28#ifndef COLONY_CONSOLE_H
29#define COLONY_CONSOLE_H
30
31#include "gui/debugger.h"
32
33namespace Colony {
34
35class ColonyEngine;
36
37class Debugger : public GUI::Debugger {
38public:
40
41private:
42 ColonyEngine *_vm = nullptr;
43 int _pendingEnding = 0;
44 void postEnter() override;
45 bool cmdTeleport(int argc, const char **argv);
46 bool cmdTeleporter(int argc, const char **argv);
47 bool cmdTeleporters(int argc, const char **argv);
48 bool cmdPos(int argc, const char **argv);
49 bool cmdInfo(int argc, const char **argv);
50 bool cmdGoals(int argc, const char **argv);
51 bool cmdWin(int argc, const char **argv);
52 bool cmdRobots(int argc, const char **argv);
53 bool cmdEradicate(int argc, const char **argv);
54 bool cmdMap(int argc, const char **argv);
55 bool cmdGive(int argc, const char **argv);
56 bool cmdPower(int argc, const char **argv);
57 bool cmdCore(int argc, const char **argv);
58 bool cmdBattle(int argc, const char **argv);
59 bool cmdColony(int argc, const char **argv);
60 bool cmdForklift(int argc, const char **argv);
61 bool cmdSpawn(int argc, const char **argv);
62 bool getTeleporterLocation(int number, int &level, int &x, int &y) const;
63};
64
65}
66
67#endif
Definition: colony.h:474
Definition: console.h:37
Definition: debugger.h:41