8 Commits
Author SHA1 Message Date
SatyandClaude Opus 5.5 27de58d41e Dissolve _Triage into the source tree
- move triage code to the folders of its binary neighbours (AreaList,
  movement packet types, CClientObjCreate, CWOWClientStatus, SHA1,
  Clamp, EmergencyMem, MippedImg, WowMouse, ...)
- merge HMAC template, OnGxRestartClearWorld and TIMESTAMPSTRUCT into
  their natural headers
- delete superseded duplicates and unk-only placeholders
- tools: drop Triage library, fix Streaming stub signatures, remove
  stubs now provided by BlizzardCore, MapViewer s_liquidTypeId

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-03 18:09:53 +02:00
SatyandClaude Opus 5.5 f493121844 Texture T4: finish Texture.cpp, SysMsg printf
- Settings/accessors: filter mode, anisotropy, cache size, atlas, file
  helpers, ready/loaded/opaque checks, dimensions, ref count
- LoadBlpMips, TextureLoadImage, TextureDestroy, TextureGxCacheClear/Flush,
  TextureNotifyGxRestart, TextureCreate overloads, cache lookup/insert
- SysMsgVPrintf, SysMsgPrintf x2, CAsyncObject::IsPending
- CBLPFile ctor has an out-of-line copy (0x4B58D0)
- GxTest: TextureLoadImage check

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 21:49:55 +02:00
SatyandClaude Opus 5.5 fbde2def4e Texture T3: CTgaFile, TGA textures, MipBits cache, texture blobs
- Images/tga: packed TGAHeader/TGAFooter, all 23 CTgaFile methods
- TGA path: LoadTgaMips, LoadPredrawnMips, TextureGenerateMips,
  TextureCalcMipCount, UpdateTgaTexture, CreateTgaTexture, FullShrink
- MipBits cache: CMipBitsCache, TextureAllocMippedImg, TextureFreeMippedImg x2
- CTextureBlob module, UpdateBlobTexture, TextureCreateBlob, Load/UnloadBlob
- SFile::FileExistsEx, Os file constants, C4Pixel moved to BLPFile/Types.h
- GxTest --tga/--blob, BlpTest list

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 21:34:16 +02:00
SatyandClaude Opus 5.5 5a2919f977 Texture T1: CTexture, create path, GxTex cache, atlas, BLP upload
Ports 37 Texture.cpp functions from TextureCreate to the filled D3D
texture (cache, solid textures, PumpBlpTextureAsync, TextureAllocGxTex/
FreeGxTex reuse buckets, atlas, TextureGetGxTex, TextureInitialize),
GxuUpdateSingleColorTexture, GxTexReusable(CGxTex*), CGxTexFlags==,
CBLPFile ctor/dtor. Fixes CStatus Add overload order (vtable slots).
GxTest --textures reads back D3D levels; all match 12340 (note 298).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 19:59:26 +02:00
SatyandClaude Opus 5.5 58327e7acd BLP runtime check: BlpTest tool, x64-safe dither index
Tools/BlpTest decodes real BLPs through CBLPFile in every format and mip;
output matches 12340's own code run under emulation (note 296).
Dither decoders: next[x - 1] -> (next + x)[-1]; x86 asm unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 18:33:21 +02:00
SatyandClaude Opus 5.5 60214f0fe3 BLP B2: Floyd-Steinberg palette decoders
Port DecompPalARGB4444/1555/565/2565DitherFloydSteinberg with their
static error rows and alpha tables; CBLPFile is now complete.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 17:14:52 +02:00
SatyandClaude Opus 5.5 eb52720935 BLP B1: CBLPFile core, mip helpers, CalcRowStride
Port CBLPFile open/source/lock/unlock/lock-chain and the palette
fast paths, the MippedImg helpers (_Triage) and CalcRowStride.
BLPHeader moves to BLPFile/Types.h with the palette/JPEG union.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 17:08:56 +02:00
Saty 5137298335 Initial commit 2026-09-23 18:24:00 +02:00