ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

engines/stark/console.h

Go to the documentation of this file.
00001 /* ResidualVM - A 3D game interpreter
00002  *
00003  * ResidualVM is the legal property of its developers, whose names
00004  * are too numerous to list here. Please refer to the AUTHORS
00005  * file distributed with this source distribution.
00006  *
00007  * This program is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU General Public License
00009  * as published by the Free Software Foundation; either version 2
00010  * of the License, or (at your option) any later version.
00011  *
00012  * This program is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  * GNU General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU General Public License
00018  * along with this program; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00020  *
00021  */
00022 
00023 #ifndef CONSOLE_H_
00024 #define CONSOLE_H_
00025 
00026 #include "gui/debugger.h"
00027 
00028 namespace Stark {
00029 
00030 namespace Resources {
00031 class Anim;
00032 class Object;
00033 class Script;
00034 }
00035 
00036 class Console : public GUI::Debugger {
00037 public:
00038     Console();
00039     virtual ~Console();
00040 
00041 private:
00042     bool Cmd_DumpArchive(int argc, const char **argv);
00043     bool Cmd_DumpRoot(int argc, const char **argv);
00044     bool Cmd_DumpStatic(int argc, const char **argv);
00045     bool Cmd_DumpGlobal(int argc, const char **argv);
00046     bool Cmd_DumpKnowledge(int argc, const char **argv);
00047     bool Cmd_DumpLevel(int argc, const char **argv);
00048     bool Cmd_DumpLocation(int argc, const char **argv);
00049     bool Cmd_ForceScript(int argc, const char **argv);
00050     bool Cmd_DecompileScript(int argc, const char **argv);
00051     bool Cmd_TestDecompiler(int argc, const char** argv);
00052     bool Cmd_ListInventoryItems(int argc, const char **argv);
00053     bool Cmd_EnableInventoryItem(int argc, const char **argv);
00054     bool Cmd_ListLocations(int argc, const char** argv);
00055     bool Cmd_ListScripts(int argc, const char** argv);
00056     bool Cmd_EnableScript(int argc, const char** argv);
00057     bool Cmd_ListAnimations(int argc, const char **argv);
00058     bool Cmd_ForceAnimation(int argc, const char **argv);
00059     bool Cmd_Location(int argc, const char **argv);
00060     bool Cmd_Chapter(int argc, const char **argv);
00061     bool Cmd_ChangeLocation(int argc, const char **argv);
00062     bool Cmd_ChangeChapter(int argc, const char **argv);
00063     bool Cmd_ChangeKnowledge(int argc, const char **argv);
00064 
00065     Common::Array<Resources::Anim *> listAllLocationAnimations() const;
00066 
00067     Common::Array<Resources::Script *> listAllLocationScripts() const;
00068     void decompileScriptChildren(Stark::Resources::Object *level);
00069 
00070     int _testDecompilerTotalScripts;
00071     int _testDecompilerOKScripts;
00072 };
00073 
00074 } // End of namespace Stark
00075 
00076 #endif // CONSOLE_H_


Generated on Sat Feb 16 2019 05:00:48 for ResidualVM by doxygen 1.7.1
curved edge   curved edge