table/currency.h
author tron
Sun, 17 Jul 2005 11:09:03 +0000
changeset 2088 d7a97ef74701
parent 768 c833f6f2742d
child 2186 db48cf29b983
permissions -rw-r--r--
(svn r2598) Small cleanup, especially get rid of a FindLandscapeHeight(), because it was overkill
762
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
     1
// exchange rate    prefix
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
     2
// |  separator        |     postfix
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
     3
// |   |    Euro year  |       |
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
     4
// |   |    |          |       |
759
a445474d7c21 (svn r1215) Feature: You can now make a custom currency by chosing "Custom..."
dominik
parents:
diff changeset
     5
CurrencySpec _currency_specs[] = {
762
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
     6
{ 1,   ',', CF_NOEURO, "\xA3",   "" }, // british pounds
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
     7
{ 2,   ',', CF_NOEURO, "$",      "" }, // us dollars
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
     8
{ 2,   ',', CF_ISEURO, "¤",      "" }, // Euro
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
     9
{ 200, ',', CF_NOEURO, "\xA5",   "" }, // yen
768
c833f6f2742d (svn r1233) Fixed several currency issues. Now currencies should work correctly again.
dominik
parents: 762
diff changeset
    10
c833f6f2742d (svn r1233) Fixed several currency issues. Now currencies should work correctly again.
dominik
parents: 762
diff changeset
    11
{ 19,  ',', 2002,         "", " S." }, // austrian schilling
762
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
    12
{ 57,  ',', 2002,     "BEF ",    "" }, // belgian franc
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
    13
{ 2,   ',', CF_NOEURO,"CHF ",    "" }, // swiss franc
768
c833f6f2742d (svn r1233) Fixed several currency issues. Now currencies should work correctly again.
dominik
parents: 762
diff changeset
    14
{ 50,  ',', CF_NOEURO,    "", " Kc" }, // czech koruna // TODO: Should use the "c" with an upside down "^"
762
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
    15
{ 4,   '.', 2002,      "DM ",    "" }, // deutsche mark
768
c833f6f2742d (svn r1233) Fixed several currency issues. Now currencies should work correctly again.
dominik
parents: 762
diff changeset
    16
{ 10,  '.', CF_NOEURO,    "", " kr" }, // danish krone
c833f6f2742d (svn r1233) Fixed several currency issues. Now currencies should work correctly again.
dominik
parents: 762
diff changeset
    17
{ 200, '.', 2002,     "Pts ",    "" }, // spanish pesetas
c833f6f2742d (svn r1233) Fixed several currency issues. Now currencies should work correctly again.
dominik
parents: 762
diff changeset
    18
{ 8,   ',', 2002,         "", " MK" }, // finnish markka
762
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
    19
{ 10,  '.', 2002,      "FF ",    "" }, // french francs
768
c833f6f2742d (svn r1233) Fixed several currency issues. Now currencies should work correctly again.
dominik
parents: 762
diff changeset
    20
{ 480, ',', 2002,         "", "Dr." }, // greek drachma
762
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
    21
{ 376, ',', 2002,         "", " Ft" }, // forint
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
    22
{ 130, '.', CF_NOEURO,    "", " Kr" }, // icelandic krona
768
c833f6f2742d (svn r1233) Fixed several currency issues. Now currencies should work correctly again.
dominik
parents: 762
diff changeset
    23
{ 2730,',', 2002,         "", " L." }, // italian lira
c833f6f2742d (svn r1233) Fixed several currency issues. Now currencies should work correctly again.
dominik
parents: 762
diff changeset
    24
{ 3,   ',', 2002,     "NLG ",    "" }, // dutch gulden
762
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
    25
{ 11,  '.', CF_NOEURO,    "", " Kr" }, // norwegian krone
768
c833f6f2742d (svn r1233) Fixed several currency issues. Now currencies should work correctly again.
dominik
parents: 762
diff changeset
    26
{ 6,   ' ', CF_NOEURO,    "", " zl" }, // polish zloty
762
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
    27
{ 6,   '.', CF_NOEURO,    ""," Lei" }, // romanian Lei
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
    28
{ 5,   ' ', CF_NOEURO,    "",  " p" }, // russian rouble
768
c833f6f2742d (svn r1233) Fixed several currency issues. Now currencies should work correctly again.
dominik
parents: 762
diff changeset
    29
{ 13,  '.', CF_NOEURO,    "", " Kr" }, // swedish krona
762
ef014856bd88 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
dominik
parents: 759
diff changeset
    30
{ 1,   ' ', CF_NOEURO,    "",    "" }, // custom currency
759
a445474d7c21 (svn r1215) Feature: You can now make a custom currency by chosing "Custom..."
dominik
parents:
diff changeset
    31
};
768
c833f6f2742d (svn r1233) Fixed several currency issues. Now currencies should work correctly again.
dominik
parents: 762
diff changeset
    32