| OpenTTD
    | 
Specification of a currency. More...
#include <currency.h>
| Data Fields | |
| uint16 | rate | 
| char | separator [8] | 
| Year | to_euro | 
| Year of switching to the Euro. May also be CF_NOEURO or CF_ISEURO. | |
| char | prefix [16] | 
| char | suffix [16] | 
| byte | symbol_pos | 
| The currency symbol is represented by two possible values, prefix and suffix Usage of one or the other is determined by symbol_pos. | |
| StringID | name | 
Specification of a currency.
Definition at line 65 of file currency.h.
| byte CurrencySpec::symbol_pos | 
The currency symbol is represented by two possible values, prefix and suffix Usage of one or the other is determined by symbol_pos.
0 = prefix 1 = suffix 2 = both : Special case only for custom currency. It is not a spec from Newgrf, rather a way to let users do what they want with custom currency
Definition at line 80 of file currency.h.
Referenced by GlobalVarChangeInfo().
 1.8.1.2
 1.8.1.2