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 24 of file currency.h.
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 39 of file currency.h.
Referenced by GlobalVarChangeInfo().
1.7.1