diff options
author | alberth <alberth@openttd.org> | 2011-03-03 21:04:17 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2011-03-03 21:04:17 +0000 |
commit | 74d756799cd5ae6abad5ed4ea0c97ce74b245f05 (patch) | |
tree | 9cd16faac1092382ca5416780b299236f2d6eb2b /src/table/currency_settings.ini | |
parent | 98d5302c63c13e42dadaa3ea49ed0549fb8fd154 (diff) | |
download | openttd-74d756799cd5ae6abad5ed4ea0c97ce74b245f05.tar.xz |
(svn r22172) -Add: Add ini files containing the table/settings data.
Diffstat (limited to 'src/table/currency_settings.ini')
-rw-r--r-- | src/table/currency_settings.ini | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/src/table/currency_settings.ini b/src/table/currency_settings.ini new file mode 100644 index 000000000..82094f26a --- /dev/null +++ b/src/table/currency_settings.ini @@ -0,0 +1,67 @@ +[pre-amble] +static const SettingDesc _currency_settings[] = { +[post-amble] +}; +[templates] +SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $proc), +SDT_CHR = SDT_CHR($base, $var, $flags, $guiflags, $def, $str, $proc), +SDT_STR = SDT_STR($base, $var, $type, $flags, $guiflags, $def, $str, $proc), +SDT_END = SDT_END() + +[SDT_VAR] +base = CurrencySpec +var = rate +type = SLE_UINT16 +flags = S +guiflags = 0 +def = 1 +min = 0 +max = UINT16_MAX +interval = 0 +str = STR_NULL +proc = NULL + +[SDT_CHR] +base = CurrencySpec +var = separator +flags = S +guiflags = 0 +def = ""."" +str = STR_NULL +proc = NULL + +[SDT_VAR] +base = CurrencySpec +var = to_euro +type = SLE_INT32 +flags = S +guiflags = 0 +def = 0 +min = MIN_YEAR +max = MAX_YEAR +interval = 0 +str = STR_NULL +proc = NULL + +[SDT_STR] +base = CurrencySpec +var = prefix +type = SLE_STRBQ +flags = S +guiflags = 0 +def = NULL +str = STR_NULL +proc = NULL + +[SDT_STR] +base = CurrencySpec +var = suffix +type = SLE_STRBQ +flags = S +guiflags = 0 +def = "" credits"" +str = STR_NULL +proc = NULL + +[SDT_END] + |