Move Lexicon*, Text (TextTokens, TextEscapes, Base64), Math/RadialGrid, Hash (MD5, XxHash32) and Cipher (Rijndael, XorBytes) into Source/Utility subfolders; update includes, guards, compile.json and CMakeLists.txt. Backfill // OFFSET: above every standalone // FUNCTION: block (89 IDs, addresses from the symbol database) and make it mandatory in CODING_RULES.md and AGENTS.md. Remove the MatchLexicon cast chain.
14 lines
413 B
C++
14 lines
413 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);
|
|
std::string __stdcall StripColorTokens(const char* text, std::uint32_t length);
|
|
|
|
#endif
|