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 NANCY_DETECTION_H
23 #define NANCY_DETECTION_H
24 
25 #include "engines/advancedDetector.h"
26 
27 namespace Nancy {
28 
29 enum GameType {
30  kGameTypeNone = 0,
31  kGameTypeVampire = 1,
32  kGameTypeNancy1 = 2,
33  kGameTypeNancy2 = 3,
34  kGameTypeNancy3 = 4,
35  kGameTypeNancy4 = 5,
36  kGameTypeNancy5 = 6,
37  kGameTypeNancy6 = 7,
38  kGameTypeNancy7 = 8,
39  kGameTypeNancy8 = 9,
40  kGameTypeNancy9 = 10,
41  kGameTypeNancy10 = 11,
42  kGameTypeNancy11 = 12,
43 };
44 
45 enum NancyGameFlags {
46  GF_COMPRESSED = 1 << 0
47 };
48 
50  AD_GAME_DESCRIPTION_HELPERS(desc);
51 
52  ADGameDescription desc;
53  GameType gameType;
54 };
55 
56 enum NancyDebugChannels {
57  kDebugEngine = 1 << 0,
58  kDebugActionRecord = 1 << 1,
59  kDebugScene = 1 << 2,
60  kDebugSound = 1 << 3,
61  kDebugVideo = 1 << 4,
62  kDebugHypertext = 1 << 5
63 };
64 
65 // Settings found in the original engine
66 #define GAMEOPTION_PLAYER_SPEECH GUIO_GAMEOPTIONS1
67 #define GAMEOPTION_CHARACTER_SPEECH GUIO_GAMEOPTIONS2
68 #define GAMEOPTION_AUTO_MOVE GUIO_GAMEOPTIONS3
69 
70 // Patch settings, general
71 #define GAMEOPTION_FIX_SOFTLOCKS GUIO_GAMEOPTIONS4
72 #define GAMEOPTION_FIX_ANNOYANCES GUIO_GAMEOPTIONS5
73 
74 // Patch settings, specific to each game
75 #define GAMEOPTION_NANCY2_TIMER GUIO_GAMEOPTIONS6
76 
77 } // End of namespace Nancy
78 
79 #endif // NANCY_DETECTION_H
Definition: advancedDetector.h:163
Definition: detection.h:49
Definition: actionmanager.h:32