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 VCRUISE_DETECTION_H
23 #define VCRUISE_DETECTION_H
24 
25 #include "engines/advancedDetector.h"
26 
27 namespace VCruise {
28 
29 enum VCruiseGameID {
30  GID_UNKNOWN = 0,
31 
32  GID_REAH = 1,
33  GID_SCHIZM = 2,
34  GID_AD2044 = 3,
35 };
36 
37 enum VCruiseGameFlag {
38  VCRUISE_GF_WANT_MP3 = (1 << 0),
39  VCRUISE_GF_WANT_OGG_VORBIS = (1 << 1),
40  VCRUISE_GF_NEED_JPEG = (1 << 2),
41  VCRUISE_GF_GENTEE_PACKAGE = (1 << 3),
42 
43  VCRUISE_GF_STEAM_LANGUAGES = (1 << 4),
44  VCRUISE_GF_FORCE_LANGUAGE = (1 << 5),
45 
46  VCRUISE_GF_WANT_MIDI = (1 << 6),
47 };
48 
50  AD_GAME_DESCRIPTION_HELPERS(desc);
51 
52  ADGameDescription desc;
53 
54  VCruiseGameID gameID;
55 
56  // Specifying the language in the ADGameDescription causes AD to fail to detect the game as a match,
57  // so we have to specify it as UNK_LANG and specify the default language here.
58  Common::Language defaultLanguage;
59 };
60 
61 
62 #define GAMEOPTION_LAUNCH_DEBUG GUIO_GAMEOPTIONS1
63 #define GAMEOPTION_FAST_ANIMATIONS GUIO_GAMEOPTIONS2
64 #define GAMEOPTION_SKIP_MENU GUIO_GAMEOPTIONS3
65 #define GAMEOPTION_INCREASE_DRAG_DISTANCE GUIO_GAMEOPTIONS4
66 #define GAMEOPTION_USE_4BIT_GRAPHICS GUIO_GAMEOPTIONS5
67 #define GAMEOPTION_PRELOAD_SOUNDS GUIO_GAMEOPTIONS6
68 #define GAMEOPTION_FAST_VIDEO_DECODER GUIO_GAMEOPTIONS7
69 
70 
71 } // End of namespace VCruise
72 
73 #endif // VCRUISE_DETECTION_H
Definition: detection.h:49
Definition: advancedDetector.h:163
Definition: ad2044_items.h:27
Language
Definition: language.h:45