equal
deleted
inserted
replaced
18 |
18 |
19 extern CurrencySpec _currency_specs[]; |
19 extern CurrencySpec _currency_specs[]; |
20 extern const StringID _currency_string_list[]; |
20 extern const StringID _currency_string_list[]; |
21 |
21 |
22 // XXX small hack, but makes the rest of the code a bit nicer to read |
22 // XXX small hack, but makes the rest of the code a bit nicer to read |
23 #define _custom_currency (_currency_specs[23]) |
23 #define CUSTOM_CURRENCY_ID 23 |
|
24 #define _custom_currency (_currency_specs[CUSTOM_CURRENCY_ID]) |
24 #define _currency ((const CurrencySpec*)&_currency_specs[_opt_ptr->currency]) |
25 #define _currency ((const CurrencySpec*)&_currency_specs[_opt_ptr->currency]) |
25 |
26 |
26 uint GetMaskOfAllowedCurrencies(void); |
27 uint GetMaskOfAllowedCurrencies(void); |
27 void CheckSwitchToEuro(void); |
28 void CheckSwitchToEuro(void); |
28 |
29 |