Files
wowdecomp/WoW/Source/WorldClient/ShadowQuery.h
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

38 lines
1.2 KiB
C++

#ifndef WOW_SOURCE_WORLDCLIENT_SHADOWQUERY_H
#define WOW_SOURCE_WORLDCLIENT_SHADOWQUERY_H
#include <cstdint>
#include "Engine/Source/ShaderEffect/ShadowCache.h"
struct CVar;
extern CVar* g_shadowCull;
extern CVar* g_shadowScissor;
extern CVar* g_shadowInstancing;
struct ShadowQueryBuffers {
/* 0000 */ uint32_t unk_0000;
/* 0004 */ void* unk_0004;
/* 0008 */ void* unk_0008;
/* 000C */ uint8_t* unk_000C;
/* 0010 */ uint32_t unk_0010;
/* 0014 */ uint32_t unk_0014;
/* 0018 */ uint8_t* unk_0018;
/* 001C */ uint32_t unk_001C;
/* 0020 */ uint32_t unk_0020;
};
class CShadowQuery {
public:
static ShadowQueryBuffers s_unk_D25320[3];
static void FreeBuffers();
static void FrustumCallback(CFrustum& frustum, C44Matrix& matrix, const C3Vector& direction, CShadowCacheQueryData& data, int32_t band);
static void Initialize();
static void MatrixCallback(C3Vector& center, float radius, C44Matrix& matrix, C3Vector& direction, int32_t band);
static int32_t QueryCallback(CShadowCacheQueryData& data, uint32_t frame);
static int32_t RenderCallback(CShadowCacheQueryData& data, int32_t band, CGxTex* target, CGxTex* colorTarget, C3Vector& direction);
};
#endif