mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-13 02:52:37 +00:00
Add: Mexican Peso currency
OpenTTD doesn't have any pesos, so I've added Mexican pesos, at its current exchange rate: 1GBP = 24.39MXN, rounded to 24.
This commit is contained in:
parent
82e530b517
commit
0f9d1019e6
@ -63,6 +63,7 @@ static const CurrencySpec origin_currency_specs[CURRENCY_END] = {
|
|||||||
{ 3, "", CF_NOEURO, "", NBSP "GEL", 1, STR_GAME_OPTIONS_CURRENCY_GEL }, ///< Georgian Lari
|
{ 3, "", CF_NOEURO, "", NBSP "GEL", 1, STR_GAME_OPTIONS_CURRENCY_GEL }, ///< Georgian Lari
|
||||||
{ 4901, "", CF_NOEURO, "", NBSP "Rls", 1, STR_GAME_OPTIONS_CURRENCY_IRR }, ///< Iranian Rial
|
{ 4901, "", CF_NOEURO, "", NBSP "Rls", 1, STR_GAME_OPTIONS_CURRENCY_IRR }, ///< Iranian Rial
|
||||||
{ 80, "", CF_NOEURO, "", NBSP "rub", 1, STR_GAME_OPTIONS_CURRENCY_RUB }, ///< New Russian Ruble
|
{ 80, "", CF_NOEURO, "", NBSP "rub", 1, STR_GAME_OPTIONS_CURRENCY_RUB }, ///< New Russian Ruble
|
||||||
|
{ 24, "", CF_NOEURO, "$", "", 0, STR_GAME_OPTIONS_CURRENCY_MXN }, ///< Mexican peso
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Array of currencies used by the system */
|
/** Array of currencies used by the system */
|
||||||
|
@ -59,6 +59,7 @@ enum Currencies {
|
|||||||
CURRENCY_GEL, ///< Georgian Lari
|
CURRENCY_GEL, ///< Georgian Lari
|
||||||
CURRENCY_IRR, ///< Iranian Rial
|
CURRENCY_IRR, ///< Iranian Rial
|
||||||
CURRENCY_RUB, ///< New Russian Ruble
|
CURRENCY_RUB, ///< New Russian Ruble
|
||||||
|
CURRENCY_MXN, ///< Mexican Peso
|
||||||
CURRENCY_END, ///< always the last item
|
CURRENCY_END, ///< always the last item
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -930,6 +930,7 @@ STR_GAME_OPTIONS_CURRENCY_CUSTOM :Custom...
|
|||||||
STR_GAME_OPTIONS_CURRENCY_GEL :Georgian Lari (GEL)
|
STR_GAME_OPTIONS_CURRENCY_GEL :Georgian Lari (GEL)
|
||||||
STR_GAME_OPTIONS_CURRENCY_IRR :Iranian Rial (IRR)
|
STR_GAME_OPTIONS_CURRENCY_IRR :Iranian Rial (IRR)
|
||||||
STR_GAME_OPTIONS_CURRENCY_RUB :New Russian Ruble (RUB)
|
STR_GAME_OPTIONS_CURRENCY_RUB :New Russian Ruble (RUB)
|
||||||
|
STR_GAME_OPTIONS_CURRENCY_MXN :Mexican Peso (MXN)
|
||||||
############ end of currency region
|
############ end of currency region
|
||||||
|
|
||||||
STR_GAME_OPTIONS_ROAD_VEHICLES_FRAME :{BLACK}Road vehicles
|
STR_GAME_OPTIONS_ROAD_VEHICLES_FRAME :{BLACK}Road vehicles
|
||||||
|
Loading…
Reference in New Issue
Block a user