Files @ r1725:dcb3319784d1
Branch filter:

Location: cpp/openttd-patchpack/source/table/currency.h

Darkvater
(svn r2229) - Fix: [ 1188777 ] Non-existing sprite #5125 (presignal). The DOS grf file trgi.grf has 6 less sprites than the windows one. This results in some segfaults for certain sprites. Fixed it by added a dummy grf file consisting ofr 6 sprites and loaded when using DOS gfx at the appropiate place.
// exchange rate    prefix
// |  separator        |     postfix
// |   |    Euro year  |       |
// |   |    |          |       |
CurrencySpec _currency_specs[] = {
{ 1,   ',', CF_NOEURO, "\xA3",   "" }, // british pounds
{ 2,   ',', CF_NOEURO, "$",      "" }, // us dollars
{ 2,   ',', CF_ISEURO, "ยค",      "" }, // Euro
{ 200, ',', CF_NOEURO, "\xA5",   "" }, // yen

{ 19,  ',', 2002,         "", " S." }, // austrian schilling
{ 57,  ',', 2002,     "BEF ",    "" }, // belgian franc
{ 2,   ',', CF_NOEURO,"CHF ",    "" }, // swiss franc
{ 50,  ',', CF_NOEURO,    "", " Kc" }, // czech koruna // TODO: Should use the "c" with an upside down "^"
{ 4,   '.', 2002,      "DM ",    "" }, // deutsche mark
{ 10,  '.', CF_NOEURO,    "", " kr" }, // danish krone
{ 200, '.', 2002,     "Pts ",    "" }, // spanish pesetas
{ 8,   ',', 2002,         "", " MK" }, // finnish markka
{ 10,  '.', 2002,      "FF ",    "" }, // french francs
{ 480, ',', 2002,         "", "Dr." }, // greek drachma
{ 376, ',', 2002,         "", " Ft" }, // forint
{ 130, '.', CF_NOEURO,    "", " Kr" }, // icelandic krona
{ 2730,',', 2002,         "", " L." }, // italian lira
{ 3,   ',', 2002,     "NLG ",    "" }, // dutch gulden
{ 11,  '.', CF_NOEURO,    "", " Kr" }, // norwegian krone
{ 6,   ' ', CF_NOEURO,    "", " zl" }, // polish zloty
{ 6,   '.', CF_NOEURO,    ""," Lei" }, // romanian Lei
{ 5,   ' ', CF_NOEURO,    "",  " p" }, // russian rouble
{ 13,  '.', CF_NOEURO,    "", " Kr" }, // swedish krona
{ 1,   ' ', CF_NOEURO,    "",    "" }, // custom currency
};