Batch #11568 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_13833 WrapRichText: logic confirmed by peer review Peer-reviewed-by: Yommy, KWDev Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
15 lines
494 B
C++
15 lines
494 B
C++
#ifndef RAGNAROK_SOURCE_UTILITY_TEXT_TEXTTOKENS_H
|
|
#define RAGNAROK_SOURCE_UTILITY_TEXT_TEXTTOKENS_H
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
extern const unsigned char g_colorHexDigit[256];
|
|
extern unsigned char g_inlineCharset;
|
|
|
|
bool IsPipeColorToken(const char* text);
|
|
bool IsHexColorToken(const char* text, const char* end);
|
|
int ParseItemIdTag(const char* text, const char* end, int& length, int& itemId);
|
|
std::string __stdcall StripColorTokens(const char* text, std::uint32_t length);
|
|
|
|
#endif
|