rodecomp/Source/Utility/TextTokens.h
ragnarok-clanker c029673ec9 Decompile 3 functions in Source/Utility/TextTokens.cpp, Source/Utility/TextTokens.h
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
2026-10-26 21:50:40 +00:00

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