Difference between revisions of "MoreCurrenciesAndEuro"

From TTWiki
Jump to navigationJump to search
m (3 revisions)
m (Bot: Automated text replacement (--= +==))
Line 1: Line 1:
   
'''''Enable selection of more currencies and introduce the Euro in 2002'''''
 
   
 
=More Currencies and Euro=
 
=More Currencies and Euro=
Line 6: Line 5:
 
Enable selection of more currencies and introduce the Euro in 2002
 
Enable selection of more currencies and introduce the Euro in 2002
   
-=Switch=-
+
==Switch==
   
 
Configuration file: morecurrencies
 
Configuration file: morecurrencies
Line 12: Line 11:
 
Command line: -XC
 
Command line: -XC
   
-=Description=-
+
==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.
+
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 [[CurrencyEntries|Currency Entries]].
+
You can fully customize each of the new currencies, see [[CurrencyEntries| Currency Entries]].
   
This switch is a bit switch.  To find out how that works, see [[BitSwitches|Bit Switches]], or simply add up the values of the options you want:
+
This switch is a bit switch. To find out how that works, see [[BitSwitches| Bit Switches]], or simply add up the values of the options you want:
   
  +
{|
||Bit|Value|Name|Meaning
+
!Bit!!Value!!Name!!Meaning
   
  +
|-
0|1|symbefore|Currency symbol displayed always before number
+
|0||1||symbefore||Currency symbol displayed always before number
   
  +
|-
1|2|symafter|Currency symbol displayed always after number
+
|1||2||symafter||Currency symbol displayed always after number
   
  +
|-
2|4|noeuro|Do not introduce the Euro
+
|2||4||noeuro||Do not introduce the Euro
   
  +
|-
3|8|comma|Always use comma to separate thousands
+
|3||8||comma||Always use comma to separate thousands
   
  +
|-
4|16|period|Always use period 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.
+
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.
 
This patch was contributed by Csaba Varga.

Revision as of 11:14, 15 June 2011


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.