scummvm/engines/chamber/detection.cpp
2023-02-19 23:51:30 +01:00

76 lines
2.1 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 "base/plugins.h"
#include "engines/advancedDetector.h"
namespace Chamber {
static const PlainGameDescriptor ChamberGames[] = {
{"chamber", "Chamber of the Sci-Mutant Priestess"},
{ 0, 0 }
};
static const ADGameDescription gameDescriptions[] = {
{
"chamber",
"",
AD_ENTRY1s("ere.pxi", "5aa5bd2d79eefde70675b0b6734944f2", 134358),
Common::UNK_LANG, // EN/FR/DE
Common::kPlatformDOS,
ADGF_UNSTABLE,
GUIO0()
},
{
"chamber",
"",
AD_ENTRY1s("kult1.pxi", "fc0bd31a3c380338f76ff53e421e47b6", 140537),
Common::EN_USA,
Common::kPlatformDOS,
ADGF_UNSTABLE,
GUIO0()
},
AD_TABLE_END_MARKER
};
} // End of namespace Chamber
class ChamberMetaEngineDetection : public AdvancedMetaEngineDetection {
public:
ChamberMetaEngineDetection() : AdvancedMetaEngineDetection(Chamber::gameDescriptions, sizeof(ADGameDescription), Chamber::ChamberGames) {
}
const char *getName() const override {
return "chamber";
}
const char *getEngineName() const override {
return "chamber";
}
const char *getOriginalCopyright() const override {
return "Chamber (C) 1989 ERE Informatique";
}
};
REGISTER_PLUGIN_STATIC(CHAMBER_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, ChamberMetaEngineDetection);