2009-12-29 23:18:24 +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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MOHAWK_CONSOLE_H
|
|
|
|
#define MOHAWK_CONSOLE_H
|
|
|
|
|
|
|
|
#include "gui/debugger.h"
|
|
|
|
|
|
|
|
namespace Mohawk {
|
|
|
|
|
|
|
|
class MohawkEngine_LivingBooks;
|
|
|
|
|
2011-03-28 19:20:30 +00:00
|
|
|
#ifdef ENABLE_MYST
|
2011-03-28 19:31:14 +00:00
|
|
|
|
2011-03-28 19:20:30 +00:00
|
|
|
class MohawkEngine_Myst;
|
|
|
|
|
2009-12-29 23:18:24 +00:00
|
|
|
class MystConsole : public GUI::Debugger {
|
|
|
|
public:
|
|
|
|
MystConsole(MohawkEngine_Myst *vm);
|
|
|
|
virtual ~MystConsole(void);
|
2010-01-25 01:39:44 +00:00
|
|
|
|
2009-12-29 23:18:24 +00:00
|
|
|
private:
|
|
|
|
MohawkEngine_Myst *_vm;
|
2010-01-25 01:39:44 +00:00
|
|
|
|
2009-12-29 23:18:24 +00:00
|
|
|
bool Cmd_ChangeCard(int argc, const char **argv);
|
|
|
|
bool Cmd_CurCard(int argc, const char **argv);
|
|
|
|
bool Cmd_Var(int argc, const char **argv);
|
|
|
|
bool Cmd_DrawImage(int argc, const char **argv);
|
|
|
|
bool Cmd_DrawRect(int argc, const char **argv);
|
|
|
|
bool Cmd_SetResourceEnable(int argc, const char **argv);
|
|
|
|
bool Cmd_CurStack(int argc, const char **argv);
|
|
|
|
bool Cmd_ChangeStack(int argc, const char **argv);
|
|
|
|
bool Cmd_PlaySound(int argc, const char **argv);
|
|
|
|
bool Cmd_StopSound(int argc, const char **argv);
|
|
|
|
bool Cmd_PlayMovie(int argc, const char **argv);
|
|
|
|
bool Cmd_DisableInitOpcodes(int argc, const char **argv);
|
2010-02-17 19:59:08 +00:00
|
|
|
bool Cmd_Cache(int argc, const char **argv);
|
2010-12-16 16:12:38 +00:00
|
|
|
bool Cmd_Resources(int argc, const char **argv);
|
2009-12-29 23:18:24 +00:00
|
|
|
};
|
2011-03-28 19:31:14 +00:00
|
|
|
|
2011-03-28 19:20:30 +00:00
|
|
|
#endif
|
2009-12-29 23:18:24 +00:00
|
|
|
|
2011-03-28 19:43:57 +00:00
|
|
|
#ifdef ENABLE_RIVEN
|
|
|
|
|
|
|
|
class MohawkEngine_Riven;
|
|
|
|
|
2009-12-29 23:18:24 +00:00
|
|
|
class RivenConsole : public GUI::Debugger {
|
|
|
|
public:
|
|
|
|
RivenConsole(MohawkEngine_Riven *vm);
|
|
|
|
virtual ~RivenConsole(void);
|
|
|
|
|
|
|
|
private:
|
|
|
|
MohawkEngine_Riven *_vm;
|
2010-01-25 01:39:44 +00:00
|
|
|
|
2009-12-29 23:18:24 +00:00
|
|
|
bool Cmd_ChangeCard(int argc, const char **argv);
|
|
|
|
bool Cmd_CurCard(int argc, const char **argv);
|
|
|
|
bool Cmd_Var(int argc, const char **argv);
|
|
|
|
bool Cmd_PlaySound(int argc, const char **argv);
|
|
|
|
bool Cmd_PlaySLST(int argc, const char **argv);
|
|
|
|
bool Cmd_StopSound(int argc, const char **argv);
|
|
|
|
bool Cmd_CurStack(int argc, const char **argv);
|
|
|
|
bool Cmd_ChangeStack(int argc, const char **argv);
|
|
|
|
bool Cmd_Hotspots(int argc, const char **argv);
|
|
|
|
bool Cmd_ZipMode(int argc, const char **argv);
|
|
|
|
bool Cmd_RunAllBlocks(int argc, const char **argv);
|
|
|
|
bool Cmd_DumpScript(int argc, const char **argv);
|
|
|
|
bool Cmd_ListZipCards(int argc, const char **argv);
|
|
|
|
bool Cmd_GetRMAP(int argc, const char **argv);
|
2010-06-26 19:09:45 +00:00
|
|
|
bool Cmd_Combos(int argc, const char **argv);
|
2010-08-23 04:14:30 +00:00
|
|
|
bool Cmd_SliderState(int argc, const char **argv);
|
2009-12-29 23:18:24 +00:00
|
|
|
};
|
|
|
|
|
2011-03-28 19:43:57 +00:00
|
|
|
#endif
|
|
|
|
|
2009-12-29 23:18:24 +00:00
|
|
|
class LivingBooksConsole : public GUI::Debugger {
|
|
|
|
public:
|
|
|
|
LivingBooksConsole(MohawkEngine_LivingBooks *vm);
|
|
|
|
virtual ~LivingBooksConsole(void);
|
|
|
|
|
|
|
|
private:
|
|
|
|
MohawkEngine_LivingBooks *_vm;
|
|
|
|
|
|
|
|
bool Cmd_PlaySound(int argc, const char **argv);
|
|
|
|
bool Cmd_StopSound(int argc, const char **argv);
|
|
|
|
bool Cmd_DrawImage(int argc, const char **argv);
|
2010-11-30 21:06:40 +00:00
|
|
|
bool Cmd_ChangePage(int argc, const char **argv);
|
2009-12-29 23:18:24 +00:00
|
|
|
};
|
|
|
|
|
2011-03-28 19:31:14 +00:00
|
|
|
#ifdef ENABLE_CSTIME
|
|
|
|
|
|
|
|
class MohawkEngine_CSTime;
|
|
|
|
|
2011-01-20 21:35:00 +00:00
|
|
|
class CSTimeConsole : public GUI::Debugger {
|
|
|
|
public:
|
|
|
|
CSTimeConsole(MohawkEngine_CSTime *vm);
|
|
|
|
virtual ~CSTimeConsole(void);
|
|
|
|
|
|
|
|
private:
|
|
|
|
MohawkEngine_CSTime *_vm;
|
|
|
|
|
|
|
|
bool Cmd_PlaySound(int argc, const char **argv);
|
|
|
|
bool Cmd_StopSound(int argc, const char **argv);
|
|
|
|
bool Cmd_DrawImage(int argc, const char **argv);
|
|
|
|
bool Cmd_DrawSubimage(int argc, const char **argv);
|
2011-01-22 11:37:37 +00:00
|
|
|
bool Cmd_ChangeCase(int argc, const char **argv);
|
|
|
|
bool Cmd_ChangeScene(int argc, const char **argv);
|
|
|
|
bool Cmd_CaseVariable(int argc, const char **argv);
|
|
|
|
bool Cmd_InvItem(int argc, const char **argv);
|
2011-01-20 21:35:00 +00:00
|
|
|
};
|
|
|
|
|
2011-03-28 19:31:14 +00:00
|
|
|
#endif
|
|
|
|
|
2009-12-29 23:18:24 +00:00
|
|
|
} // End of namespace Mohawk
|
|
|
|
|
|
|
|
#endif
|