2012-10-06 16:26:16 +02: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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NANCY_CONSOLE_H
|
|
|
|
#define NANCY_CONSOLE_H
|
|
|
|
|
|
|
|
#include "gui/debugger.h"
|
|
|
|
|
2021-02-19 02:17:41 +02:00
|
|
|
#include "common/str.h"
|
|
|
|
|
2012-10-06 16:26:16 +02:00
|
|
|
namespace Nancy {
|
|
|
|
|
|
|
|
class NancyEngine;
|
|
|
|
|
|
|
|
class NancyConsole : public GUI::Debugger {
|
|
|
|
public:
|
|
|
|
NancyConsole(NancyEngine *vm);
|
|
|
|
virtual ~NancyConsole(void);
|
|
|
|
|
2012-10-11 21:24:50 +02:00
|
|
|
void postEnter();
|
|
|
|
|
2012-10-06 16:26:16 +02:00
|
|
|
private:
|
|
|
|
NancyEngine *_vm;
|
2012-10-13 13:39:08 +02:00
|
|
|
bool Cmd_loadCal(int argc, const char **argv);
|
|
|
|
bool Cmd_cifHexDump(int argc, const char **argv);
|
|
|
|
bool Cmd_cifExport(int argc, const char **argv);
|
|
|
|
bool Cmd_cifList(int argc, const char **argv);
|
|
|
|
bool Cmd_cifInfo(int argc, const char **argv);
|
2012-10-22 16:21:59 +02:00
|
|
|
bool Cmd_chunkHexDump(int argc, const char **argv);
|
2012-10-22 18:15:59 +02:00
|
|
|
bool Cmd_chunkList(int argc, const char **argv);
|
2012-10-13 13:39:08 +02:00
|
|
|
bool Cmd_showImage(int argc, const char **argv);
|
2012-10-11 21:24:50 +02:00
|
|
|
bool Cmd_playVideo(int argc, const char **argv);
|
2012-10-13 10:09:56 +02:00
|
|
|
bool Cmd_playAudio(int argc, const char **argv);
|
2021-01-23 19:31:39 +02:00
|
|
|
bool Cmd_loadScene(int argc, const char **argv);
|
|
|
|
bool Cmd_sceneID(int argc, const char **argv);
|
2012-10-11 21:24:50 +02:00
|
|
|
|
|
|
|
Common::String _videoFile;
|
2012-10-06 16:26:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
} // End of namespace Nancy
|
|
|
|
|
2021-02-19 02:17:41 +02:00
|
|
|
#endif // NANCY_CONSOLE_H
|