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 TINSEL_DETECTION_H
23 #define TINSEL_DETECTION_H
24 
25 #include "engines/advancedDetector.h"
26 
27 namespace Tinsel {
28 
29 // (Optionally) remove the "baked-in" letterboxing in Discworld 2/Noir.
30 #define GAMEOPTION_CROP_HEIGHT_480_TO_432 GUIO_GAMEOPTIONS1
31 
32 enum TinselGameID {
33  GID_DW1 = 0,
34  GID_DW2 = 1,
35  GID_NOIR = 2
36 };
37 
38 enum TinselGameFeatures {
39  GF_SCNFILES = 1 << 0,
40  GF_ENHANCED_AUDIO_SUPPORT = 1 << 1,
41  GF_ALT_MIDI = 1 << 2, // Alternate sequence in midi.dat file
42 
43  // The GF_USE_?FLAGS values specify how many country flags are displayed
44  // in the subtitles options dialog.
45  // None of these defined -> 1 language, in ENGLISH.TXT
46  GF_USE_3FLAGS = 1 << 3, // French, German, Spanish
47  GF_USE_4FLAGS = 1 << 4, // French, German, Spanish, Italian
48  GF_USE_5FLAGS = 1 << 5 // All 5 flags
49 };
50 
63  TINSEL_V0 = 0,
64  TINSEL_V1 = 1,
65  TINSEL_V2 = 2,
66  TINSEL_V3 = 3
67 };
68 
70  ADGameDescription desc;
71 
72  int gameID;
73  int gameType;
74  uint32 features;
75  uint16 version;
76 };
77 
78 } // End of namespace Tinsel
79 
80 #endif // TINSEL_DETECTION_H
Definition: advancedDetector.h:120
TinselEngineVersion
Definition: detection.h:62
Definition: actors.h:36
Definition: detection.h:69