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