mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Add eye glyph (👁)
This commit is contained in:
BIN
resources/g2/font/eye.png
Normal file
BIN
resources/g2/font/eye.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 150 B |
@@ -1127,6 +1127,12 @@
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/eye.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/ae-uc-bold.png",
|
||||
"y_offset": 0,
|
||||
@@ -1726,6 +1732,12 @@
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/eye.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/latin/ae-uc-tiny.png",
|
||||
"y_offset": 0,
|
||||
@@ -2332,6 +2344,12 @@
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "font/eye.png",
|
||||
"y_offset": 0,
|
||||
"palette": "keep",
|
||||
"forceBmp": true
|
||||
},
|
||||
{
|
||||
"path": "support/flat_to_steep_1_1.png",
|
||||
"x_offset": -32,
|
||||
|
||||
@@ -219,6 +219,7 @@ static const std::unordered_map<char32_t, int32_t> codepointOffsetMap = {
|
||||
// Emoji
|
||||
{ UnicodeChar::cross, CSChar::cross - CS_SPRITE_FONT_OFFSET },
|
||||
{ UnicodeChar::water, CSChar::water - CS_SPRITE_FONT_OFFSET },
|
||||
{ UnicodeChar::eye, SPR_G2_EYE - SPR_CHAR_START },
|
||||
{ UnicodeChar::road, CSChar::road - CS_SPRITE_FONT_OFFSET },
|
||||
{ UnicodeChar::railway, CSChar::railway - CS_SPRITE_FONT_OFFSET },
|
||||
|
||||
|
||||
@@ -320,6 +320,7 @@ namespace UnicodeChar
|
||||
constexpr char32_t cross = 0x274C;
|
||||
constexpr char32_t variation_selector = 0xFE0F;
|
||||
constexpr char32_t water = 0x1F30A;
|
||||
constexpr char32_t eye = 0x1F441;
|
||||
constexpr char32_t road = 0x1F6E3;
|
||||
constexpr char32_t railway = 0x1F6E4;
|
||||
|
||||
|
||||
@@ -90,6 +90,7 @@ constexpr const char* BlackDownArrowString = u8"{BLACK}▼";
|
||||
constexpr const char* BlackLeftArrowString = u8"{BLACK}◀";
|
||||
constexpr const char* BlackRightArrowString = u8"{BLACK}▶";
|
||||
constexpr const char* CheckBoxMarkString = u8"✓";
|
||||
constexpr const char* EyeString = u8"👁";
|
||||
|
||||
uint8_t language_get_id_from_locale(const char* locale);
|
||||
const char* language_get_string(rct_string_id id);
|
||||
|
||||
@@ -1023,7 +1023,9 @@ enum
|
||||
SPR_G2_RIGHT_BRACE,
|
||||
SPR_G2_TILDE,
|
||||
|
||||
SPR_G2_GLYPH_COUNT = (SPR_G2_TILDE - SPR_G2_CHAR_BEGIN) + 1,
|
||||
SPR_G2_EYE,
|
||||
|
||||
SPR_G2_GLYPH_COUNT = (SPR_G2_EYE - SPR_G2_CHAR_BEGIN) + 1,
|
||||
SPR_G2_CHAR_END = SPR_G2_CHAR_BEGIN + SPR_G2_GLYPH_COUNT * 3,
|
||||
|
||||
SPR_G2_SUPPORT_BEGIN = SPR_G2_CHAR_END,
|
||||
|
||||
Reference in New Issue
Block a user