Remove costly recalculation of a date format we already have.
[openttd-joker.git] / src / table / currency_settings.ini
blob5874e301f8c71a5fbdaf73d1b232a5df68bd7549
1 ; $Id: currency_settings.ini 24671 2012-11-08 10:04:00Z frosch $
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 static const SettingDesc _currency_settings[] = {
11 [post-amble]
13 [templates]
14 SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strhelp, $strval, $proc, $from, $to, $cat),
15 SDT_CHR = SDT_CHR($base, $var, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
16 SDT_STR = SDT_STR($base, $var, $type, $flags, $guiflags, $def, $str, $strhelp, $strval, $proc, $from, $to, $cat),
17 SDT_END = SDT_END()
19 [defaults]
20 flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
21 guiflags = 0
22 interval = 0
23 str = STR_NULL
24 strhelp = STR_CONFIG_SETTING_NO_EXPLANATION_AVAILABLE_HELPTEXT
25 strval = STR_NULL
26 proc = NULL
27 load = NULL
28 from = 0
29 to = SL_MAX_VERSION
30 cat = SC_ADVANCED
34 [SDT_VAR]
35 base = CurrencySpec
36 var = rate
37 type = SLE_UINT16
38 def = 1
39 min = 0
40 max = UINT16_MAX
42 [SDT_CHR]
43 base = CurrencySpec
44 var = separator
45 def = "".""
46 cat = SC_BASIC
48 [SDT_VAR]
49 base = CurrencySpec
50 var = to_euro
51 type = SLE_INT32
52 def = 0
53 min = MIN_YEAR
54 max = MAX_YEAR
56 [SDT_STR]
57 base = CurrencySpec
58 var = prefix
59 type = SLE_STRBQ
60 def = NULL
62 [SDT_STR]
63 base = CurrencySpec
64 var = suffix
65 type = SLE_STRBQ
66 def = "" credits""
68 [SDT_END]