Client bring-up: login, realm list, world auth, character select

- Grunt login ported end to end (SRP6 challenge/proof, version checksum,
  realm list) and tested against a live server: authenticates, connects to
  the world server (auth session with proof-of-work, header crypt), receives
  the character list and shows character select
- Glue: realm list UI, character select (list, models, scripts), character
  create screen + name generator, delete/rename/decline, Enter World up to
  the loading screen; loading screen drawing and progress
- AccountData (times, update, upload/download), BannedAddOns, addon scan and
  addon info, client cache version, tutorial flags
- Shutdown path at login state: world/map/liquid/weather teardown, NetClient,
  ComSat, streaming stop; Logitech LCD no-device path in Ui/UILCD/Windows
- PCRE 5.0 vendored (core stock; chartables and the posix layer from 12340),
  ValidateName
- Fixes: TSGrowableArray::CalcChunkSize clamps to >= 8 (crash on char list),
  CWorldScene liquid renderer allocation, CMapFootprintTexture element ctor,
  pointer render states on x64, CFrustum/CWFrustum layout, M2 draw callback
  arguments, 37 class/struct forward-declaration mismatches
- IDB name sync (1217 names), verify aliases, harness large-element
  instantiation

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
Saty
2026-09-28 02:39:56 +02:00
co-authored by Claude Opus 5.5
parent 2e418f9e08
commit 095603ff2b
336 changed files with 121345 additions and 730 deletions
@@ -52,6 +52,25 @@ int32_t FrameScript_GetColor(lua_State* L, int32_t index, CImVector& color) {
return index;
}
// VERIFY: 51dc23ed manual
// OFFSET: 0x0061BE50
int32_t FrameScript_GetColorNoAlpha(lua_State* L, int32_t index, CImVector& color) {
float r = lua_tonumber(L, index);
r = r < 0.0f ? 0.0f : (r >= 1.0f ? 1.0f : r);
index++;
float g = lua_tonumber(L, index);
g = g < 0.0f ? 0.0f : (g >= 1.0f ? 1.0f : g);
index++;
float b = lua_tonumber(L, index);
b = b < 0.0f ? 0.0f : (b >= 1.0f ? 1.0f : b);
index++;
color.Set(1.0f, r, g, b);
return index;
}
// VERIFY: cb764878 auto
// OFFSET: 0x00960530
static int32_t Script_SetModel(lua_State* L) {