ScummVM API documentation
detection.h
1/* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the COPYRIGHT
5 * file distributed with this source distribution.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef MACS2_DETECTION_H
23#define MACS2_DETECTION_H
24
25#include "engines/advancedDetector.h"
26
27namespace Macs2 {
28
29enum Macs2DebugChannels {
30 kDebugGraphics = 1 << 0,
31 kDebugPath = 1 << 1,
32 kDebugFilePath = 1 << 3,
33 kDebugInput = 1 << 4,
34 kDebugScript = 1 << 5,
35};
36
37enum Macs2Action {
38 kMacs2ActionNone,
39 kMacs2ActionInteract,
40 kMacs2ActionCursorMode,
41 kMacs2ActionSkip,
42 kMacs2ActionInventory,
43 kMacs2ActionMenu,
44 kMacs2ActionGameSpeed,
45 kMacs2ActionOpenGMM,
46 kMacs2ActionHelp,
47};
48
49extern const PlainGameDescriptor macs2Games[];
50
51extern const ADGameDescription gameDescriptions[];
52
53#define GAMEOPTION_ORIGINAL_SAVELOAD GUIO_GAMEOPTIONS1
54#define GAMEOPTION_TTS GUIO_GAMEOPTIONS2
55#define GAMEOPTION_ENHANCEMENTS GUIO_GAMEOPTIONS3
56#define GAMEOPTION_TRANSLATION GUIO_GAMEOPTIONS4
57
58} // End of namespace Macs2
59
60class Macs2MetaEngineDetection : public AdvancedMetaEngineDetection<ADGameDescription> {
61 static const DebugChannelDef debugFlagList[];
62
63public:
66
67 const char *getName() const override {
68 return "macs2";
69 }
70
71 const char *getEngineName() const override {
72 return "Macs2";
73 }
74
75 const char *getOriginalCopyright() const override {
76 return "Macs2 (C)";
77 }
78
79 const DebugChannelDef *getDebugChannels() const override {
80 return debugFlagList;
81 }
82};
83
84#endif // MACS2_DETECTION_H
Definition: advancedDetector.h:611
Definition: detection.h:60
const char * getOriginalCopyright() const override
Definition: detection.h:75
const char * getName() const override
Definition: detection.h:67
const char * getEngineName() const override
Definition: detection.h:71
const DebugChannelDef * getDebugChannels() const override
Definition: detection.h:79
Definition: advancedDetector.h:164
Definition: debug-channels.h:36
Definition: game.h:49