mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:47:43 +00:00
Finish CMessageScreen
This commit is contained in:
@@ -16,16 +16,20 @@ class CTextParser
|
||||
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 ResId GetAssetIdFromString(const char16_t* str,
|
||||
const std::vector<std::pair<ResId, ResId>>* txtrMap);
|
||||
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);
|
||||
void ParseTag(CTextExecuteBuffer& out, const char16_t* str, int len,
|
||||
const std::vector<std::pair<ResId, ResId>>* txtrMap);
|
||||
CFontImageDef GetImage(const char16_t* str, int len,
|
||||
const std::vector<std::pair<ResId, ResId>>* txtrMap);
|
||||
TToken<CRasterFont> GetFont(const char16_t* str, int len);
|
||||
|
||||
public:
|
||||
CTextParser(IObjectStore& store) : x0_store(store) {}
|
||||
void ParseText(CTextExecuteBuffer& out, const char16_t* str, int len);
|
||||
void ParseText(CTextExecuteBuffer& out, const char16_t* str, int len,
|
||||
const std::vector<std::pair<ResId, ResId>>* txtrMap);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user