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, // The Vampire Diaries - 1996-11-01
32  kGameTypeNancy1 = 2, // Secrets Can Kill - 1998-11-05
33  kGameTypeNancy2 = 3, // Stay Tuned for Danger - 1999-11-13
34  kGameTypeNancy3 = 4, // Message in a Haunted Mansion - 2000-11-24
35  kGameTypeNancy4 = 5, // Treasure in the Royal Tower - 2001-08-01
36  kGameTypeNancy5 = 6, // The Final Scene - 2001-11-01
37  kGameTypeNancy6 = 7, // Secret of the Scarlet Hand - 2002-08-12
38  kGameTypeNancy7 = 8, // Ghost Dogs of Moon Lake - 2002-11-01
39  kGameTypeNancy8 = 9, // The Haunted Carousel - 2003-08-22
40  kGameTypeNancy9 = 10, // Danger on Deception Island - 2003-10-03
41  kGameTypeNancy10 = 11, // The Secret of Shadow Ranch - 2004-08-30
42  kGameTypeNancy11 = 12, // Curse of Blackmoor Manor - 2004-10-05
43  kGameTypeNancy12 = 13, // Secret of the Old Clock - 2005-06-12
44  kGameTypeNancy13 = 14, // Last Train to Blue Moon Canyon - 2005-09-15
45  kGameTypeNancy14 = 15, // Danger by Design - 2006-07-24
46  kGameTypeNancy15 = 16, // The Creature of Kapu Cave - 2006-10-01
47  kGameTypeNancy16 = 17, // The White Wolf of Icicle Creek - 2007-06-07
48  kGameTypeNancy17 = 18, // Legend of the Crystal Skull - 2007-10-08
49  kGameTypeNancy18 = 19, // The Phantom of Venice - 2008-07-11
50  kGameTypeNancy19 = 20, // The Haunting of Castle Malloy - 2008-10-16
51  kGameTypeNancy20 = 21, // Ransom of the Seven Ships - 2009-07-14 (discontinued)
52  kGameTypeNancy21 = 22, // Warnings at Waverly Academy - 2009-10-13
53  kGameTypeNancy22 = 23, // Trail of the Twister - 2010-06-29
54  kGameTypeNancy1New = 24,// Secrets Can Kill Remastered - 2010-08-24
55  kGameTypeNancy23 = 25, // Shadow at the Water's Edge - 2010-10-19
56  kGameTypeNancy24 = 26, // The Captive Curse - 2011-06-28
57  kGameTypeNancy25 = 27, // Alibi in Ashes - 2011-10-18
58  kGameTypeNancy26 = 28, // Tomb of the Lost Queen - 2012-05-08
59  kGameTypeNancy27 = 29, // The Deadly Device - 2012-10-23
60  kGameTypeNancy28 = 30, // Ghost of Thornton Hall - 2013-05-14
61  kGameTypeNancy29 = 31, // The Silent Spy - 2013-10-22
62  kGameTypeNancy30 = 32, // The Shattered Medallion - 2014-05-20
63  kGameTypeNancy31 = 33, // Labyrinth of Lies - 2014-10-14
64  kGameTypeNancy32 = 34, // Sea of Darkness - 2015-05-19
65  // Midnight in Salem was made with Unity
66  // Mystery of the Seven Keys was made with Unity
67 };
68 
69 enum NancyGameFlags {
70  GF_COMPRESSED = 1 << 0
71 };
72 
74  AD_GAME_DESCRIPTION_HELPERS(desc);
75 
76  ADGameDescription desc;
77  GameType gameType;
78 };
79 
80 enum NancyDebugChannels {
81  kDebugEngine = 1,
82  kDebugActionRecord,
83  kDebugScene,
84  kDebugSound,
85  kDebugVideo,
86  kDebugHypertext,
87 };
88 
89 // Settings found in the original engine
90 #define GAMEOPTION_PLAYER_SPEECH GUIO_GAMEOPTIONS1
91 #define GAMEOPTION_CHARACTER_SPEECH GUIO_GAMEOPTIONS2
92 #define GAMEOPTION_AUTO_MOVE GUIO_GAMEOPTIONS3
93 
94 // Patch settings, general
95 #define GAMEOPTION_FIX_SOFTLOCKS GUIO_GAMEOPTIONS4
96 #define GAMEOPTION_FIX_ANNOYANCES GUIO_GAMEOPTIONS5
97 
98 // Patch settings, specific to each game
99 #define GAMEOPTION_NANCY2_TIMER GUIO_GAMEOPTIONS6
100 
101 #define GAMEOPTION_ORIGINAL_SAVELOAD GUIO_GAMEOPTIONS7
102 
103 } // End of namespace Nancy
104 
105 #endif // NANCY_DETECTION_H
Definition: advancedDetector.h:164
Definition: detection.h:73
Definition: actionmanager.h:32