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
+24
View File
@@ -493,3 +493,27 @@ int32_t CDataStore::InternalFetchRead(uint32_t pos, uint32_t bytes, uint8_t*& da
uint32_t CDataStore::GetHeaderSpace(int32_t bytes) {
return 0;
}
// VERIFY: 97bd27e2 manual
// OFFSET: 0x00465FD0
void* CDataStore::Alloc(uint32_t bytes, const char* fileName, int32_t lineNumber) {
if (!bytes) {
return nullptr;
}
if (fileName) {
return SMemAlloc(bytes, fileName, lineNumber, 0);
}
return SMemAlloc(bytes, __FILE__, __LINE__, 0);
}
// VERIFY: 5f3c641c manual
// OFFSET: 0x00466010
void* CDataStore::ReAlloc(void* ptr, uint32_t bytes, const char* fileName, int32_t lineNumber) {
if (fileName) {
return SMemReAlloc(ptr, bytes, fileName, lineNumber, 0);
}
return SMemReAlloc(ptr, bytes, __FILE__, __LINE__, 0);
}