2007-05-30 21:56:52 +00:00
|
|
|
/* ScummVM - Graphic Adventure Engine
|
2006-10-15 01:06:44 +00:00
|
|
|
*
|
2007-05-30 21:56:52 +00:00
|
|
|
* 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.
|
2006-10-15 01:06:44 +00:00
|
|
|
*
|
2021-12-26 18:47:58 +01: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 02:34:18 +01:00
|
|
|
*
|
2006-10-15 01:06:44 +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 02:34:18 +01:00
|
|
|
*
|
2006-10-15 01:06:44 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
2021-12-26 18:47:58 +01:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2006-10-15 01:06:44 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "base/plugins.h"
|
|
|
|
|
2009-01-29 22:13:01 +00:00
|
|
|
#include "engines/advancedDetector.h"
|
2015-12-28 00:31:50 +02:00
|
|
|
|
|
|
|
#include "common/translation.h"
|
2006-10-15 01:06:44 +00:00
|
|
|
|
2020-08-25 13:52:43 +05:30
|
|
|
#include "cine/detection.h"
|
2021-05-16 15:39:39 +08:00
|
|
|
#include "cine/cine.h"
|
2006-10-15 01:06:44 +00:00
|
|
|
|
|
|
|
static const PlainGameDescriptor cineGames[] = {
|
|
|
|
{"fw", "Future Wars"},
|
|
|
|
{"os", "Operation Stealth"},
|
2021-11-13 23:40:19 +02:00
|
|
|
{nullptr, nullptr}
|
2006-10-15 01:06:44 +00:00
|
|
|
};
|
|
|
|
|
2020-08-25 13:52:43 +05:30
|
|
|
#include "cine/detection_tables.h"
|
2007-01-24 22:24:52 +00:00
|
|
|
|
2021-05-16 15:39:39 +08:00
|
|
|
static const DebugChannelDef debugFlagList[] = {
|
|
|
|
{Cine::kCineDebugScript, "Script", "Script debug level"},
|
|
|
|
{Cine::kCineDebugPart, "Part", "Part debug level"},
|
|
|
|
{Cine::kCineDebugSound, "Sound", "Sound debug level"},
|
|
|
|
{Cine::kCineDebugCollision, "Collision", "Collision debug level"},
|
|
|
|
DEBUG_CHANNEL_END
|
|
|
|
};
|
|
|
|
|
2015-12-28 00:04:13 +01:00
|
|
|
static const ADExtraGuiOptionsMap optionsList[] = {
|
|
|
|
{
|
|
|
|
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"),
|
2015-12-28 00:04:13 +01:00
|
|
|
"originalsaveload",
|
2022-03-28 09:50:07 +02:00
|
|
|
false,
|
|
|
|
0,
|
|
|
|
0
|
2015-12-28 00:04:13 +01:00
|
|
|
}
|
|
|
|
},
|
2020-07-12 23:48:11 +03:00
|
|
|
{
|
|
|
|
GAMEOPTION_TRANSPARENT_DIALOG_BOXES,
|
|
|
|
{
|
|
|
|
_s("Use transparent dialog boxes in 16 color scenes"),
|
|
|
|
_s("Use transparent dialog boxes in 16 color scenes even if the original game version did not support them"),
|
|
|
|
"transparentdialogboxes",
|
2022-03-28 09:50:07 +02:00
|
|
|
false,
|
|
|
|
0,
|
|
|
|
0
|
2020-07-12 23:48:11 +03:00
|
|
|
}
|
|
|
|
},
|
2015-12-28 00:04:13 +01:00
|
|
|
|
|
|
|
AD_EXTRA_GUI_OPTIONS_TERMINATOR
|
2015-12-28 00:31:50 +02:00
|
|
|
};
|
|
|
|
|
2020-10-11 23:14:39 +02:00
|
|
|
class CineMetaEngineDetection : public AdvancedMetaEngineDetection {
|
2008-02-02 02:35:13 +00:00
|
|
|
public:
|
2020-10-11 23:14:39 +02:00
|
|
|
CineMetaEngineDetection() : AdvancedMetaEngineDetection(Cine::gameDescriptions, sizeof(Cine::CINEGameDescription), cineGames, optionsList) {
|
2020-07-12 23:48:11 +03:00
|
|
|
_guiOptions = GUIO3(GUIO_NOSPEECH, GAMEOPTION_ORIGINAL_SAVELOAD, GAMEOPTION_TRANSPARENT_DIALOG_BOXES);
|
2011-06-10 15:53:51 +02:00
|
|
|
}
|
2008-02-02 02:35:13 +00:00
|
|
|
|
2022-01-13 20:34:25 +00:00
|
|
|
const char *getName() const override {
|
2016-09-15 18:23:35 +02:00
|
|
|
return "cine";
|
|
|
|
}
|
|
|
|
|
2022-01-13 20:34:25 +00:00
|
|
|
const char *getEngineName() const override {
|
2016-09-15 20:04:14 +02:00
|
|
|
return "Cinematique evo 1";
|
2008-02-02 02:35:13 +00:00
|
|
|
}
|
|
|
|
|
2020-02-09 12:05:27 +01:00
|
|
|
const char *getOriginalCopyright() const override {
|
2016-09-15 20:04:14 +02:00
|
|
|
return "Cinematique evo 1 (C) Delphine Software";
|
2008-02-02 02:35:13 +00:00
|
|
|
}
|
2021-05-16 15:39:39 +08:00
|
|
|
|
|
|
|
const DebugChannelDef *getDebugChannels() const override {
|
|
|
|
return debugFlagList;
|
|
|
|
}
|
2008-02-02 02:35:13 +00:00
|
|
|
};
|
|
|
|
|
2020-10-11 23:14:39 +02:00
|
|
|
REGISTER_PLUGIN_STATIC(CINE_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, CineMetaEngineDetection);
|