src/currency.h
branchcpp_gui
changeset 6303 84c215fc8eb8
parent 6298 c30fe89622df
equal deleted inserted replaced
6302:bd80897189ba 6303:84c215fc8eb8
    38 #define _custom_currency (_currency_specs[CUSTOM_CURRENCY_ID])
    38 #define _custom_currency (_currency_specs[CUSTOM_CURRENCY_ID])
    39 #define _currency ((const CurrencySpec*)&_currency_specs[_opt_ptr->currency])
    39 #define _currency ((const CurrencySpec*)&_currency_specs[_opt_ptr->currency])
    40 
    40 
    41 uint GetMaskOfAllowedCurrencies();
    41 uint GetMaskOfAllowedCurrencies();
    42 void CheckSwitchToEuro();
    42 void CheckSwitchToEuro();
    43 void ResetCurrencies();
    43 void ResetCurrencies(bool preserve_custom = true);
    44 StringID* BuildCurrencyDropdown();
    44 StringID* BuildCurrencyDropdown();
    45 byte GetNewgrfCurrencyIdConverted(byte grfcurr_id);
    45 byte GetNewgrfCurrencyIdConverted(byte grfcurr_id);
    46 
    46 
    47 #endif /* CURRENCY_H */
    47 #endif /* CURRENCY_H */