ScummVM API documentation
detection_fallback.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
22namespace AGOS {
23
24static const AGOSGameDescription fallbackDescs[] = {
25
26 // Simon the Sorcerer 1 - DOS Floppy
27 {
28 {
29 "simon1",
30 "Floppy",
31 {
32 { "gamepc", GAME_BASEFILE, NULL, AD_NO_SIZE},
33 { "icon.dat", GAME_ICONFILE, NULL, AD_NO_SIZE},
34 { "stripped.txt", GAME_STRFILE, NULL, AD_NO_SIZE},
35 { "tbllist", GAME_TBLFILE, NULL, AD_NO_SIZE},
37 },
38 Common::UNK_LANG,
39 Common::kPlatformDOS,
41 GUIO4(GUIO_NOSPEECH, GAMEOPTION_OPL3_MODE, GAMEOPTION_DOS_TEMPOS, GAMEOPTION_DISABLE_FADE_EFFECTS)
42 },
43
44 GType_SIMON1,
45 GID_SIMON1DOS,
46 GF_OLD_BUNDLE
47 },
48
49 // Simon the Sorcerer 1 - DOS CD
50 {
51 {
52 "simon1",
53 "CD",
54 {
55 { "simon.gme", GAME_GMEFILE, NULL, AD_NO_SIZE},
56 { "gamepc" , GAME_BASEFILE, NULL, AD_NO_SIZE},
57 { "icon.dat", GAME_ICONFILE, NULL, AD_NO_SIZE},
58 { "stripped.txt", GAME_STRFILE, NULL, AD_NO_SIZE},
59 { "tbllist", GAME_TBLFILE, NULL, AD_NO_SIZE},
61 },
62 Common::UNK_LANG,
63 Common::kPlatformDOS,
64 ADGF_CD,
65 GUIO3(GAMEOPTION_OPL3_MODE, GAMEOPTION_DOS_TEMPOS, GAMEOPTION_DISABLE_FADE_EFFECTS)
66 },
67
68 GType_SIMON1,
69 GID_SIMON1,
70 GF_TALKIE
71 },
72
73 // Simon the Sorcerer 2 - DOS Floppy
74 {
75 {
76 "simon2",
77 "Floppy",
78 {
79 { "game32", GAME_BASEFILE, NULL, AD_NO_SIZE},
80 { "icon.dat", GAME_ICONFILE, NULL, AD_NO_SIZE},
81 { "simon2.gme", GAME_GMEFILE, NULL, AD_NO_SIZE},
82 { "stripped.txt", GAME_STRFILE, NULL, AD_NO_SIZE},
83 { "tbllist", GAME_TBLFILE, NULL, AD_NO_SIZE},
85 },
86 Common::UNK_LANG,
87 Common::kPlatformDOS,
89 GUIO2(GUIO_NOSPEECH, GAMEOPTION_DISABLE_FADE_EFFECTS)
90 },
91
92 GType_SIMON2,
93 GID_SIMON2,
94 0
95 },
96
97 // Simon the Sorcerer 2 - DOS CD
98 {
99 {
100 "simon2",
101 "CD",
102 {
103 { "gsptr30", GAME_BASEFILE, NULL, AD_NO_SIZE},
104 { "icon.dat", GAME_ICONFILE, NULL, AD_NO_SIZE},
105 { "simon2.gme", GAME_GMEFILE, NULL, AD_NO_SIZE},
106 { "stripped.txt", GAME_STRFILE, NULL, AD_NO_SIZE},
107 { "tbllist", GAME_TBLFILE, NULL, AD_NO_SIZE},
109 },
110 Common::UNK_LANG,
111 Common::kPlatformDOS,
112 ADGF_CD,
113 GUIO1(GAMEOPTION_DISABLE_FADE_EFFECTS)
114 },
115
116 GType_SIMON2,
117 GID_SIMON2,
118 GF_TALKIE
119 },
120
121 // The Feeble Files - Windows
122 {
123 {
124 "feeble",
125 "CD",
126 {
127 { "game22", GAME_BASEFILE, NULL, AD_NO_SIZE},
128 { "tbllist", GAME_TBLFILE, NULL, AD_NO_SIZE},
130 },
131 Common::UNK_LANG,
132 Common::kPlatformWindows,
134 GUIO3(GUIO_NOSUBTITLES, GUIO_NOMUSIC, GUIO_NOASPECT)
135 },
136
137 GType_FF,
138 GID_FEEBLEFILES,
139 GF_OLD_BUNDLE | GF_TALKIE
140 },
141
142 { AD_TABLE_END_MARKER, 0, 0, 0 }
143};
144
145static const ADFileBasedFallback fileBased[] = {
146 { &fallbackDescs[ 0].desc, { "gamepc", "icon.dat", "stripped.txt", "tbllist", 0 } },
147 { &fallbackDescs[ 1].desc, { "simon.gme", "gamepc", "icon.dat", "stripped.txt", "tbllist", 0 } },
148 { &fallbackDescs[ 2].desc, { "game32", "icon.dat", "simon2.gme", "stripped.txt", "tbllist", 0 } },
149 { &fallbackDescs[ 3].desc, { "gsptr30", "icon.dat", "simon2.gme", "stripped.txt", "tbllist", 0 } },
150 { &fallbackDescs[ 4].desc, { "game22", "tbllist", 0 } },
151
152 { 0, { 0 } }
153};
154
155} // End of namespace AGOS
#define AD_LISTEND
Definition: advancedDetector.h:104
#define AD_TABLE_END_MARKER
Definition: advancedDetector.h:328
@ ADGF_NO_FLAGS
No flags.
Definition: advancedDetector.h:139
@ ADGF_CD
Add "-cd" to gameid.
Definition: advancedDetector.h:155
Definition: advancedDetector.h:331