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.
13 lines
346 B
C++
13 lines
346 B
C++
#ifndef RAGNAROK_SOURCE_UTILITY_LEXICON_LEXICONBOUNDARY_H
|
|
#define RAGNAROK_SOURCE_UTILITY_LEXICON_LEXICONBOUNDARY_H
|
|
|
|
#include <cstdint>
|
|
|
|
struct LexiconBoundary {
|
|
/* 0000 */ std::uint32_t unknown_0000;
|
|
/* 0004 */ std::uint32_t flags[256];
|
|
|
|
bool Matches(unsigned char previous, unsigned char current, unsigned char options) const;
|
|
};
|
|
|
|
#endif
|