mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 12:27:43 +00:00
Char16 refactor and GuiSys bug fixes
This commit is contained in:
@@ -12,20 +12,20 @@ class CTextParser
|
||||
{
|
||||
IObjectStore& x0_store;
|
||||
|
||||
static CTextColor ParseColor(const wchar_t* str, int len);
|
||||
static u8 GetColorValue(const wchar_t* str);
|
||||
static u32 FromHex(wchar_t ch);
|
||||
static s32 ParseInt(const wchar_t* str, int len, bool signVal);
|
||||
static ResId GetAssetIdFromString(const wchar_t* str);
|
||||
static bool Equals(const wchar_t* str, int len, const wchar_t* other);
|
||||
static bool BeginsWith(const wchar_t* str, int len, const wchar_t* other);
|
||||
void ParseTag(CTextExecuteBuffer& out, const wchar_t* str, int len);
|
||||
CFontImageDef GetImage(const wchar_t* str, int len);
|
||||
TToken<CRasterFont> GetFont(const wchar_t* str, int len);
|
||||
static CTextColor ParseColor(const char16_t* str, int len);
|
||||
static u8 GetColorValue(const char16_t* str);
|
||||
static u32 FromHex(char16_t ch);
|
||||
static s32 ParseInt(const char16_t* str, int len, bool signVal);
|
||||
static ResId GetAssetIdFromString(const char16_t* str);
|
||||
static bool Equals(const char16_t* str, int len, const char16_t* other);
|
||||
static bool BeginsWith(const char16_t* str, int len, const char16_t* other);
|
||||
void ParseTag(CTextExecuteBuffer& out, const char16_t* str, int len);
|
||||
CFontImageDef GetImage(const char16_t* str, int len);
|
||||
TToken<CRasterFont> GetFont(const char16_t* str, int len);
|
||||
|
||||
public:
|
||||
CTextParser(IObjectStore& store) : x0_store(store) {}
|
||||
void ParseText(CTextExecuteBuffer& out, const wchar_t* str, int len);
|
||||
void ParseText(CTextExecuteBuffer& out, const char16_t* str, int len);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user