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  ADGameDescription desc;
51  GameType gameType;
52 };
53 
54 enum NancyDebugChannels {
55  kDebugEngine = 1 << 0,
56  kDebugActionRecord = 1 << 1,
57  kDebugScene = 1 << 2,
58  kDebugSound = 1 << 3,
59  kDebugVideo = 1 << 4,
60  kDebugHypertext = 1 << 5
61 };
62 
63 // Settings found in the original engine
64 #define GAMEOPTION_PLAYER_SPEECH GUIO_GAMEOPTIONS1
65 #define GAMEOPTION_CHARACTER_SPEECH GUIO_GAMEOPTIONS2
66 #define GAMEOPTION_AUTO_MOVE GUIO_GAMEOPTIONS3
67 
68 // Patch settings, general
69 #define GAMEOPTION_FIX_SOFTLOCKS GUIO_GAMEOPTIONS4
70 #define GAMEOPTION_FIX_ANNOYANCES GUIO_GAMEOPTIONS5
71 
72 // Patch settings, specific to each game
73 #define GAMEOPTION_NANCY2_TIMER GUIO_GAMEOPTIONS6
74 
75 } // End of namespace Nancy
76 
77 #endif // NANCY_DETECTION_H
Definition: advancedDetector.h:120
Definition: detection.h:49
Definition: actionmanager.h:32