Delete pointless project file remnants.
[openttd-joker.git] / src / table / misc_settings.ini
blobd5c554c23261168aaf4e2728940d959699f45e2e
1 ; $Id$
3 ; This file is part of OpenTTD.
4 ; OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
5 ; OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
6 ; See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
9 [pre-amble]
10 extern char _config_language_file[MAX_PATH];
12 static const char *_support8bppmodes = "no|system|hardware";
14 static const SettingDescGlobVarList _misc_settings[] = {
15 [post-amble]
17 [templates]
18 SDTG_LIST = SDTG_LIST($name, $type, $length, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
19 SDTG_MMANY = SDTG_MMANY($name, $type, $flags, $guiflags, $var, $def, $full, $str, $strhelp, $strval, $proc, $from, $to, $cat),
20 SDTG_OMANY = SDTG_OMANY($name, $type, $flags, $guiflags, $var, $def, $max, $full, $str, $strhelp, $strval, $proc, $from, $to, $cat),
21 SDTG_STR = SDTG_STR($name, $type, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
22 SDTG_BOOL = SDTG_BOOL($name, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
23 SDTG_VAR = SDTG_VAR($name, $type, $flags, $guiflags, $var, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat),
24 SDTG_END = SDTG_END()
26 [defaults]
27 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
28 guiflags = 0
29 interval = 0
30 str = STR_NULL
31 strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
32 strval = STR_NULL
33 proc = NULL
34 load = NULL
35 from = 0
36 to = SL_MAX_VERSION
37 cat = SC_ADVANCED
41 [SDTG_MMANY]
42 name = ""display_opt""
43 type = SLE_UINT8
44 var = _display_opt
45 def = (1 << DO_SHOW_TOWN_NAMES | 1 << DO_SHOW_STATION_NAMES | 1 << DO_SHOW_SIGNS | 1 << DO_FULL_ANIMATION | 1 << DO_RAIL_FENCES | 1 << DO_FULL_DETAIL | 1 << DO_SHOW_WAYPOINT_NAMES | 1 << DO_SHOW_COMPETITOR_SIGNS)
46 full = ""SHOW_TOWN_NAMES|SHOW_STATION_NAMES|SHOW_SIGNS|FULL_ANIMATION|RAIL_FENCES|FULL_DETAIL|WAYPOINTS|SHOW_COMPETITOR_SIGNS""
48 [SDTG_BOOL]
49 name = ""fullscreen""
50 var = _fullscreen
51 def = false
52 cat = SC_BASIC
54 [SDTG_OMANY]
55 name = ""support8bpp""
56 type = SLE_UINT8
57 var = _support8bpp
58 def = 0
59 max = 2
60 full = _support8bppmodes
61 cat = SC_BASIC
63 [SDTG_STR]
64 name = ""graphicsset""
65 type = SLE_STRQ
66 var = BaseGraphics::ini_set
67 def = NULL
68 cat = SC_BASIC
70 [SDTG_STR]
71 name = ""soundsset""
72 type = SLE_STRQ
73 var = BaseSounds::ini_set
74 def = NULL
75 cat = SC_BASIC
77 [SDTG_STR]
78 name = ""musicset""
79 type = SLE_STRQ
80 var = BaseMusic::ini_set
81 def = NULL
82 cat = SC_BASIC
84 [SDTG_STR]
85 name = ""videodriver""
86 type = SLE_STRQ
87 var = _ini_videodriver
88 def = NULL
89 cat = SC_EXPERT
91 [SDTG_STR]
92 name = ""musicdriver""
93 type = SLE_STRQ
94 var = _ini_musicdriver
95 def = NULL
96 cat = SC_EXPERT
98 [SDTG_STR]
99 name = ""sounddriver""
100 type = SLE_STRQ
101 var = _ini_sounddriver
102 def = NULL
103 cat = SC_EXPERT
105 [SDTG_STR]
106 name = ""blitter""
107 type = SLE_STRQ
108 var = _ini_blitter
109 def = NULL
111 [SDTG_STR]
112 name = ""language""
113 type = SLE_STRB
114 var = _config_language_file
115 def = NULL
116 cat = SC_BASIC
118 ; workaround for implicit lengthof() in SDTG_LIST
119 [SDTG_LIST]
120 name = ""resolution""
121 type = SLE_INT
122 length = 2
123 var = _cur_resolution
124 def = ""640,480""
125 cat = SC_BASIC
127 [SDTG_STR]
128 name = ""screenshot_format""
129 type = SLE_STRB
130 var = _screenshot_format_name
131 def = NULL
132 cat = SC_EXPERT
134 [SDTG_STR]
135 name = ""savegame_format""
136 type = SLE_STRB
137 var = _savegame_format
138 def = NULL
139 cat = SC_EXPERT
141 [SDTG_BOOL]
142 name = ""rightclick_emulate""
143 var = _rightclick_emulate
144 def = false
146 [SDTG_STR]
147 ifdef = WITH_FREETYPE
148 name = ""small_font""
149 type = SLE_STRB
150 var = _freetype.small.font
151 def = NULL
153 [SDTG_STR]
154 ifdef = WITH_FREETYPE
155 name = ""medium_font""
156 type = SLE_STRB
157 var = _freetype.medium.font
158 def = NULL
160 [SDTG_STR]
161 ifdef = WITH_FREETYPE
162 name = ""large_font""
163 type = SLE_STRB
164 var = _freetype.large.font
165 def = NULL
167 [SDTG_STR]
168 ifdef = WITH_FREETYPE
169 name = ""mono_font""
170 type = SLE_STRB
171 var = _freetype.mono.font
172 def = NULL
174 [SDTG_VAR]
175 ifdef = WITH_FREETYPE
176 name = ""small_size""
177 type = SLE_UINT
178 var = _freetype.small.size
179 def = 0
180 min = 0
181 max = 72
183 [SDTG_VAR]
184 ifdef = WITH_FREETYPE
185 name = ""medium_size""
186 type = SLE_UINT
187 var = _freetype.medium.size
188 def = 0
189 min = 0
190 max = 72
192 [SDTG_VAR]
193 ifdef = WITH_FREETYPE
194 name = ""large_size""
195 type = SLE_UINT
196 var = _freetype.large.size
197 def = 0
198 min = 0
199 max = 72
201 [SDTG_VAR]
202 ifdef = WITH_FREETYPE
203 name = ""mono_size""
204 type = SLE_UINT
205 var = _freetype.mono.size
206 def = 0
207 min = 0
208 max = 72
210 [SDTG_BOOL]
211 ifdef = WITH_FREETYPE
212 name = ""small_aa""
213 var = _freetype.small.aa
214 def = false
216 [SDTG_BOOL]
217 ifdef = WITH_FREETYPE
218 name = ""medium_aa""
219 var = _freetype.medium.aa
220 def = false
222 [SDTG_BOOL]
223 ifdef = WITH_FREETYPE
224 name = ""large_aa""
225 var = _freetype.large.aa
226 def = false
228 [SDTG_BOOL]
229 ifdef = WITH_FREETYPE
230 name = ""mono_aa""
231 var = _freetype.mono.aa
232 def = false
234 [SDTG_VAR]
235 name = ""sprite_cache_size_px""
236 type = SLE_UINT
237 var = _sprite_cache_size
238 def = 128
239 min = 1
240 max = 512
241 cat = SC_EXPERT
243 [SDTG_VAR]
244 name = ""player_face""
245 type = SLE_UINT32
246 var = _company_manager_face
247 def = 0
248 min = 0
249 max = 0xFFFFFFFF
250 cat = SC_BASIC
252 [SDTG_VAR]
253 name = ""transparency_options""
254 type = SLE_UINT
255 var = _transparency_opt
256 def = 0
257 min = 0
258 max = 0x3FF
259 cat = SC_BASIC
261 [SDTG_VAR]
262 name = ""transparency_locks""
263 type = SLE_UINT
264 var = _transparency_lock
265 def = 0
266 min = 0
267 max = 0x3FF
268 cat = SC_BASIC
270 [SDTG_VAR]
271 name = ""invisibility_options""
272 type = SLE_UINT
273 var = _invisibility_opt
274 def = 0
275 min = 0
276 max = 0xFF
277 cat = SC_BASIC
279 [SDTG_STR]
280 name = ""keyboard""
281 type = SLE_STRB
282 var = _keyboard_opt[0]
283 def = NULL
284 cat = SC_EXPERT
286 [SDTG_STR]
287 name = ""keyboard_caps""
288 type = SLE_STRB
289 var = _keyboard_opt[1]
290 def = NULL
291 cat = SC_EXPERT
293 [SDTG_VAR]
294 name = ""last_newgrf_count""
295 type = SLE_UINT32
296 var = _settings_client.gui.last_newgrf_count
297 def = 100
298 min = 0
299 max = UINT32_MAX
300 cat = SC_EXPERT
302 [SDTG_VAR]
303 name = ""gui_zoom""
304 type = SLE_UINT8
305 var = _gui_zoom
306 def = ZOOM_LVL_OUT_4X
307 min = ZOOM_LVL_MIN
308 max = ZOOM_LVL_OUT_4X
309 cat = SC_BASIC
311 [SDTG_END]