diff options
author | ScumbagDog <lbrack17@student.aau.dk> | 2018-07-29 15:43:27 +0200 |
---|---|---|
committer | Patric Stout <truebrain@openttd.org> | 2018-08-04 08:58:50 +0200 |
commit | 16cf577b61ce8031a8f6ddb046731983e7647523 (patch) | |
tree | 59806b7e90b3fe0120914d0406256322c634b0a3 | |
parent | 76f788124b2b951f23ecc6403c9bdb66914fa0ce (diff) | |
download | openttd-16cf577b61ce8031a8f6ddb046731983e7647523.tar.xz |
Feature: Added New Russian Ruble as currency (#6678)
-rw-r--r-- | src/currency.cpp | 1 | ||||
-rw-r--r-- | src/currency.h | 1 | ||||
-rw-r--r-- | src/lang/english.txt | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/currency.cpp b/src/currency.cpp index 8cc385fc0..615c5113b 100644 --- a/src/currency.cpp +++ b/src/currency.cpp @@ -62,6 +62,7 @@ static const CurrencySpec origin_currency_specs[CURRENCY_END] = { { 1, "", CF_NOEURO, "", "", 2, STR_GAME_OPTIONS_CURRENCY_CUSTOM }, ///< custom currency (add further languages below) { 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 + { 80, "", CF_NOEURO, "", NBSP "rub", 1, STR_GAME_OPTIONS_CURRENCY_RUB }, ///< New Russian Ruble }; /** Array of currencies used by the system */ diff --git a/src/currency.h b/src/currency.h index ab8026002..2529aca11 100644 --- a/src/currency.h +++ b/src/currency.h @@ -58,6 +58,7 @@ enum Currencies { CURRENCY_CUSTOM, ///< Custom currency CURRENCY_GEL, ///< Georgian Lari CURRENCY_IRR, ///< Iranian Rial + CURRENCY_RUB, ///< New Russian Ruble CURRENCY_END, ///< always the last item }; diff --git a/src/lang/english.txt b/src/lang/english.txt index 1be138706..0589ec4f1 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -927,6 +927,7 @@ STR_GAME_OPTIONS_CURRENCY_ZAR :South African R STR_GAME_OPTIONS_CURRENCY_CUSTOM :Custom... STR_GAME_OPTIONS_CURRENCY_GEL :Georgian Lari (GEL) STR_GAME_OPTIONS_CURRENCY_IRR :Iranian Rial (IRR) +STR_GAME_OPTIONS_CURRENCY_RUB :New Russian Ruble (RUB) ############ end of currency region STR_GAME_OPTIONS_ROAD_VEHICLES_FRAME :{BLACK}Road vehicles |