6 Commits
Author SHA1 Message Date
SatyandClaude Opus 5.5 55d90d30ce Port ImageWriter; decompile Blizzard's libjpeg 6b
- libjpeg moved from ThirdParty/jpeg to Engine/Source/jpeg: stock 6b
  compression side plus Blizzard's changes (int boolean, error_flag
  instead of exit, source_pixels in jpeg_compress_struct, unscaled
  jpeg_add_quant_table, hook-pointer memory backend), all 140 functions
  OFFSET-tagged and verified
- jmemsrc.c: Blizzard's in-memory BGR(A) source (jinit_read_mem)
- ImageWriter: LDPC encoder, rect layout, block embedding, JPEG writer
  and the four API functions, verified against 12340
- THIRD_PARTY.md: libjpeg marked done

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-03 22:54:39 +02:00
SatyandClaude Opus 5.5 379ad35540 Third party: FreeType 2.0 (was 2.0.1), libjpeg 6b + Blizzard jmem backend
- FreeType: 12340's autohinter has no 2.0.1 glyph-transform code (ah_hinter_load_glyph 0x9A7E00,
  ah_hinter_load 0x9A7840); swap to tag VER-2-0, drops the FT_Matrix_Invert reference
- libjpeg 6b from ijg.org (makefile.vc LIBOBJECTS, jconfig.vc as jconfig.h), stock jmemnobs.c left out
- Engine/Source/jpeg/jmemnobs.cpp: Blizzard's hook-based memory backend (0x4AAF60-0x4AAFD0), target jpegmem
- THIRD_PARTY.md: versions/evidence, SPIRIT IP-MR listed as not available

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-03 19:40:06 +02:00
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 2e418f9e08 Client bring-up: glue screen, EULA/TOS, shutdown chain, LCD, x64 fixes
- Stand-in client reaches the glue screens (intro movie, EULA/TOS accept,
  login screen) at 16:9; stand-ins are report-only on x64
- Ports on the startup/idle path: GlueScriptEvents/CharacterSelection/
  CharacterCreation/RealmList/AccountMsg/VideoOptions _Scripts, CGlueMgr
  (Initialize/Resume/Idle/Accept*/Shutdown), ClientServices, NetClient/
  WowConnection, DBCache + instances, WorldParam/World/Map/Liquid/Weather/
  shadow, InputControl, Scrn, ConsoleClient, SysMessage, LoadingScreen,
  SystemRegisterFunctions, CGameTime, Screen::GetAspectRatio
- Shutdown chain: BeginCloseGame, DestroyEngineCallback, DBCache save/
  destroy, SpellVisuals/Effect/World/Glue teardown
- Logitech LCD no-device path in Ui/UILCD/Windows (Windows-only dir);
  lgLcd is a stub library in ThirdParty/lgLcd
- CVar and console commands split into <Module>_CVar.cpp / _Console.cpp
- DivxDecoder.dll (Win32, original) and XvidDecoder.dll (x64, port with
  vendored xvidcore) both copied to the build folder
- Warden: Win32 faithful port, Win64 stub
- x64 fixes: lua_newstate gcusage/gctime init, pointer render states reset
  with nullptr, g_rndSeed defined
- 37 class/struct forward-declaration mismatches fixed (false stand-ins)

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-27 21:47:34 +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
Saty 5137298335 Initial commit 2026-09-23 18:24:00 +02:00