forked from rosebudai/OpenRCT2-Web
Move CS_SPRITE_FONT_OFFSET to Font.cpp, its only user
This commit is contained in:
1 parent
3fd91038c3
commit
c4eede9767
2 files changed
+2
-2
No files matched your search
@@ -35,6 +35,8 @@ static uint8_t _additionalSpriteFontCharacterWidth[FontStyleCount][SPR_G2_GLYPH_
|
||||
TTFFontSetDescriptor* gCurrentTTFFontSet;
|
||||
#endif // NO_TTF
|
||||
|
||||
constexpr uint8_t CS_SPRITE_FONT_OFFSET = 32;
|
||||
|
||||
static const std::unordered_map<char32_t, int32_t> codepointOffsetMap = {
|
||||
{ UnicodeChar::ae_uc, SPR_G2_AE_UPPER - SPR_CHAR_START },
|
||||
{ UnicodeChar::o_stroke_uc, SPR_G2_O_STROKE_UPPER - SPR_CHAR_START },
|
||||
|
||||
@@ -82,8 +82,6 @@ bool FormatTokenIsColour(FormatToken token);
|
||||
size_t FormatTokenGetTextColourIndex(FormatToken token);
|
||||
FormatToken FormatTokenFromTextColour(size_t textColour);
|
||||
|
||||
constexpr uint8_t CS_SPRITE_FONT_OFFSET = 32;
|
||||
|
||||
namespace CSChar
|
||||
{
|
||||
constexpr char32_t quote_close = 0x22;
|
||||
|
||||
Reference in new issue
Block a user