summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlayaraja <ilayaraja97@gmail.com>2020-05-11 19:01:03 +0530
committerGitHub <noreply@github.com>2020-05-11 14:31:03 +0100
commit48d2eb703c670129e0a3040e9e5321e96f2e5e04 (patch)
tree41e4f78b7eee6ae9625b9b49da2ac225cfcc46c2
parent39092ee13b44573d1b8111a5d2ee1d46990f239f (diff)
downloadopenttd-48d2eb703c670129e0a3040e9e5321e96f2e5e04.tar.xz
Add: INR currency (#8136)
Co-authored-by: ilayarja97 <ilayarja97@gmail.com>
-rw-r--r--src/currency.cpp1
-rw-r--r--src/currency.h1
-rw-r--r--src/lang/english.txt1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/currency.cpp b/src/currency.cpp
index b6d682105..b68584f01 100644
--- a/src/currency.cpp
+++ b/src/currency.cpp
@@ -65,6 +65,7 @@ static const CurrencySpec origin_currency_specs[CURRENCY_END] = {
{ 40, "", CF_NOEURO, "NTD" NBSP, "", 0, STR_GAME_OPTIONS_CURRENCY_NTD }, ///< new taiwan dollar
{ 8, "", CF_NOEURO, "\xC2\xA5", "", 0, STR_GAME_OPTIONS_CURRENCY_CNY }, ///< chinese renminbi
{ 10, "", CF_NOEURO, "HKD" NBSP, "", 0, STR_GAME_OPTIONS_CURRENCY_HKD }, ///< hong kong dollar
+ { 90, "", CF_NOEURO, "\xE2\x82\xB9", "", 0, STR_GAME_OPTIONS_CURRENCY_INR }, ///< Indian Rupee
};
/** Array of currencies used by the system */
diff --git a/src/currency.h b/src/currency.h
index 58c385a8b..c4c3db024 100644
--- a/src/currency.h
+++ b/src/currency.h
@@ -61,6 +61,7 @@ enum Currencies {
CURRENCY_NTD, ///< New Taiwan Dollar
CURRENCY_CNY, ///< Chinese Renminbi
CURRENCY_HKD, ///< Hong Kong Dollar
+ CURRENCY_INR, ///< Indian Rupee
CURRENCY_END, ///< always the last item
};
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 93eaef590..e478dc6e1 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -935,6 +935,7 @@ STR_GAME_OPTIONS_CURRENCY_MXN :Mexican Peso (M
STR_GAME_OPTIONS_CURRENCY_NTD :New Taiwan Dollar (NTD)
STR_GAME_OPTIONS_CURRENCY_CNY :Chinese Renminbi (CNY)
STR_GAME_OPTIONS_CURRENCY_HKD :Hong Kong Dollar (HKD)
+STR_GAME_OPTIONS_CURRENCY_INR :Indian Rupee (INR)
############ end of currency region
STR_GAME_OPTIONS_ROAD_VEHICLES_FRAME :{BLACK}Road vehicles