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 // Console module header file
23 
24 #ifndef ASYLUM_CONSOLE_H
25 #define ASYLUM_CONSOLE_H
26 
27 #include "gui/debugger.h"
28 
29 #include "views/insertdisc.h"
30 #include "views/resviewer.h"
31 
32 namespace Asylum {
33 
34 class AsylumEngine;
35 
36 struct ActionArea;
37 
38 class Console : public GUI::Debugger {
39 public:
40  Console(AsylumEngine *vm);
41  virtual ~Console(void);
42 
43 private:
44  AsylumEngine *_vm;
45  InsertDisc _insertDisc;
46  ResourceViewer _resViewer;
47 
48  bool cmdHelp(int argc, const char **argv);
49 
50  bool cmdListFiles(int argc, const char **argv);
51 
52  bool cmdListActions(int argc, const char **argv);
53  bool cmdListActors(int argc, const char **argv);
54  bool cmdListFlags(int argc, const char **argv);
55  bool cmdShowObject(int argc, const char **argv);
56  bool cmdShowAction(int argc, const char **argv);
57  bool cmdListObjects(int argc, const char **argv);
58  bool cmdShowWorldStats(int argc, const char **argv);
59 
60  bool cmdPlayVideo(int argc, const char **argv);
61  bool cmdShowScript(int argc, const char **argv);
62  bool cmdRunScript(int argc, const char **argv);
63  bool cmdKillScript(int argc, const char **argv);
64  bool cmdInsertDisc(int argc, const char **argv);
65  bool cmdChangeScene(int argc, const char **argv);
66  bool cmdRunPuzzle(int argc, const char **argv);
67 
68  bool cmdGetStatus(int argc, const char **argv);
69  bool cmdSetStatus(int argc, const char **argv);
70 
71  bool cmdRunEncounter(int argc, const char **argv);
72  bool cmdShowEncounter(int argc, const char **argv);
73 
74  bool cmdListItems(int argc, const char **argv);
75  bool cmdAddToInventory(int argc, const char **argv);
76  bool cmdRemoveFromInventory(int argc, const char **argv);
77 
78  bool cmdSetPalette(int argc, const char **argv);
79  bool cmdViewResource(int argc, const char **argv);
80  bool cmdDrawActionArea(int argc, const char **argv);
81 
82  bool cmdToggleFlag(int argc, const char **argv);
83 };
84 
85 } // End of namespace Asylum
86 
87 #endif // ASYLUM_CONSOLE_H
Definition: asylum.h:53
Definition: debugger.h:41
Definition: insertdisc.h:31
Definition: asylum.h:73
Definition: console.h:38
Definition: resviewer.h:38