summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2012-04-17 19:43:47 +0000
committermichi_cc <michi_cc@openttd.org>2012-04-17 19:43:47 +0000
commit181de38ae3b682e7d913862b9fe6124cd02fdccb (patch)
tree418f911c1256763b55b695248edc9b83d1389313
parent6f9668330e198a8100aabdc09f612a48887c5c07 (diff)
downloadopenttd-181de38ae3b682e7d913862b9fe6124cd02fdccb.tar.xz
(svn r24133) -Add [FS#4984]: Lithuanian currency. (devastator)
-rw-r--r--src/currency.cpp2
-rw-r--r--src/currency.h2
-rw-r--r--src/lang/english.txt1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/currency.cpp b/src/currency.cpp
index 6fd6de36c..ea38ad72e 100644
--- a/src/currency.cpp
+++ b/src/currency.cpp
@@ -52,6 +52,7 @@ static const CurrencySpec origin_currency_specs[NUM_CURRENCY] = {
{ 60, "", 2009, "", NBSP "Sk", 1, STR_GAME_OPTIONS_CURRENCY_SKK }, ///< slovak koruna
{ 4, "", CF_NOEURO, "R$" NBSP, "", 0, STR_GAME_OPTIONS_CURRENCY_BRL }, ///< brazil real
{ 31, "", 2011, "", NBSP "EEK", 1, STR_GAME_OPTIONS_CURRENCY_EEK }, ///< estonian krooni
+ { 4, "", 2014, "", NBSP "Lt", 1, STR_GAME_OPTIONS_CURRENCY_LTL }, ///< lithuanian litas
{ 1, "", CF_NOEURO, "", "", 2, STR_GAME_OPTIONS_CURRENCY_CUSTOM }, ///< custom currency
};
@@ -93,6 +94,7 @@ enum Currencies {
CURR_SKK,
CURR_BRL,
CURR_EEK,
+ CURR_LTL,
};
/**
diff --git a/src/currency.h b/src/currency.h
index 958ad5dee..a3dfffa49 100644
--- a/src/currency.h
+++ b/src/currency.h
@@ -17,7 +17,7 @@
static const int CF_NOEURO = 0; ///< Currency never switches to the Euro (as far as known).
static const int CF_ISEURO = 1; ///< Currency _is_ the Euro.
-static const uint NUM_CURRENCY = 29; ///< Number of currencies.
+static const uint NUM_CURRENCY = 30; ///< Number of currencies.
static const int CUSTOM_CURRENCY_ID = NUM_CURRENCY - 1; ///< Index of the custom currency.
/** Specification of a currency. */
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 4575df7c9..1e444db84 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -894,6 +894,7 @@ STR_GAME_OPTIONS_CURRENCY_TRY :Turkish Lira (T
STR_GAME_OPTIONS_CURRENCY_SKK :Slovak Koruna (SKK)
STR_GAME_OPTIONS_CURRENCY_BRL :Brazilian Real (BRL)
STR_GAME_OPTIONS_CURRENCY_EEK :Estonian Krooni (EEK)
+STR_GAME_OPTIONS_CURRENCY_LTL :Lithuanian Litas (LTL)
STR_GAME_OPTIONS_CURRENCY_CUSTOM :Custom...
############ end of currency region