summaryrefslogtreecommitdiff
path: root/strings.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-09-13 12:28:11 +0000
committerdarkvater <darkvater@openttd.org>2004-09-13 12:28:11 +0000
commitc6f48d3de6cd20ce2addeebe451ff5d33adc7510 (patch)
tree5b4d8136e4efcd042a6cce24e9b3494fc2c70c7e /strings.c
parent383dc579e462610ef4c5cc53e1f6cdfd08fa3dca (diff)
downloadopenttd-c6f48d3de6cd20ce2addeebe451ff5d33adc7510.tar.xz
(svn r234) -Fix: added missing romanian.txt to VC6, VS.NET and Jamfile project file
-Feature: Added romanian town names and currency (Magic_Pixel)
Diffstat (limited to 'strings.c')
-rw-r--r--strings.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/strings.c b/strings.c
index 28e85b09e..1c2d6dc84 100644
--- a/strings.c
+++ b/strings.c
@@ -72,6 +72,7 @@ static const CurrencySpec _currency_specs[] = {
{ 50, ',', 0, "", " Kc" },
{ 130, '.', 0, "", " kr" },
{ 11, '.', 0, "", " kr" },
+ { 6, '.', 0, "", " Lei" },
{ 2, ',', CF_ISEURO, "€", "" },
};
@@ -97,6 +98,7 @@ const uint16 _currency_string_list[] = {
STR_CURR_CZK,
STR_CURR_ISK,
STR_CURR_NOK,
+ STR_CURR_ROL,
STR_CURR_EUR,
INVALID_STRING_ID
};
@@ -663,13 +665,15 @@ static byte *GenPlayerName_4(byte *buff)
buff[0] = _initial_name_letters[ (sizeof(_initial_name_letters) * (byte)x) >> 8];
buff[1] = '.';
- buff += 2;
+ buff[2] = ' '; // Insert a space after initial and period "I. Firstname" instead of "I.Firstname"
+ buff += 3;
i = ((sizeof(_initial_name_letters) + 35) * (byte)(x >> 8)) >> 8;
if (i < sizeof(_initial_name_letters)) {
buff[0] = _initial_name_letters[i];
buff[1] = '.';
- buff += 2;
+ buff[2] = ' '; // Insert a space after initial and period "I. J. Firstname" instead of "I.J.Firstname"
+ buff += 3;
}
base = 0;