(svn r27707) -Fix: Make the result of NewGRF's CARGO_NAME string code reliably print...
[openttd.git] / src / table / win32_settings.ini
blob1e0c9ad02304e4b8a00470ef41f229a04d63c979
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 /* win32_v.cpp only settings */
11 #if defined(WIN32) && !defined(DEDICATED)
12 extern bool _force_full_redraw, _window_maximize;
13 extern uint _display_hz;
15 static const SettingDescGlobVarList _win32_settings[] = {
16 [post-amble]
18 #endif /* WIN32 */
19 [templates]
20 SDTG_BOOL = SDTG_BOOL($name, $flags, $guiflags, $var, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
21 SDTG_VAR = SDTG_VAR($name, $type, $flags, $guiflags, $var, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat),
22 SDTG_END = SDTG_END()
24 [defaults]
25 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
26 guiflags = 0
27 interval = 0
28 str = STR_NULL
29 strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
30 strval = STR_NULL
31 proc = NULL
32 load = NULL
33 from = 0
34 to = SL_MAX_VERSION
35 cat = SC_ADVANCED
39 [SDTG_VAR]
40 name = ""display_hz""
41 type = SLE_UINT
42 var = _display_hz
43 def = 0
44 min = 0
45 max = 120
46 cat = SC_EXPERT
48 [SDTG_BOOL]
49 name = ""force_full_redraw""
50 var = _force_full_redraw
51 def = false
52 cat = SC_EXPERT
54 [SDTG_BOOL]
55 name = ""window_maximize""
56 var = _window_maximize
57 def = false
58 cat = SC_BASIC
60 [SDTG_END]