Files
wowdecomp/WoW/Source/WorldClient/MapChunk.cpp
T
SatyandClaude Opus 5.5 095603ff2b 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]>
2026-09-28 02:39:56 +02:00

47 lines
1.1 KiB
C++

#include "MapChunk.h"
#include "WoW/Source/WorldClient/MapRenderChunk.h"
// STATIC: 0x00D25488
float CMapChunk::s_geoToTex;
// STATIC: 0x00D25498
C3Vector CMapChunk::vertexList[145];
// VERIFY: 86d6cd8c manual
// OFFSET: 0x007C3C60
void CMapChunk::InitializeVertexGrid() {
C3Vector* vertex = CMapChunk::vertexList;
for (int32_t row = 0; row < 9; row++) {
float x = row * -4.1666665f;
for (int32_t col = 0; col < 9; col++) {
vertex->x = x;
vertex->y = 0.0f - col * 4.1666665f;
vertex++;
}
if (row < 8) {
for (int32_t col = 0; col < 8; col++) {
vertex->x = x - 2.0833333f;
vertex->y = 0.0f - col * 4.1666665f - 2.0833333f;
vertex++;
}
}
}
}
// VERIFY: 6ef0b88b auto
// OFFSET: 0x007C3D90
void CMapChunk::Initialize() {
CMapRenderChunk::Initialize();
CMapChunk::InitializeVertexGrid();
CMapChunk::s_geoToTex = -1.0f / CMapChunk::vertexList[1].y;
}
// VERIFY: b5717665 auto
// OFFSET: 0x007C3A00
void CMapChunk::Destroy() {
CMapRenderChunk::Destroy();
}