diff --git a/Source/UI/Text/TextMarkup.cpp b/Source/UI/Text/TextMarkup.cpp index 61286ad2..c13aa524 100644 --- a/Source/UI/Text/TextMarkup.cpp +++ b/Source/UI/Text/TextMarkup.cpp @@ -177,6 +177,18 @@ std::string DisplayQuestTextTag(const std::string& text) { return DisplayTextTag(text, g_questTagBegin, g_questTagEnd); } +// OFFSET: 0x00A7FE50 +// FUNCTION: fn_16967 +std::string DisplayTipBoxTextTag(const std::string& text) { + return DisplayTextTag(text, g_tipBoxTagBegin, g_tipBoxTagEnd); +} + +// OFFSET: 0x00A7FEC0 +// FUNCTION: fn_16968 +std::string DisplayUrlTextTag(const std::string& text) { + return DisplayTextTag(text, g_urlTagBegin, g_urlTagEnd); +} + // OFFSET: 0x00A7EF40 // FUNCTION: fn_16962 std::string RemoveTextLinkInfo(std::string text) { diff --git a/Source/UI/Text/TextMarkup.h b/Source/UI/Text/TextMarkup.h index af46861c..164a89f5 100644 --- a/Source/UI/Text/TextMarkup.h +++ b/Source/UI/Text/TextMarkup.h @@ -20,6 +20,8 @@ std::string DisplayTextTag(std::string text, const std::string& begin, const std std::string DisplayItemTextTag(const std::string& text); std::string DisplayNavigationTextTag(const std::string& text); std::string DisplayQuestTextTag(const std::string& text); +std::string DisplayTipBoxTextTag(const std::string& text); +std::string DisplayUrlTextTag(const std::string& text); std::string RemoveTextLinkInfo(std::string text); void ExtractTextLinks(std::string text, const std::string& begin, const std::string& end, std::vector& links); void SplitTextLinkArguments(std::string text, std::vector& arguments);