Restore translation-unit ownership and publish verified source corrections

Owner-authorized source migration: 31 helper-only translation units were merged into their callers or existing inline headers; both build manifests updated. Includes the preserved source payload, Lua configuration matching wowdecomp, and exact malloca expansion without diagnostic pragmas.

449 native units compiled locally and 449 staged units compiled by the pinned server toolchain. No previously byte-matched function regressed. Compiler mapping diagnostics remain recorded as needs_cleanup, not accepted or peer-confirmed. Existing independent review records are preserved. README.md is intentionally unchanged.
This commit is contained in:
ragnarok-clanker 2026-10-25 15:42:21 +00:00
commit e168b4e4a6
326 changed files with 9538 additions and 3481 deletions

View file

@ -14,6 +14,7 @@ namespace {
constexpr unsigned charsets[20] = {HANGUL_CHARSET, ANSI_CHARSET, SHIFTJIS_CHARSET, GB2312_CHARSET, CHINESEBIG5_CHARSET, THAI_CHARSET,
TURKISH_CHARSET, ANSI_CHARSET, ANSI_CHARSET, RUSSIAN_CHARSET, VIETNAMESE_CHARSET, ARABIC_CHARSET};
// INLINED
unsigned Hex(unsigned char value) {
if (value >= '0' && value <= '9') {
return value - '0';
@ -26,10 +27,12 @@ namespace {
return 0;
}
// INLINED
bool ValidHex(unsigned char value) {
return (value >= '0' && value <= '9') || (value >= 'a' && value <= 'f') || (value >= 'A' && value <= 'F');
}
// INLINED
unsigned InlineCharset(const char* marker) {
return 16 * Hex(static_cast<unsigned char>(marker[1])) + Hex(static_cast<unsigned char>(marker[2]));
}
@ -126,9 +129,7 @@ void TextContext::SetColor(COLORREF color) {
}
// OFFSET: 0x00550130
// FUNCTION: fn_01967
// OFFSET: 0x00550150
// FUNCTION: fn_01968
void TextContext::SetBackground(COLORREF color, int mode) {
SetBkColor(this->m_dc, color);
SetBkMode(this->m_dc, mode);