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  kGameTypeNancy12 = 13,
44  kGameTypeNancy13 = 14,
45 };
46 
47 enum NancyGameFlags {
48  GF_COMPRESSED = 1 << 0
49 };
50 
52  AD_GAME_DESCRIPTION_HELPERS(desc);
53 
54  ADGameDescription desc;
55  GameType gameType;
56 };
57 
58 enum NancyDebugChannels {
59  kDebugEngine = 1,
60  kDebugActionRecord,
61  kDebugScene,
62  kDebugSound,
63  kDebugVideo,
64  kDebugHypertext,
65 };
66 
67 // Settings found in the original engine
68 #define GAMEOPTION_PLAYER_SPEECH GUIO_GAMEOPTIONS1
69 #define GAMEOPTION_CHARACTER_SPEECH GUIO_GAMEOPTIONS2
70 #define GAMEOPTION_AUTO_MOVE GUIO_GAMEOPTIONS3
71 
72 // Patch settings, general
73 #define GAMEOPTION_FIX_SOFTLOCKS GUIO_GAMEOPTIONS4
74 #define GAMEOPTION_FIX_ANNOYANCES GUIO_GAMEOPTIONS5
75 
76 // Patch settings, specific to each game
77 #define GAMEOPTION_NANCY2_TIMER GUIO_GAMEOPTIONS6
78 
79 #define GAMEOPTION_ORIGINAL_SAVELOAD GUIO_GAMEOPTIONS7
80 
81 } // End of namespace Nancy
82 
83 #endif // NANCY_DETECTION_H
Definition: advancedDetector.h:164
Definition: detection.h:51
Definition: actionmanager.h:32