Add: INR currency (#8136)
[openttd-github.git] / src / table / currency_settings.ini
blob34199501f3e9d2f00432989b0a05867990b19261
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]
8 static const SettingDesc _currency_settings[] = {
9 [post-amble]
11 [templates]
12 SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat),
13 SDT_CHR = SDT_CHR($base, $var, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
14 SDT_STR = SDT_STR($base, $var, $type, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
15 SDT_END = SDT_END()
17 [defaults]
18 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
19 guiflags = SGF_NONE
20 interval = 0
21 str = STR_NULL
22 strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
23 strval = STR_NULL
24 proc = nullptr
25 load = nullptr
26 from = SL_MIN_VERSION
27 to = SL_MAX_VERSION
28 cat = SC_ADVANCED
32 [SDT_VAR]
33 base = CurrencySpec
34 var = rate
35 type = SLE_UINT16
36 def = 1
37 min = 0
38 max = UINT16_MAX
40 [SDT_CHR]
41 base = CurrencySpec
42 var = separator
43 def = "".""
44 cat = SC_BASIC
46 [SDT_VAR]
47 base = CurrencySpec
48 var = to_euro
49 type = SLE_INT32
50 def = 0
51 min = MIN_YEAR
52 max = MAX_YEAR
54 [SDT_STR]
55 base = CurrencySpec
56 var = prefix
57 type = SLE_STRBQ
58 def = nullptr
60 [SDT_STR]
61 base = CurrencySpec
62 var = suffix
63 type = SLE_STRBQ
64 def = "" credits""
66 [SDT_END]