2011-06-05 13:38:05 +04: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.
|
2014-02-18 02:34:19 +01:00
|
|
|
*
|
2011-06-05 13:38:05 +04: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 02:34:19 +01:00
|
|
|
*
|
2011-06-05 13:38:05 +04:00
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "base/plugins.h"
|
|
|
|
|
2011-06-16 01:21:24 +04:00
|
|
|
#include "common/algorithm.h"
|
2011-06-05 13:38:05 +04:00
|
|
|
#include "common/system.h"
|
2012-03-19 02:59:54 +02:00
|
|
|
#include "common/translation.h"
|
2011-06-05 13:38:05 +04:00
|
|
|
|
2012-02-22 18:21:57 +01:00
|
|
|
#include "engines/advancedDetector.h"
|
|
|
|
|
2020-08-25 13:52:43 +05:30
|
|
|
#include "dreamweb/detection.h"
|
2011-06-05 13:38:05 +04:00
|
|
|
|
|
|
|
static const PlainGameDescriptor dreamWebGames[] = {
|
|
|
|
{ "dreamweb", "DreamWeb" },
|
|
|
|
{ 0, 0 }
|
|
|
|
};
|
|
|
|
|
2020-08-25 13:52:43 +05:30
|
|
|
#include "dreamweb/detection_tables.h"
|
2011-06-05 13:38:05 +04:00
|
|
|
|
2012-03-19 02:59:54 +02:00
|
|
|
static const ADExtraGuiOptionsMap gameGuiOptions[] = {
|
|
|
|
{
|
|
|
|
GAMEOPTION_ORIGINAL_SAVELOAD,
|
|
|
|
{
|
|
|
|
_s("Use original save/load screens"),
|
2016-11-29 20:02:50 +01:00
|
|
|
_s("Use the original save/load screens instead of the ScummVM ones"),
|
2012-03-25 17:50:22 +03:00
|
|
|
"originalsaveload",
|
2012-03-19 02:59:54 +02:00
|
|
|
false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
GAMEOPTION_BRIGHTPALETTE,
|
|
|
|
{
|
|
|
|
_s("Use bright palette mode"),
|
|
|
|
_s("Display graphics using the game's bright palette"),
|
|
|
|
"bright_palette",
|
|
|
|
true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
AD_EXTRA_GUI_OPTIONS_TERMINATOR
|
|
|
|
};
|
|
|
|
|
2020-10-11 23:14:39 +02:00
|
|
|
class DreamWebMetaEngineDetection : public AdvancedMetaEngineDetection {
|
2011-06-05 13:38:05 +04:00
|
|
|
public:
|
2020-10-11 23:14:39 +02:00
|
|
|
DreamWebMetaEngineDetection():
|
|
|
|
AdvancedMetaEngineDetection(DreamWeb::gameDescriptions,
|
2012-03-19 02:59:54 +02:00
|
|
|
sizeof(DreamWeb::DreamWebGameDescription), dreamWebGames,
|
|
|
|
gameGuiOptions) {
|
2016-03-08 18:30:58 +01:00
|
|
|
_guiOptions = GUIO1(GUIO_NOMIDI);
|
2011-06-13 11:59:21 +04:00
|
|
|
}
|
2011-06-05 13:38:05 +04:00
|
|
|
|
2020-02-05 15:15:32 +01:00
|
|
|
const char *getEngineId() const override {
|
2016-09-15 18:23:35 +02:00
|
|
|
return "dreamweb";
|
|
|
|
}
|
|
|
|
|
2020-02-09 12:05:28 +01:00
|
|
|
const char *getName() const override {
|
2016-09-15 20:04:14 +02:00
|
|
|
return "DreamWeb";
|
2011-06-05 13:38:05 +04:00
|
|
|
}
|
|
|
|
|
2020-02-09 12:05:28 +01:00
|
|
|
const char *getOriginalCopyright() const override {
|
2011-06-05 13:38:05 +04:00
|
|
|
return "DreamWeb (C) Creative Reality";
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-10-11 23:14:39 +02:00
|
|
|
REGISTER_PLUGIN_STATIC(DREAMWEB_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, DreamWebMetaEngineDetection);
|