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 ADL_DETECTION_H
23 #define ADL_DETECTION_H
24 
25 #include "engines/advancedDetector.h"
26 
27 namespace Adl {
28 
29 #define SAVEGAME_VERSION 0
30 #define SAVEGAME_NAME_LEN 32
31 
32 enum GameType {
33  GAME_TYPE_NONE,
34  GAME_TYPE_HIRES0,
35  GAME_TYPE_HIRES1,
36  GAME_TYPE_HIRES2,
37  GAME_TYPE_HIRES3,
38  GAME_TYPE_HIRES4,
39  GAME_TYPE_HIRES5,
40  GAME_TYPE_HIRES6
41 };
42 
43 /*
44  * ====== Mystery House supported versions ======
45  * GAME_VER_HR1_SIMI:
46  * - Instructions always shown (no prompt)
47  * - Instructions contain Simi Valley address
48  * - On-Line Systems title screen in main executable only and waits for key
49  * GAME_VER_HR1_COARSE:
50  * - Longer instructions, now containing Coarsegold address
51  * - On-Line Systems title screen with instructions prompt
52  * GAME_VER_HR1_PD:
53  * - Public Domain disclaimer on startup
54  * - Sierra On-Line title screen with instructions prompt
55  *
56  * Note: there are probably at least two or three more variants
57  */
58 
59 enum GameVersion {
60  GAME_VER_NONE = 0,
61  GAME_VER_HR1_SIMI = 0,
62  GAME_VER_HR1_COARSE,
63  GAME_VER_HR1_VF1,
64  GAME_VER_HR1_VF2,
65  GAME_VER_HR1_PD,
66  GAME_VER_HR4_V1_0,
67  GAME_VER_HR4_V1_1,
68  GAME_VER_HR4_LNG
69 };
70 
72  ADGameDescription desc;
73  GameType gameType;
74  GameVersion version;
75 };
76 
77 // Mystery House was designed for monochrome display, so we default to
78 // monochrome mode there. All the other games default to color mode.
79 #define GAMEOPTION_COLOR_DEFAULT_OFF GUIO_GAMEOPTIONS1
80 #define GAMEOPTION_SCANLINES GUIO_GAMEOPTIONS2
81 #define GAMEOPTION_COLOR_DEFAULT_ON GUIO_GAMEOPTIONS3
82 #define GAMEOPTION_NTSC GUIO_GAMEOPTIONS4
83 #define GAMEOPTION_MONO_TEXT GUIO_GAMEOPTIONS5
84 
85 } // End of namespace Adl
86 
87 #endif // ADL_DETECTION_H
Definition: advancedDetector.h:120
Definition: adl.h:55
Definition: detection.h:71