summaryrefslogtreecommitdiff
path: root/table/currency.h
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-22 16:54:55 +0000
committerdominik <dominik@openttd.org>2004-12-22 16:54:55 +0000
commit13eba00152fda7a1458b7820e0787b001c4e772a (patch)
tree185e746f2a0c7915cb636b6cc2d0c25d916eab2c /table/currency.h
parenta5a49135bc688b76afa64e92fb903dbf9ad6b2e1 (diff)
downloadopenttd-13eba00152fda7a1458b7820e0787b001c4e772a.tar.xz
(svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
Diffstat (limited to 'table/currency.h')
-rw-r--r--table/currency.h52
1 files changed, 28 insertions, 24 deletions
diff --git a/table/currency.h b/table/currency.h
index 7e99e8f26..3136e7675 100644
--- a/table/currency.h
+++ b/table/currency.h
@@ -1,26 +1,30 @@
-
+// exchange rate prefix
+// | separator | postfix
+// | | Euro year | |
+// | | | | |
CurrencySpec _currency_specs[] = {
-{ 1, ',', CF_NOEURO, "\xA3", "" }, // british pounds
-{ 2, ',', CF_NOEURO, "$", "" }, // us dollars
-{ 10, '.', 2002, "FF ", "" }, // french francs
-{ 4, '.', 2002, "DM ", "" }, // deutsche mark
-{ 200, ',', CF_NOEURO, "\xA5", "" }, // yen
-{ 200, '.', 2002, "Pt", "" }, // spanish pesetas
-{ 376, ',', 2002, "", " Ft" },
-{ 6, ' ', CF_NOEURO, "", " zl" },
-{ 19, ',', 2002, "ATS ", "" },
-{ 57, ',', 2002, "BEF ", "" },
-{ 10, '.', CF_NOEURO, "", " kr" },
-{ 8, ',', 2002, "FIM ", "" },
-{ 480, ',', 2002, "GRD ", "" },
-{ 2, ',', CF_NOEURO, "CHF ", "" },
-{ 3, ',', 2002, "NLG ", "" },
-{ 2730,',', 2002, "ITL ", "" },
-{ 13, '.', CF_NOEURO, "", " kr" },
-{ 5, ' ', CF_NOEURO, "", " rur" },
-{ 50, ',', CF_NOEURO, "", " Kc" },
-{ 130, '.', CF_NOEURO, "", " kr" },
-{ 11, '.', CF_NOEURO, "", " kr" },
-{ 2, ',', CF_ISEURO, "¤", "" },
-{ 6, '.', CF_NOEURO, "", " Lei" },
+{ 1, ',', CF_NOEURO, "\xA3", "" }, // british pounds
+{ 2, ',', CF_NOEURO, "$", "" }, // us dollars
+{ 2, ',', CF_ISEURO, "¤", "" }, // Euro
+{ 200, ',', CF_NOEURO, "\xA5", "" }, // yen
+{ 57, ',', 2002, "BEF ", "" }, // belgian franc
+{ 2, ',', CF_NOEURO,"CHF ", "" }, // swiss franc
+{ 480, ',', 2002, "", "Dr." }, // greek drachma
+{ 4, '.', 2002, "DM ", "" }, // deutsche mark
+{ 10, '.', 2002, "FF ", "" }, // french francs
+{ 376, ',', 2002, "", " Ft" }, // forint
+{ 50, ',', CF_NOEURO, "", " Kc" }, // czech koruna // TODO: Should use the "c" with an upside down "^"
+{ 13, '.', CF_NOEURO, "", " Kr" }, // swedish krona
+{ 130, '.', CF_NOEURO, "", " Kr" }, // icelandic krona
+{ 11, '.', CF_NOEURO, "", " Kr" }, // norwegian krone
+{ 10, '.', CF_NOEURO, "", " kr" }, // danish krone
+{ 2730,',', 2002, "", " L." }, // italian lira
+{ 6, '.', CF_NOEURO, ""," Lei" }, // romanian Lei
+{ 8, ',', 2002, "", " MK" }, // finnish markka
+{ 3, ',', 2002, "NLG ", "" }, // dutch gulden
+{ 5, ' ', CF_NOEURO, "", " p" }, // russian rouble
+{ 200, '.', 2002, "Pts ", "" }, // spanish pesetas
+{ 19, ',', 2002, "", " S." }, // austrian schilling
+{ 6, ' ', CF_NOEURO, "", " zl" }, // polish zloty
+{ 1, ' ', CF_NOEURO, "", "" }, // custom currency
};