Add: INR currency (#8136)
[openttd-github.git] / src / table / window_settings.ini
blobfc0c57b39e8da288aa682c93d534a5f6e529d542
1 ; This file is part of OpenTTD.
2 ; 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.
3 ; 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.
4 ; 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/>.
7 [pre-amble]
9 static const SettingDesc _window_settings[] = {
10 [post-amble]
12 [templates]
13 SDT_BOOL = SDT_BOOL($base, $var, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
14 SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat),
15 SDT_END = SDT_END()
17 [defaults]
18 base = WindowDesc
19 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
20 guiflags = SGF_NONE
21 interval = 0
22 str = STR_NULL
23 strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
24 strval = STR_NULL
25 proc = nullptr
26 load = nullptr
27 from = SL_MIN_VERSION
28 to = SL_MAX_VERSION
29 cat = SC_ADVANCED
33 [SDT_BOOL]
34 var = pref_sticky
35 def = false
37 [SDT_VAR]
38 var = pref_width
39 type = SLE_INT16
40 def = 0
41 min = 0
42 max = 32000
44 [SDT_VAR]
45 var = pref_height
46 type = SLE_INT16
47 def = 0
48 min = 0
49 max = 32000
51 [SDT_END]