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 NANCY_CONSOLE_H
23#define NANCY_CONSOLE_H
24
25#include "gui/debugger.h"
26
27namespace Nancy {
28
29namespace Action {
30class ActionRecord;
31struct DependencyRecord;
32}
33
34class NancyEngine;
35
37public:
39 virtual ~NancyConsole(void);
40
41 void postEnter() override;
42
43private:
44 bool Cmd_loadCal(int argc, const char **argv);
45 bool Cmd_cifExport(int argc, const char **argv);
46 bool Cmd_ciftreeExport(int argc, const char **argv);
47 bool Cmd_cifList(int argc, const char **argv);
48 bool Cmd_cifInfo(int argc, const char **argv);
49 bool Cmd_chunkExport(int argc, const char **argv);
50 bool Cmd_chunkHexDump(int argc, const char **argv);
51 bool Cmd_chunkList(int argc, const char **argv);
52 bool Cmd_showImage(int argc, const char **argv);
53 bool Cmd_exportImage(int argc, const char **argv);
54 bool Cmd_playVideo(int argc, const char **argv);
55 bool Cmd_playSound(int argc, const char **argv);
56 bool Cmd_loadScene(int argc, const char **argv);
57 bool Cmd_sceneID(int argc, const char **argv);
58 bool Cmd_listActionRecords(int argc, const char **argv);
59#ifdef ENABLE_NANCY_V4
60 bool Cmd_listRecords(int argc, const char **argv);
61 bool Cmd_scriptExport(int argc, const char **argv);
62#endif
63 bool Cmd_actionRecordExport(int argc, const char **argv);
64 bool Cmd_scanForActionRecordType(int argc, const char **argv);
65 bool Cmd_listIncludes(int argc, const char **argv);
66 bool Cmd_findInclude(int argc, const char **argv);
67 bool Cmd_getEventFlags(int argc, const char **argv);
68 bool Cmd_setEventFlags(int argc, const char **argv);
69 bool Cmd_getInventory(int argc, const char **argv);
70 bool Cmd_setInventory(int argc, const char **argv);
71 bool Cmd_getMoney(int argc, const char **argv);
72 bool Cmd_setMoney(int argc, const char **argv);
73 bool Cmd_getPlayerTime(int argc, const char **argv);
74 bool Cmd_setPlayerTime(int argc, const char **argv);
75 bool Cmd_getDifficulty(int argc, const char **argv);
76 bool Cmd_setDifficulty(int argc, const char **argv);
77 bool Cmd_soundInfo(int argc, const char **argv);
78 bool Cmd_showHotspots(int argc, const char **argv);
79
80 void printInventoryItem(uint itemID);
81
82 void printActionRecord(const Action::ActionRecord *record, bool noDependencies = false);
83 void recursePrintDependencies(const Action::DependencyRecord &record);
84
85 Common::Path _videoFile;
86 Common::Path _imageFile;
87 Common::Path _paletteFile;
88};
89
90} // End of namespace Nancy
91
92#endif // NANCY_CONSOLE_H
Definition: path.h:52
Definition: debugger.h:41
Definition: actionrecord.h:107
Definition: console.h:36
void postEnter() override
Definition: actionmanager.h:32
Definition: actionrecord.h:79