mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
690f2c20af
* ICB: Add detection entries for the demo versions * ICB: Display errors using the debug console * ICB: Fix loading the title video
99 lines
2.5 KiB
C++
99 lines
2.5 KiB
C++
/* ResidualVM - A 3D game interpreter
|
|
*
|
|
* ResidualVM is the legal property of its developers, whose names
|
|
* are too numerous to list here. Please refer to the AUTHORS
|
|
* 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.
|
|
*
|
|
*/
|
|
|
|
#include "engines/advancedDetector.h"
|
|
|
|
namespace ICB {
|
|
|
|
static const PlainGameDescriptor icbGames[] = {
|
|
{ "icb", "In Cold Blood" },
|
|
{ 0, 0 }
|
|
};
|
|
|
|
static const char *directoryGlobs[] = {
|
|
"engine",
|
|
"linc",
|
|
"demo",
|
|
0
|
|
};
|
|
|
|
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;
|
|
}
|
|
|
|
virtual const char *getName() const override { return "In Cold Blood Engine"; }
|
|
|
|
const char *getEngineId() const override {
|
|
return "icb";
|
|
}
|
|
|
|
virtual 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);
|