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.
|
|
|
|
*
|
2021-12-26 17:47:58 +00:00
|
|
|
* 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 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
2014-02-18 01:34:22 +00:00
|
|
|
*
|
2009-12-29 23:18:24 +00:00
|
|
|
* 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.
|
2014-02-18 01:34:22 +00:00
|
|
|
*
|
2009-12-29 23:18:24 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
2021-12-26 17:47:58 +00:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2009-12-29 23:18:24 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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:
|
2018-03-31 10:52:08 +00:00
|
|
|
explicit MystConsole(MohawkEngine_Myst *vm);
|
|
|
|
~MystConsole() override;
|
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);
|
2016-02-14 08:44:52 +00:00
|
|
|
bool Cmd_QuickTest(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:
|
2018-03-31 10:52:08 +00:00
|
|
|
explicit RivenConsole(MohawkEngine_Riven *vm);
|
|
|
|
~RivenConsole() override;
|
2009-12-29 23:18:24 +00:00
|
|
|
|
|
|
|
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);
|
2016-08-13 06:57:06 +00:00
|
|
|
bool Cmd_DumpCard(int argc, const char **argv);
|
|
|
|
bool Cmd_DumpStack(int argc, const char **argv);
|
2009-12-29 23:18:24 +00:00
|
|
|
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);
|
2019-02-02 12:30:44 +00:00
|
|
|
bool Cmd_QuickTest(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:
|
2018-03-31 10:52:08 +00:00
|
|
|
explicit LivingBooksConsole(MohawkEngine_LivingBooks *vm);
|
|
|
|
~LivingBooksConsole() override;
|
2009-12-29 23:18:24 +00:00
|
|
|
|
|
|
|
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);
|
2019-12-31 15:04:16 +00:00
|
|
|
bool Cmd_ChangeCursor(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);
|
2020-02-09 11:05:30 +00:00
|
|
|
~CSTimeConsole(void) override;
|
2011-01-20 21:35:00 +00:00
|
|
|
|
|
|
|
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
|