MoreCurrenciesAndEuro

From TTWiki
Revision as of 19:09, 12 June 2011 by Orudge (talk | contribs) (3 revisions)
Jump to navigationJump to search

Enable selection of more currencies and introduce the Euro in 2002

More Currencies and Euro

Enable selection of more currencies and introduce the Euro in 2002

-=Switch=-

Configuration file: morecurrencies

Command line: -XC

-=Description=-

This switch adds more currencies to TTD.  It adds the Hungarian Forint,  Polish Zloty, Austrian Shilling, Belgian Franc, Danish Krone, Finnish Markka, Greek Drachma, Swiss Franc, Dutch Guilder, Italian Lira, Swedish Krona, Russian Rubel and, after 2002, the Euro. If you're using DM, FF or Pt as your currency in 2002,  the currency is changed to the Euro and the national currencies become unavailable.  This happens to the Forint in 2008 as well.

You can fully customize each of the new currencies, see Currency Entries.

This switch is a bit switch.  To find out how that works, see Bit Switches, or simply add up the values of the options you want:

||Bit|Value|Name|Meaning

0|1|symbefore|Currency symbol displayed always before number

1|2|symafter|Currency symbol displayed always after number

2|4|noeuro|Do not introduce the Euro

3|8|comma|Always use comma to separate thousands

4|16|period|Always use period to separate thousands||

Bits 0 and 1 are of course mutually exclusive.  If either is set, it applies to all currencies.  The same is true for Bits 3 and 4.

This patch was contributed by Csaba Varga.