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 AWE_DETECTION_H
23#define AWE_DETECTION_H
24
25#include "engines/advancedDetector.h"
26
27namespace Awe {
28
29enum AweDebugChannels {
30 kDebugScript = 1,
31 kDebugBank,
32 kDebugVideo,
33 kDebugSound,
34 kDebugInfo,
35 kDebugPak,
36 kDebugResource
37};
38
39enum DataType {
40 DT_DOS,
41 DT_AMIGA,
42 DT_ATARI,
43 DT_15TH_EDITION,
44 DT_20TH_EDITION,
45 DT_WIN31,
46 DT_3DO,
47 DT_ATARI_DEMO // ST Action Issue44 Disk28
48};
49
51 AD_GAME_DESCRIPTION_HELPERS(desc);
52
54
55 int _gameType;
56};
57
58extern const PlainGameDescriptor aweGames[];
59
60extern const AweGameDescription gameDescriptions[];
61
62#define GAMEOPTION_COPY_PROTECTION GUIO_GAMEOPTIONS1
63
64} // namespace Awe
65
66class AweMetaEngineDetection : public AdvancedMetaEngineDetection<Awe::AweGameDescription> {
67 static const DebugChannelDef debugFlagList[];
68
69public:
71 ~AweMetaEngineDetection() override {}
72
73 const char *getName() const override {
74 return "awe";
75 }
76
77 const char *getEngineName() const override {
78 return "Awe";
79 }
80
81 const char *getOriginalCopyright() const override {
82 return "Out of This World (C) 1991 by Delphine Software International";
83 }
84
85 const DebugChannelDef *getDebugChannels() const override {
86 return debugFlagList;
87 }
88};
89
90#endif
Definition: advancedDetector.h:611
Definition: detection.h:66
const char * getEngineName() const override
Definition: detection.h:77
const DebugChannelDef * getDebugChannels() const override
Definition: detection.h:85
const char * getName() const override
Definition: detection.h:73
const char * getOriginalCopyright() const override
Definition: detection.h:81
Definition: advancedDetector.h:164
Definition: detection.h:50
Definition: debug-channels.h:36
Definition: game.h:49