Batch #3970 by youko: 3 byte-identical, 6 confirmed by peer review. - fn_10366 UI2ndCostumeWnd::SendMsg: logic confirmed by peer review - fn_10367 UIAccessoryCusWnd::SendMsg: logic confirmed by peer review - fn_10373 UIShowInfoWnd::SendMsg: logic confirmed by peer review - fn_10374 UISlotOfMyStyleWnd::SendMsg: logic confirmed by peer review - fn_10376 UIStylingshopTabParentWnd::SendMsg: byte-identical - fn_10390 UISwapEquipmentWnd::Slot10: logic confirmed by peer review - fn_10402 UISwapEquipmentWnd::SetSlotValue: logic confirmed by peer review - fn_10404 NavigationLinkParser::NavigationLinkParser: byte-identical - fn_10405 NavigationLinkParser::~NavigationLinkParser: byte-identical Peer-reviewed-by: eAthena, willerthal Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/UI/Items/UISwapEquipmentWnd.cpp
25 lines
814 B
C++
25 lines
814 B
C++
#ifndef RAGNAROK_SOURCE_UI_TEXT_NAVIGATIONLINK_H
|
|
#define RAGNAROK_SOURCE_UI_TEXT_NAVIGATIONLINK_H
|
|
|
|
#include <string>
|
|
|
|
struct NavigationLinkParser {
|
|
NavigationLinkParser();
|
|
~NavigationLinkParser();
|
|
|
|
/* 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
|