mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-07 18:31:37 +00:00
98 lines
2.4 KiB
C++
98 lines
2.4 KiB
C++
/* 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 3 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, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
#include "engines/advancedDetector.h"
|
|
|
|
namespace ICB {
|
|
|
|
static const PlainGameDescriptor icbGames[] = {
|
|
{ "icb", "In Cold Blood" },
|
|
{ nullptr, nullptr }
|
|
};
|
|
|
|
static const char *directoryGlobs[] = {
|
|
"engine",
|
|
"linc",
|
|
"demo",
|
|
nullptr
|
|
};
|
|
|
|
static const ADGameDescription gameDescriptions[] = {
|
|
{
|
|
// In Cold Blood
|
|
// English GOG Version
|
|
"icb",
|
|
"GOG",
|
|
AD_ENTRY1s("engine.exe", "0c4a7a5046ec13ccac89ab3f959cc217", 837632),
|
|
Common::EN_ANY,
|
|
Common::kPlatformWindows,
|
|
ADGF_NO_FLAGS,
|
|
GUIO1(GUIO_NONE)
|
|
},
|
|
|
|
{
|
|
// In Cold Blood
|
|
// English Demo
|
|
"icb",
|
|
"Demo",
|
|
AD_ENTRY1s("engine.exe", "94222e343795853b0aa59cb9876415ae", 827392),
|
|
Common::EN_GRB,
|
|
Common::kPlatformWindows,
|
|
ADGF_DEMO,
|
|
GUIO1(GUIO_NONE)
|
|
},
|
|
|
|
{
|
|
// In Cold Blood
|
|
// English Demo
|
|
"icb",
|
|
"Demo",
|
|
AD_ENTRY1s("engine.exe", "d0702069d95423107463001b99a19e73", 939520),
|
|
Common::EN_USA,
|
|
Common::kPlatformWindows,
|
|
ADGF_DEMO,
|
|
GUIO1(GUIO_NONE)
|
|
},
|
|
|
|
AD_TABLE_END_MARKER
|
|
};
|
|
|
|
class IcbMetaEngineDetection : public AdvancedMetaEngineDetection {
|
|
public:
|
|
IcbMetaEngineDetection() : AdvancedMetaEngineDetection(gameDescriptions, sizeof(ADGameDescription), icbGames) {
|
|
_guiOptions = GUIO_NOMIDI;
|
|
_maxScanDepth = 3;
|
|
_directoryGlobs = directoryGlobs;
|
|
}
|
|
|
|
const char *getName() const override { return "In Cold Blood Engine"; }
|
|
|
|
const char *getEngineId() const override {
|
|
return "icb";
|
|
}
|
|
|
|
const char *getOriginalCopyright() const override { return "(C) 2000 Revolution Software Ltd"; }
|
|
};
|
|
|
|
} // End of namespace ICB
|
|
|
|
REGISTER_PLUGIN_STATIC(ICB_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, ICB::IcbMetaEngineDetection);
|