1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-20 06:12:57 +01:00

Add Z with caron

This commit is contained in:
Gymnasiast
2019-03-25 17:02:35 +01:00
parent cf65d01ac0
commit ff12d5c202
9 changed files with 41 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

View File

@@ -856,6 +856,18 @@
"palette": "keep",
"forceBmp": true
},
{
"path": "font/latin/z-caron-uc-small.png",
"y_offset": -1,
"palette": "keep",
"forceBmp": true
},
{
"path": "font/latin/z-caron-small.png",
"y_offset": 0,
"palette": "keep",
"forceBmp": true
},
{
"path": "font/rouble-small.png",
"y_offset": 0,
@@ -1325,6 +1337,18 @@
"palette": "keep",
"forceBmp": true
},
{
"path": "font/latin/z-caron-uc-bold.png",
"y_offset": -1,
"palette": "keep",
"forceBmp": true
},
{
"path": "font/latin/z-caron-bold.png",
"y_offset": 0,
"palette": "keep",
"forceBmp": true
},
{
"path": "font/rouble-bold.png",
"y_offset": 0,
@@ -1802,6 +1826,18 @@
"palette": "keep",
"forceBmp": true
},
{
"path": "font/latin/z-caron-uc-tiny.png",
"y_offset": -1,
"palette": "keep",
"forceBmp": true
},
{
"path": "font/latin/z-caron-tiny.png",
"y_offset": 0,
"palette": "keep",
"forceBmp": true
},
{
"path": "font/rouble-tiny.png",
"y_offset": 0,

View File

@@ -79,6 +79,8 @@ static const std::map<char32_t, int32_t> codepointOffsetMap = {
{ UnicodeChar::z_acute, CSChar::z_acute - CS_SPRITE_FONT_OFFSET },
{ UnicodeChar::z_dot_uc, CSChar::z_dot_uc - CS_SPRITE_FONT_OFFSET },
{ UnicodeChar::z_dot, CSChar::z_dot - CS_SPRITE_FONT_OFFSET },
{ UnicodeChar::z_caron_uc, SPR_G2_Z_CARON_UPPER - SPR_CHAR_START },
{ UnicodeChar::z_caron, SPR_G2_Z_CARON_LOWER - SPR_CHAR_START },
{ UnicodeChar::f_with_hook_uc, 'F' - CS_SPRITE_FONT_OFFSET },
{ UnicodeChar::s_comma_uc, SPR_G2_S_CEDILLA_UPPER - SPR_CHAR_START }, // No visual difference
{ UnicodeChar::s_comma, SPR_G2_S_CEDILLA_LOWER - SPR_CHAR_START }, // Ditto

View File

@@ -927,8 +927,10 @@ enum
SPR_G2_T_CARON_LOWER = SPR_G2_CHAR_BEGIN + 81,
SPR_G2_U_RING_UPPER = SPR_G2_CHAR_BEGIN + 82,
SPR_G2_U_RING_LOWER = SPR_G2_CHAR_BEGIN + 83,
SPR_G2_Z_CARON_UPPER = SPR_G2_CHAR_BEGIN + 84,
SPR_G2_Z_CARON_LOWER = SPR_G2_CHAR_BEGIN + 85,
SPR_G2_ROUBLE_SIGN = SPR_G2_CHAR_BEGIN + 84,
SPR_G2_ROUBLE_SIGN = SPR_G2_CHAR_BEGIN + 86,
SPR_G2_CHAR_END = SPR_G2_ROUBLE_SIGN,
SPR_G2_GLYPH_COUNT = (SPR_G2_CHAR_END - SPR_G2_CHAR_BEGIN) + 1,