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
27namespace VCruise {
28
29enum VCruiseGameID {
30 GID_UNKNOWN = 0,
31
32 GID_REAH = 1,
33 GID_SCHIZM = 2,
34 GID_AD2044 = 3,
35};
36
37enum 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 VCRUISE_GF_USE_SETUP_EXE = (1 << 4),
43
44 VCRUISE_GF_BUL_LANGUAGE = (1 << 6),
45 VCRUISE_GF_TWN_LANGUAGE = (1 << 7),
46 VCRUISE_GF_JPN_LANGUAGE = (1 << 8),
47 VCRUISE_GF_HUN_LANGUAGE = (1 << 9),
48 VCRUISE_GF_CHN_LANGUAGE = (1 << 10),
49 VCRUISE_GF_CZE_LANGUAGE = (1 << 11),
50
51 VCRUISE_GF_FORCE_LANGUAGE = (1 << 12),
52
53 VCRUISE_GF_WANT_MIDI = (1 << 13),
54
55 VCRUISE_GF_STEAM_LANGUAGES = VCRUISE_GF_BUL_LANGUAGE | VCRUISE_GF_TWN_LANGUAGE | VCRUISE_GF_JPN_LANGUAGE
56 | VCRUISE_GF_HUN_LANGUAGE | VCRUISE_GF_CHN_LANGUAGE | VCRUISE_GF_CZE_LANGUAGE,
57};
58
60 AD_GAME_DESCRIPTION_HELPERS(desc);
61
63
64 VCruiseGameID gameID;
65
66 // Specifying the language in the ADGameDescription causes AD to fail to detect the game as a match,
67 // so we have to specify it as UNK_LANG and specify the default language here.
68 Common::Language defaultLanguage;
69};
70
71
72#define GAMEOPTION_LAUNCH_DEBUG GUIO_GAMEOPTIONS1
73#define GAMEOPTION_FAST_ANIMATIONS GUIO_GAMEOPTIONS2
74#define GAMEOPTION_SKIP_MENU GUIO_GAMEOPTIONS3
75#define GAMEOPTION_INCREASE_DRAG_DISTANCE GUIO_GAMEOPTIONS4
76#define GAMEOPTION_USE_4BIT_GRAPHICS GUIO_GAMEOPTIONS5
77#define GAMEOPTION_PRELOAD_SOUNDS GUIO_GAMEOPTIONS6
78#define GAMEOPTION_FAST_VIDEO_DECODER GUIO_GAMEOPTIONS7
79
80
81} // End of namespace VCruise
82
83#endif // VCRUISE_DETECTION_H
Language
Definition: language.h:45
Definition: ad2044_items.h:27
Definition: advancedDetector.h:164
Definition: detection.h:59