From 6d5f864e25680e8f0816f452b75425562edfb5ae Mon Sep 17 00:00:00 2001 From: michi_cc Date: Tue, 17 Apr 2012 21:39:09 +0000 Subject: (svn r24148) -Add [FS#4907]: South Korean and South African currencies. (PaulC) --- src/currency.cpp | 2 ++ src/currency.h | 2 +- src/lang/english.txt | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/currency.cpp b/src/currency.cpp index ea38ad72e..e39871141 100644 --- a/src/currency.cpp +++ b/src/currency.cpp @@ -53,6 +53,8 @@ static const CurrencySpec origin_currency_specs[NUM_CURRENCY] = { { 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 + { 1850, "", CF_NOEURO, "\xE2\x82\xA9", "", 0, STR_GAME_OPTIONS_CURRENCY_KRW }, ///< south korean won + { 13, "", CF_NOEURO, "R" NBSP, "", 0, STR_GAME_OPTIONS_CURRENCY_ZAR }, ///< south african rand { 1, "", CF_NOEURO, "", "", 2, STR_GAME_OPTIONS_CURRENCY_CUSTOM }, ///< custom currency }; diff --git a/src/currency.h b/src/currency.h index a3dfffa49..40a110968 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 = 30; ///< Number of currencies. +static const uint NUM_CURRENCY = 32; ///< 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 d33a7e11d..10c50ecc7 100644 --- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -895,6 +895,8 @@ STR_GAME_OPTIONS_CURRENCY_SKK :Slovak Koruna ( 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_KRW :South Korean Won (KRW) +STR_GAME_OPTIONS_CURRENCY_ZAR :South African Rand (ZAR) STR_GAME_OPTIONS_CURRENCY_CUSTOM :Custom... ############ end of currency region -- cgit v1.2.3-70-g09d2