mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 01:49:10 +00:00
(svn r2879) Major step twoards ISO-8859-15
Add several missing chars: - Š/š (S with hacek, all sizes) - Ž/ž (Z with hacek, all sizes) - Œ/œ (OE ligature, all sizes) - Ð/ð (eth, large font was missing) - Þ/þ (thorn, large font was missing) - º (male ordinal sign, all sizes) Also move Ÿ (Y with umlaut, all sizes) to the correct position in the charset To add some chars it was necessary to shuffle some OTTD specific chars (arrows, transport type markers) around
This commit is contained in:
10
strings.c
10
strings.c
@@ -764,11 +764,11 @@ static char *FormatString(char *buff, const char *str, const int32 *argv, uint c
|
||||
|
||||
static char *StationGetSpecialString(char *buff, int x)
|
||||
{
|
||||
if (x & 0x01) *buff++ = '\xB4';
|
||||
if (x & 0x02) *buff++ = '\xB5';
|
||||
if (x & 0x04) *buff++ = '\xB6';
|
||||
if (x & 0x08) *buff++ = '\xB7';
|
||||
if (x & 0x10) *buff++ = '\xB8';
|
||||
if (x & 0x01) *buff++ = '\x94';
|
||||
if (x & 0x02) *buff++ = '\x95';
|
||||
if (x & 0x04) *buff++ = '\x96';
|
||||
if (x & 0x08) *buff++ = '\x97';
|
||||
if (x & 0x10) *buff++ = '\x98';
|
||||
*buff = '\0';
|
||||
return buff;
|
||||
}
|
||||
|
Reference in New Issue
Block a user