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 "common/debug.h"
26 
27 #include "gui/debugger.h"
28 
29 #include "engines/myst3/myst3.h"
30 
31 namespace Myst3 {
32 
33 class Myst3Engine;
34 struct Opcode;
35 
36 class Console : public GUI::Debugger {
37 public:
38  Console(Myst3Engine *vm);
39  virtual ~Console();
40 
41 private:
42  Myst3Engine *_vm;
43 
44  void describeScript(const Common::Array<Opcode> &script);
45  bool dumpFaceMask(uint16 index, int face, Archive::ResourceType type);
46 
47  bool Cmd_Infos(int argc, const char **argv);
48  bool Cmd_LookAt(int argc, const char **argv);
49  bool Cmd_InitScript(int argc, const char **argv);
50  bool Cmd_Var(int argc, const char **argv);
51  bool Cmd_ListNodes(int argc, const char **argv);
52  bool Cmd_Run(int argc, const char **argv);
53  bool Cmd_RunOp(int argc, const char **argv);
54  bool Cmd_Go(int argc, const char **argv);
55  bool Cmd_Extract(int argc, const char **argv);
56  bool Cmd_DumpArchive(int argc, const char **argv);
57  bool Cmd_DumpMasks(int argc, const char **argv);
58  bool Cmd_FillInventory(int argc, const char **argv);
59 };
60 
61 } // End of namespace Myst3
62 
63 #endif // CONSOLE_H_
Definition: array.h:52
Definition: ambient.h:27
Definition: debugger.h:41
Definition: console.h:36
Definition: myst3.h:87