ScummVM API documentation
detection_options.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 SCI_DETECTION_OPTIONS_H
23 #define SCI_DETECTION_OPTIONS_H
24 
25 #include "common/translation.h"
26 
27 namespace Sci {
28 
29 const ADExtraGuiOptionsMap optionsList[] = {
30  {
31  GAMEOPTION_EGA_UNDITHER,
32  {
33  _s("Skip EGA dithering pass (full color backgrounds)"),
34  _s("Skip dithering pass in EGA games, graphics are shown with full colors"),
35  "disable_dithering",
36  false,
37  0,
38  0
39  }
40  },
41 
42  {
43  GAMEOPTION_HIGH_RESOLUTION_GRAPHICS,
44  {
45  _s("Enable high resolution graphics"),
46  _s("Enable high resolution graphics/content"),
47  "enable_high_resolution_graphics",
48  true,
49  0,
50  0
51  }
52  },
53 
54  {
55  GAMEOPTION_ENABLE_BLACK_LINED_VIDEO,
56  {
57  _s("Enable black-lined video"),
58  _s("Draw black lines over videos to increase their apparent sharpness"),
59  "enable_black_lined_video",
60  false,
61  0,
62  0
63  }
64  },
65 
66  {
67  GAMEOPTION_HQ_VIDEO,
68  {
69  _s("Use high-quality video scaling"),
70  _s("Use linear interpolation when upscaling videos, where possible"),
71  "enable_hq_video",
72  true,
73  0,
74  0
75  }
76  },
77 
78  {
79  GAMEOPTION_LARRYSCALE,
80  {
81  _s("Use high-quality \"LarryScale\" cel scaling"),
82  _s("Use special cartoon scaler for drawing character sprites"),
83  "enable_larryscale",
84  true,
85  0,
86  0
87  }
88  },
89 
90  {
91  GAMEOPTION_PREFER_DIGITAL_SFX,
92  {
93  _s("Prefer digital sound effects"),
94  _s("Prefer digital sound effects instead of synthesized ones"),
95  "prefer_digitalsfx",
96  true,
97  0,
98  0
99  }
100  },
101 
102  {
103  GAMEOPTION_ORIGINAL_SAVELOAD,
104  {
105  _s("Use original save/load screens"),
106  _s("Use the original save/load screens instead of the ScummVM ones"),
107  "originalsaveload",
108  false,
109  0,
110  0
111  }
112  },
113  // Jones in the Fast Lane - CD audio tracks or resource.snd
114  {
115  GAMEOPTION_JONES_CDAUDIO,
116  {
117  _s("Use CD audio"),
118  _s("Use CD audio instead of in-game audio, if available"),
119  "use_cdaudio",
120  true,
121  0,
122  0
123  }
124  },
125 
126  // KQ5 and KQ6 and SQ4 CD Windows - windows cursors
127  {
128  GAMEOPTION_WINDOWS_CURSORS,
129  {
130  _s("Use Windows cursors"),
131  _s("Use the Windows cursors (smaller and monochrome) instead of the DOS ones"),
132  "windows_cursors",
133  false,
134  0,
135  0
136  }
137  },
138 
139  // SQ4 CD - silver cursors
140  {
141  GAMEOPTION_SQ4_SILVER_CURSORS,
142  {
143  _s("Use silver cursors"),
144  _s("Use the alternate set of silver cursors instead of the normal golden ones"),
145  "silver_cursors",
146  false,
147  0,
148  0
149  }
150  },
151 
152  // Phantasmagoria 2 - content censoring option
153  {
154  GAMEOPTION_ENABLE_CENSORING,
155  {
156  _s("Enable content censoring"),
157  _s("Enable the game's built-in optional content censoring"),
158  "enable_censoring",
159  false,
160  0,
161  0
162  }
163  },
164 
165  // KQ7 - Upscale videos to double their size (The in-game "Full screen" video setting)
166  {
167  GAMEOPTION_UPSCALE_VIDEOS,
168  {
169  _s("Upscale videos"),
170  _s("Upscale videos to double their size"),
171  "enable_video_upscale",
172  true,
173  0,
174  0
175  }
176  },
177 
178  // SCI16 games: use RGB renderer instead of indexed
179  {
180  GAMEOPTION_RGB_RENDERING,
181  {
182  _s("Use RGB rendering"),
183  _s("Use RGB rendering to improve screen transitions"),
184  "rgb_rendering",
185  false,
186  0,
187  0
188  }
189  },
190 
191  // SCI16 games: use custom per-resource palettes to improve visuals
192  {
193  GAMEOPTION_PALETTE_MODS,
194  {
195  _s("Use per-resource modified palettes"),
196  _s("Use custom per-resource palettes to improve visuals"),
197  "palette_mods",
198  false,
199  0,
200  0
201  }
202  },
203 
204  // SQ1: Enable graphics that were disabled for legal reasons
205  {
206  GAMEOPTION_SQ1_BEARDED_MUSICIANS,
207  {
208  _s("Enable bearded musicians"),
209  _s("Enable graphics that were disabled for legal reasons"),
210  "enable_bearded_musicians",
211  false,
212  0,
213  0
214  }
215  },
216 
217 #ifdef USE_TTS
218  {
219  GAMEOPTION_TTS,
220  {
221  _s("Enable Text to Speech"),
222  _s("Use TTS to read the descriptions (if TTS is available)"),
223  "tts_enabled",
224  false,
225  0,
226  0
227  }
228  },
229 #endif
230 
231  {
232  GAMEOPTION_ENABLE_GMM_SAVE,
233  {
234  _s("Enable saving via the GMM"),
235  _s("Allows saving via the GMM. WARNING: saves created via the GMM may be corrupted and unusable. Use at your own risk!"),
236  "gmm_save_enabled",
237  false,
238  0,
239  0
240  }
241  },
242 
243  {
244  GAMEOPTION_GK1_ENABLE_AUDIO_POPFIX,
245  {
246  _s("Repair speech audio"),
247  _s("Detect and attempt to repair overflows in DPCM8 audio, which cause noticeable pops and crackles."),
248  "audio_popfix_enabled",
249  true,
250  0,
251  0
252  }
253  },
254 
255  AD_EXTRA_GUI_OPTIONS_TERMINATOR
256 };
257 
258 const PopUpOptionsMap popUpOptionsList[] = {
259  {
260  GAMEOPTION_MIDI_MODE,
261  _s("MIDI mode:"),
262  _s("When using external MIDI devices (e.g. through USB-MIDI), select your device here"),
263  "midi_mode",
264  kMidiModeStandard,
265  {
266  {
267  _s("Standard (GM / MT-32)"),
268  kMidiModeStandard
269  },
270  {
271  _s("Roland D-110 / D-10 / D-20"),
272  kMidiModeD110
273  },
274  {
275  _s("Yamaha FB-01"),
276  kMidiModeFB01
277  },
278  {
279  _s("Casio MT-540"),
280  kMidiModeMT540
281  },
282  {
283  _s("Casio CT-460 / CSM-1"),
284  kMidiModeCT460
285  },
286  POPUP_OPTIONS_ITEMS_TERMINATOR
287  }
288  },
289  POPUP_OPTIONS_TERMINATOR
290 };
291 
292 } // End of namespace Sci
293 
294 #endif
Definition: advancedDetector.h:400
Definition: console.h:28