-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdetection.cpp
More file actions
42 lines (34 loc) · 1.09 KB
/
Copy pathdetection.cpp
File metadata and controls
42 lines (34 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include "base/plugins.h"
#include "engines/advancedDetector.h"
#include "common/file.h"
#include "common/translation.h"
namespace ACK {
static const PlainGameDescriptor ackGames[] = {
{"ack", "Adventure Creation Kit Game"},
{nullptr, nullptr}
};
static const ADGameDescription gameDescriptions[] = {
{
"ack",
nullptr,
AD_ENTRY1s("GAME.DAT", "12345678901234567890123456789012", 1024),
Common::EN_ANY,
Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO1(GUIO_NONE)
},
AD_TABLE_END_MARKER
};
class ACKMetaEngineDetection : public AdvancedMetaEngineDetection {
public:
ACKMetaEngineDetection() : AdvancedMetaEngineDetection(gameDescriptions, sizeof(ADGameDescription), ackGames) {
}
const char *getName() const override {
return "ack";
}
const char *getOriginalCopyright() const override {
return "Adventure Creation Kit (C) 2024";
}
};
} // End of namespace ACK
REGISTER_PLUGIN_STATIC(ACK_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, ACK::ACKMetaEngineDetection);