Decompile 3 functions in Source/UI/Text/TextMarkup.cpp, Source/UI/Text/TextMarkup.h
Batch #7733 by eAthena: 0 byte-identical, 3 confirmed by peer review. - fn_16963 DisplayItemTextTag: logic confirmed by peer review - fn_16964 DisplayNavigationTextTag: logic confirmed by peer review - fn_16965 DisplayQuestTextTag: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, Yommy, Snow Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
3a4b462daa
commit
a4a251a7de
2 changed files with 33 additions and 0 deletions
|
|
@ -31,6 +31,18 @@ static const std::string g_naviTagBegin = "<NAVI>";
|
|||
// GLOBAL: gl_24594
|
||||
static const std::string g_naviTagEnd = "</NAVI>";
|
||||
|
||||
// GLOBAL: gl_24595
|
||||
static const std::string g_itemTagBegin = "<ITEM>";
|
||||
|
||||
// GLOBAL: gl_24596
|
||||
static const std::string g_itemTagEnd = "</ITEM>";
|
||||
|
||||
// GLOBAL: gl_24599
|
||||
static const std::string g_questTagBegin = "<QUEST>";
|
||||
|
||||
// GLOBAL: gl_24600
|
||||
static const std::string g_questTagEnd = "</QUEST>";
|
||||
|
||||
// OFFSET: 0x00A7CA90
|
||||
// FUNCTION: fn_16949
|
||||
void ExtractNavigationTextLinks(std::string&& text, std::vector<TextLink>& links) {
|
||||
|
|
@ -147,6 +159,24 @@ std::string DisplayTextTag(std::string text, const std::string& begin, const std
|
|||
return result;
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A7F510
|
||||
// FUNCTION: fn_16963
|
||||
std::string DisplayItemTextTag(const std::string& text) {
|
||||
return DisplayTextTag(text, g_itemTagBegin, g_itemTagEnd);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A7F580
|
||||
// FUNCTION: fn_16964
|
||||
std::string DisplayNavigationTextTag(const std::string& text) {
|
||||
return DisplayTextTag(text, g_naviTagBegin, g_naviTagEnd);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A7F5F0
|
||||
// FUNCTION: fn_16965
|
||||
std::string DisplayQuestTextTag(const std::string& text) {
|
||||
return DisplayTextTag(text, g_questTagBegin, g_questTagEnd);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A7EF40
|
||||
// FUNCTION: fn_16962
|
||||
std::string RemoveTextLinkInfo(std::string text) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue