(svn r27707) -Fix: Make the result of NewGRF's CARGO_NAME string code reliably print...
[openttd.git] / src / table / window_settings.ini
blobad77423d9d3309a022e407ae162b6d0796716a33
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]
11 static const SettingDesc _window_settings[] = {
12 [post-amble]
14 [templates]
15 SDT_BOOL = SDT_BOOL($base, $var, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
16 SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat),
17 SDT_END = SDT_END()
19 [defaults]
20 base = WindowDesc
21 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
22 guiflags = 0
23 interval = 0
24 str = STR_NULL
25 strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
26 strval = STR_NULL
27 proc = NULL
28 load = NULL
29 from = 0
30 to = SL_MAX_VERSION
31 cat = SC_ADVANCED
35 [SDT_BOOL]
36 var = pref_sticky
37 def = false
39 [SDT_VAR]
40 var = pref_width
41 type = SLE_INT16
42 def = 0
43 min = 0
44 max = 32000
46 [SDT_VAR]
47 var = pref_height
48 type = SLE_INT16
49 def = 0
50 min = 0
51 max = 32000
53 [SDT_END]