2020-12-24 16:10:32 -03:00
|
|
|
#include "base/plugins.h"
|
|
|
|
#include "engines/advancedDetector.h"
|
|
|
|
|
|
|
|
namespace Private {
|
|
|
|
static const PlainGameDescriptor privateGames[] = {
|
2021-01-07 23:38:18 -03:00
|
|
|
{ "private-eye", "Private Eye" },
|
|
|
|
{ 0, 0 }
|
2020-12-24 16:10:32 -03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static const ADGameDescription gameDescriptions[] = {
|
2021-01-07 23:38:18 -03:00
|
|
|
{
|
|
|
|
"private-eye",
|
|
|
|
0,
|
|
|
|
AD_ENTRY1s("GAME.DAT", "7a3eb7d9dedf40680ac3d088524f976e", 190735),
|
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformWindows,
|
|
|
|
ADGF_NO_FLAGS,
|
|
|
|
GUIO1(GUIO_NOMIDI)
|
|
|
|
},
|
2021-01-09 16:11:30 -03:00
|
|
|
{
|
|
|
|
"private-eye",
|
|
|
|
0,
|
|
|
|
AD_ENTRY1s("GAME.TXT", "28ee7295db2cf6d9358ad737e3a4c4c0", 19286),
|
|
|
|
Common::EN_ANY,
|
|
|
|
Common::kPlatformWindows,
|
|
|
|
ADGF_DEMO,
|
|
|
|
GUIO1(GUIO_NOMIDI)
|
|
|
|
},
|
2021-01-09 19:11:41 -03:00
|
|
|
|
2021-01-07 23:38:18 -03:00
|
|
|
AD_TABLE_END_MARKER
|
2020-12-24 16:10:32 -03:00
|
|
|
};
|
|
|
|
} // End of namespace Private
|
|
|
|
|
2020-12-27 22:11:21 -03:00
|
|
|
static const char *const directoryGlobs[] = {
|
2021-01-09 16:11:30 -03:00
|
|
|
"assets", // english CD
|
2021-01-07 23:38:18 -03:00
|
|
|
0
|
2020-12-27 22:11:21 -03:00
|
|
|
};
|
|
|
|
|
2020-12-24 16:10:32 -03:00
|
|
|
class PrivateMetaEngineDetection : public AdvancedMetaEngineDetection {
|
|
|
|
public:
|
2021-01-07 23:38:18 -03:00
|
|
|
PrivateMetaEngineDetection() : AdvancedMetaEngineDetection(Private::gameDescriptions, sizeof(ADGameDescription), Private::privateGames) {
|
|
|
|
_maxScanDepth = 2;
|
|
|
|
_directoryGlobs = directoryGlobs;
|
|
|
|
}
|
|
|
|
|
|
|
|
const char *getEngineId() const override {
|
|
|
|
return "private";
|
|
|
|
}
|
|
|
|
|
|
|
|
const char *getName() const override {
|
|
|
|
return "Private Eye";
|
|
|
|
}
|
|
|
|
|
|
|
|
const char *getOriginalCopyright() const override {
|
|
|
|
return "Copyright (C) Brooklyn Multimedia";
|
|
|
|
}
|
2020-12-24 16:10:32 -03:00
|
|
|
};
|
|
|
|
|
|
|
|
REGISTER_PLUGIN_STATIC(PRIVATE_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, PrivateMetaEngineDetection);
|