2 Commits
Author SHA1 Message Date
SatyandClaude Opus 5.5 62c5c4fa18 Fix ICC WMO colours and x64 shadow-query overflow
- Buffer.cpp: PNC2T2 Color0/Color1 are D3DCOLOR (type 0), not FLOAT3;
  unified-path WMOs (MOHD flag 0x2, e.g. Icecrown Citadel) were drawn
  blue/green/black (12340 init at 0x9CD010)
- CShadowQuery::AllocBuffers: size the group/matrix pointer arrays with
  sizeof; 0x2000 bytes only fits 0x800 entries with 4-byte pointers
- ShaderEffect: upload sun constants with explicit w (the values 12340
  reads from the neighbouring statics), independent of x64 layout

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-05 13:53:11 +02:00
SatyandClaude Opus 5.5 3e0d01aff0 Gx pass 5: textures, buffers, vertex format tables
- CGxTexFlags bitfields + 10-arg ctor with default args; CGxTex ctor/dtor, second TSLink at +0x48
- CiRect() zero-initializes (inline only)
- CGxDevice: TexCreate (returns 1), TexDestroy, ICursorCreate, CursorUnlock, BufDestroy, PrimVertexPtr;
  m_textures is a TSExplicitList
- CGxPool::UnlinkBuf (guessed name)
- Gx: GxTexCreate x3, GxTexUpdate(rect), GxPrimVertexPtr x2, GxPrimLockVertexPtrs
- Gx/Buffer.h/.cpp: Buffer::s_vertexBufDesc and the 14 per-format attribute tables

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 23:13:09 +02:00