2009-06-21 12:09:44 +00:00
|
|
|
/* ScummVM - Graphic Adventure Engine
|
|
|
|
*
|
|
|
|
* ScummVM is the legal property of its developers, whose names
|
|
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
|
|
* file distributed with this source distribution.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
* $URL$
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2009-09-21 19:11:49 +00:00
|
|
|
// Console module header file
|
2009-06-21 12:09:44 +00:00
|
|
|
|
|
|
|
#ifndef ASYLUM_CONSOLE_H
|
|
|
|
#define ASYLUM_CONSOLE_H
|
|
|
|
|
|
|
|
#include "gui/debugger.h"
|
|
|
|
|
|
|
|
namespace Asylum {
|
|
|
|
|
|
|
|
class AsylumEngine;
|
2009-08-13 13:57:52 +00:00
|
|
|
struct ActionArea;
|
2009-06-21 12:09:44 +00:00
|
|
|
|
|
|
|
class Console : public GUI::Debugger {
|
|
|
|
public:
|
|
|
|
Console(AsylumEngine *vm);
|
|
|
|
virtual ~Console(void);
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool cmdPlayVideo(int argc, const char **argv);
|
2009-07-07 13:59:11 +00:00
|
|
|
bool cmdRunScript(int argc, const char **argv);
|
|
|
|
bool cmdChangeScene(int argc, const char **argv);
|
2009-08-10 11:53:45 +00:00
|
|
|
bool cmdShowFlags(int argc, const char **argv);
|
2009-08-13 10:32:23 +00:00
|
|
|
bool cmdToggleFlag(int argc, const char **argv);
|
2009-08-13 13:57:52 +00:00
|
|
|
bool cmdDumpActionArea(int argc, const char **argv);
|
|
|
|
|
|
|
|
void printActionAreaStats(ActionArea *a);
|
2009-06-21 12:09:44 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
AsylumEngine *_vm;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // End of namespace Asylum
|
|
|
|
|
|
|
|
#endif
|