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 HARVESTER_DETECTION_H
23 #define HARVESTER_DETECTION_H
24 
25 #include "engines/advancedDetector.h"
26 
27 #define GAMEOPTION_GORE GUIO_GAMEOPTIONS1
28 #define GAMEOPTION_SHOW_CD_CHANGE_PROMPTS GUIO_GAMEOPTIONS2
29 
30 namespace Harvester {
31 
32 enum HarvesterDebugChannels {
33  kDebugGeneral = 1 << 0,
34  kDebugCombat = 1 << 1,
35  kDebugResources = 1 << 2,
36  kDebugScene = 1 << 3,
37  kDebugDialogue = 1 << 4,
38  kDebugInventory = 1 << 5,
39  kDebugCursor = 1 << 6,
40  kDebugRoom = 1 << 7,
41  kDebugPlayer = 1 << 8,
42  kDebugPathfinding = 1 << 9
43 };
44 
45 extern const PlainGameDescriptor harvesterGames[];
46 
47 extern const ADGameDescription gameDescriptions[];
48 
49 } // End of namespace Harvester
50 
51 class HarvesterMetaEngineDetection : public AdvancedMetaEngineDetection<ADGameDescription> {
52  static const DebugChannelDef debugFlagList[];
53 
54 public:
56  ~HarvesterMetaEngineDetection() override {}
57 
58  const char *getName() const override {
59  return "harvester";
60  }
61 
62  const char *getEngineName() const override {
63  return "Harvester";
64  }
65 
66  const char *getOriginalCopyright() const override {
67  return "Harvester (C) DigiFX Interactive";
68  }
69 
70  const DebugChannelDef *getDebugChannels() const override {
71  return debugFlagList;
72  }
73 };
74 
75 #endif // HARVESTER_DETECTION_H
const char * getEngineName() const override
Definition: detection.h:62
Definition: art.h:31
Definition: advancedDetector.h:612
Definition: detection.h:51
const DebugChannelDef * getDebugChannels() const override
Definition: detection.h:70
Definition: advancedDetector.h:164
const char * getOriginalCopyright() const override
Definition: detection.h:66
Definition: game.h:49
Definition: debug-channels.h:36
const char * getName() const override
Definition: detection.h:58