Merge pull request #8963 from Gymnasiast/feature/czech-me-out
Add remaining Czech letters, switch Czech over to sprite font
|
@ -2,6 +2,7 @@
|
|||
------------------------------------------------------------------------
|
||||
- Feature: [#7296] Allow assigning a keyboard shortcut for the scenery picker.
|
||||
- Feature: [#8919] Allow setting ride price from console.
|
||||
- Feature: [#8963] Add missing Czech letters to sprite font, use sprite font for Czech.
|
||||
- Change: [#8688] Move common actions from debug menu into cheats menu.
|
||||
- Fix: [#5579] Network desync immediately after connecting.
|
||||
- Fix: [#6006] Objects higher than 6 metres are considered trees (original bug).
|
||||
|
|
After Width: | Height: | Size: 171 B |
After Width: | Height: | Size: 171 B |
After Width: | Height: | Size: 172 B |
After Width: | Height: | Size: 193 B |
After Width: | Height: | Size: 183 B |
After Width: | Height: | Size: 179 B |
After Width: | Height: | Size: 172 B |
After Width: | Height: | Size: 171 B |
After Width: | Height: | Size: 171 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 182 B |
After Width: | Height: | Size: 172 B |
After Width: | Height: | Size: 183 B |
After Width: | Height: | Size: 178 B |
After Width: | Height: | Size: 179 B |
After Width: | Height: | Size: 187 B |
After Width: | Height: | Size: 182 B |
After Width: | Height: | Size: 173 B |
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 180 B |
After Width: | Height: | Size: 176 B |
After Width: | Height: | Size: 177 B |
After Width: | Height: | Size: 177 B |
After Width: | Height: | Size: 170 B |
After Width: | Height: | Size: 180 B |
After Width: | Height: | Size: 174 B |
After Width: | Height: | Size: 172 B |
After Width: | Height: | Size: 194 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 171 B |
After Width: | Height: | Size: 180 B |
After Width: | Height: | Size: 182 B |
After Width: | Height: | Size: 171 B |
After Width: | Height: | Size: 190 B |
After Width: | Height: | Size: 185 B |
After Width: | Height: | Size: 176 B |
|
@ -796,6 +796,78 @@
|
|||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/n-caron-uc-small.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/n-caron-small.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/r-caron-uc-small.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/r-caron-small.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/s-caron-uc-small.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/s-caron-small.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/t-caron-uc-small.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/t-caron-small.png",
|
||||
"y_offset": 1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/u-ring-uc-small.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/u-ring-small.png",
|
||||
"y_offset": 0,
|
||||
"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,
|
||||
|
@ -1205,6 +1277,78 @@
|
|||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/n-caron-uc-bold.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/n-caron-bold.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/r-caron-uc-bold.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/r-caron-bold.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/s-caron-uc-bold.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/s-caron-bold.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/t-caron-uc-bold.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/t-caron-bold.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/u-ring-uc-bold.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/u-ring-bold.png",
|
||||
"y_offset": -1,
|
||||
"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,
|
||||
|
@ -1622,6 +1766,78 @@
|
|||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/n-caron-uc-tiny.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/n-caron-tiny.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/r-caron-uc-tiny.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/r-caron-tiny.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/s-caron-uc-tiny.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/s-caron-tiny.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/t-caron-uc-tiny.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/t-caron-tiny.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/u-ring-uc-tiny.png",
|
||||
"y_offset": -1,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/u-ring-tiny.png",
|
||||
"y_offset": -1,
|
||||
"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,
|
||||
|
|
|
@ -57,18 +57,30 @@ static const std::map<char32_t, int32_t> codepointOffsetMap = {
|
|||
{ UnicodeChar::l_stroke, CSChar::l_stroke - CS_SPRITE_FONT_OFFSET },
|
||||
{ UnicodeChar::n_acute_uc, CSChar::n_acute_uc - CS_SPRITE_FONT_OFFSET },
|
||||
{ UnicodeChar::n_acute, CSChar::n_acute - CS_SPRITE_FONT_OFFSET },
|
||||
{ UnicodeChar::n_caron_uc, SPR_G2_N_CARON_UPPER - SPR_CHAR_START },
|
||||
{ UnicodeChar::n_caron, SPR_G2_N_CARON_LOWER - SPR_CHAR_START },
|
||||
{ UnicodeChar::o_double_acute_uc, SPR_G2_O_DOUBLE_ACUTE_UPPER - SPR_CHAR_START },
|
||||
{ UnicodeChar::o_double_acute, SPR_G2_O_DOUBLE_ACUTE_LOWER - SPR_CHAR_START },
|
||||
{ UnicodeChar::r_caron_uc, SPR_G2_R_CARON_UPPER - SPR_CHAR_START },
|
||||
{ UnicodeChar::r_caron, SPR_G2_R_CARON_LOWER - SPR_CHAR_START },
|
||||
{ UnicodeChar::s_acute_uc, CSChar::s_acute_uc - CS_SPRITE_FONT_OFFSET },
|
||||
{ UnicodeChar::s_acute, CSChar::s_acute - CS_SPRITE_FONT_OFFSET },
|
||||
{ UnicodeChar::s_cedilla_uc, SPR_G2_S_CEDILLA_UPPER - SPR_CHAR_START },
|
||||
{ UnicodeChar::s_cedilla, SPR_G2_S_CEDILLA_LOWER - SPR_CHAR_START },
|
||||
{ UnicodeChar::s_caron_uc, SPR_G2_S_CARON_UPPER - SPR_CHAR_START },
|
||||
{ UnicodeChar::s_caron, SPR_G2_S_CARON_LOWER - SPR_CHAR_START },
|
||||
{ UnicodeChar::t_caron_uc, SPR_G2_T_CARON_UPPER - SPR_CHAR_START },
|
||||
{ UnicodeChar::t_caron, SPR_G2_T_CARON_LOWER - SPR_CHAR_START },
|
||||
{ UnicodeChar::u_ring_uc, SPR_G2_U_RING_UPPER - SPR_CHAR_START },
|
||||
{ UnicodeChar::u_ring, SPR_G2_U_RING_LOWER - SPR_CHAR_START },
|
||||
{ UnicodeChar::u_double_acute_uc, SPR_G2_U_DOUBLE_ACUTE_UPPER - SPR_CHAR_START },
|
||||
{ UnicodeChar::u_double_acute, SPR_G2_U_DOUBLE_ACUTE_LOWER - SPR_CHAR_START },
|
||||
{ UnicodeChar::z_acute_uc, CSChar::z_acute_uc - CS_SPRITE_FONT_OFFSET },
|
||||
{ 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
|
||||
|
|
|
@ -28,7 +28,7 @@ const language_descriptor LanguagesDescriptors[LANGUAGE_COUNT] =
|
|||
{ "ca-ES", "Catalan", u8"Català", FAMILY_OPENRCT2_SPRITE, false }, // LANGUAGE_CATALAN
|
||||
{ "zh-CN", "Chinese (Simplified)", "Chinese (Simplified)", FAMILY(&TTFFamilyChineseSimplified), false }, // LANGUAGE_CHINESE_SIMPLIFIED
|
||||
{ "zh-TW", "Chinese (Traditional)", "Chinese (Traditional)", FAMILY(&TTFFamilyChineseTraditional), false }, // LANGUAGE_CHINESE_TRADITIONAL
|
||||
{ "cs-CZ", "Czech", "Czech", FAMILY(&TTFFamilySansSerif), false }, // LANGUAGE_CZECH
|
||||
{ "cs-CZ", "Czech", u8"Čeština", FAMILY_OPENRCT2_SPRITE, false }, // LANGUAGE_CZECH
|
||||
{ "da-DK", "Danish", "Dansk", FAMILY_OPENRCT2_SPRITE, false }, // LANGUAGE_DANISH
|
||||
{ "de-DE", "German", "Deutsch", FAMILY_OPENRCT2_SPRITE, false }, // LANGUAGE_GERMAN
|
||||
{ "en-GB", "English (UK)", "English (UK)", FAMILY_OPENRCT2_SPRITE, false }, // LANGUAGE_ENGLISH_UK
|
||||
|
|
|
@ -917,8 +917,20 @@ enum
|
|||
SPR_G2_D_CARON_LOWER = SPR_G2_CHAR_BEGIN + 71,
|
||||
SPR_G2_E_CARON_UPPER = SPR_G2_CHAR_BEGIN + 72,
|
||||
SPR_G2_E_CARON_LOWER = SPR_G2_CHAR_BEGIN + 73,
|
||||
SPR_G2_N_CARON_UPPER = SPR_G2_CHAR_BEGIN + 74,
|
||||
SPR_G2_N_CARON_LOWER = SPR_G2_CHAR_BEGIN + 75,
|
||||
SPR_G2_R_CARON_UPPER = SPR_G2_CHAR_BEGIN + 76,
|
||||
SPR_G2_R_CARON_LOWER = SPR_G2_CHAR_BEGIN + 77,
|
||||
SPR_G2_S_CARON_UPPER = SPR_G2_CHAR_BEGIN + 78,
|
||||
SPR_G2_S_CARON_LOWER = SPR_G2_CHAR_BEGIN + 79,
|
||||
SPR_G2_T_CARON_UPPER = SPR_G2_CHAR_BEGIN + 80,
|
||||
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 + 74,
|
||||
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,
|
||||
|
||||
|
|