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 CONSOLE_H_
23 #define CONSOLE_H_
24 
25 #include "gui/debugger.h"
26 
27 namespace Stark {
28 
29 namespace Resources {
30 class Anim;
31 class Object;
32 class Script;
33 }
34 
35 class ArchiveVisitor;
36 
37 class Console : public GUI::Debugger {
38 public:
39  Console();
40  virtual ~Console();
41 
42 private:
43  bool Cmd_DumpArchive(int argc, const char **argv);
44  bool Cmd_DumpRoot(int argc, const char **argv);
45  bool Cmd_DumpStatic(int argc, const char **argv);
46  bool Cmd_DumpGlobal(int argc, const char **argv);
47  bool Cmd_DumpKnowledge(int argc, const char **argv);
48  bool Cmd_DumpLevel(int argc, const char **argv);
49  bool Cmd_DumpLocation(int argc, const char **argv);
50  bool Cmd_ForceScript(int argc, const char **argv);
51  bool Cmd_DecompileScript(int argc, const char **argv);
52  bool Cmd_TestDecompiler(int argc, const char** argv);
53  bool Cmd_ListInventoryItems(int argc, const char **argv);
54  bool Cmd_EnableInventoryItem(int argc, const char **argv);
55  bool Cmd_ListLocations(int argc, const char** argv);
56  bool Cmd_ListScripts(int argc, const char** argv);
57  bool Cmd_EnableScript(int argc, const char** argv);
58  bool Cmd_ListAnimations(int argc, const char **argv);
59  bool Cmd_ForceAnimation(int argc, const char **argv);
60  bool Cmd_Location(int argc, const char **argv);
61  bool Cmd_Chapter(int argc, const char **argv);
62  bool Cmd_ChangeLocation(int argc, const char **argv);
63  bool Cmd_ChangeChapter(int argc, const char **argv);
64  bool Cmd_ChangeKnowledge(int argc, const char **argv);
65  bool Cmd_ExtractAllTextures(int argc, const char **argv);
66 
67  Common::Array<Resources::Anim *> listAllLocationAnimations() const;
68  Common::Array<Resources::Script *> listAllLocationScripts() const;
69 
70  void walkAllArchives(ArchiveVisitor *visitor);
71 };
72 
73 } // End of namespace Stark
74 
75 #endif // CONSOLE_H_
Definition: array.h:52
Definition: debugger.h:41
Definition: console.h:27
Definition: console.h:37