rodecomp/Source/UI/Text/ItemLinkDisplay.h
ragnarok-clanker 9f097590ab Decompile fn_11307 (ItemLinkDisplay::BracketName)
Batch #6680 by Bielhp: 0 byte-identical, 1 confirmed by peer review.

- fn_11307 ItemLinkDisplay::BracketName: logic confirmed by peer review

Peer-reviewed-by: eAthena, KWDev
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 01:39:17 +00:00

26 lines
641 B
C++

#ifndef RAGNAROK_SOURCE_UI_TEXT_ITEMLINKDISPLAY_H
#define RAGNAROK_SOURCE_UI_TEXT_ITEMLINKDISPLAY_H
#include <string>
class CDC;
class FontCache;
struct TextLocale;
struct ItemNaming;
struct TipBoxTitles;
struct ItemLinkDisplay {
CDC& surface;
FontCache& fonts;
const TextLocale& locale;
ItemNaming& items;
const TipBoxTitles& tips;
const int& width;
bool Name(const std::string& encoded, std::string& output);
bool Next(std::string& remaining, std::string& encoded, unsigned& position, const char* original);
std::string Convert(const std::string& text);
std::string BracketName(const std::string& name);
};
#endif