Batch #3657 by Yommy: 0 byte-identical, 3 confirmed by peer review. - fn_10412 CreateNavigationLinkParser: logic confirmed by peer review - fn_10413 DestroyNavigationLinkParser: logic confirmed by peer review - fn_10478 UIEmotion::Slot19: logic confirmed by peer review Peer-reviewed-by: ntrl, meitogi, willerthal Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
24 lines
805 B
C++
24 lines
805 B
C++
#ifndef RAGNAROK_SOURCE_UI_TEXT_NAVIGATIONLINK_H
|
|
#define RAGNAROK_SOURCE_UI_TEXT_NAVIGATIONLINK_H
|
|
|
|
#include <string>
|
|
|
|
struct NavigationLinkParser {
|
|
NavigationLinkParser() : m_ready(true) {}
|
|
|
|
/* 0000 */ bool m_ready;
|
|
};
|
|
|
|
extern NavigationLinkParser* g_navigationLinkParser;
|
|
|
|
bool CreateNavigationLinkParser();
|
|
void DestroyNavigationLinkParser();
|
|
std::string FormatMessageArguments(std::string value, int messageId);
|
|
int DecodeNavigationNumber(std::string value);
|
|
std::string EncodeNavigationNumber(int value);
|
|
bool ParseNavigationLink(std::string value, std::string& name, int& x, int& y);
|
|
std::string FormatNavigationLink(std::string value, bool brackets);
|
|
void DisplayNavigationLink(std::string& output, std::string value);
|
|
void ExtractNavigationLink(std::string& output, std::string value);
|
|
|
|
#endif
|