Batch #840 by ragnarok-clanker: 0 byte-identical, 3 confirmed by peer review. - fn_01963 IsPipeColorToken: logic confirmed by peer review - fn_01964 IsHexColorToken: logic confirmed by peer review - fn_13883 StripColorTokens: logic confirmed by peer review Reviewed-by: ragnarok-clanker Adds to the build: Source/Utility/TextTokens.cpp
14 lines
403 B
C++
14 lines
403 B
C++
#ifndef RAGNAROK_SOURCE_UTILITY_TEXTTOKENS_H
|
|
#define RAGNAROK_SOURCE_UTILITY_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);
|
|
std::string __stdcall StripColorTokens(const char* text, std::uint32_t length);
|
|
|
|
#endif
|