6 Commits
Author SHA1 Message Date
SatyandClaude Opus 5.5 03de438346 Os: OsNet TCP layer, command line, named events, file version info
The OsNet TCP layer (OsTcp.cpp, platform OsTcpConn.h; signed send-length
compares and 32-bit IoPump elapsed time per the binary),
CommandLineUTF8 (0x86BDB0), CreateNamedEventA (0x86B4F0) and
OsFileVersionInfo (0x872170), Win32 and Win64. Os links version.lib. The
test tools drop their IoPump stand-in. Anti-cheat (bot check, Warden
loader) is left out.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-27 03:04:04 +02:00
SatyandClaude Opus 5.5 6c89f31539 Os O4a: Os*File layer over Blizzard::File
Port the 21-function Os file API (OsCreateFile, OsReadFile, OsFileList,
...). OsCreateDirectory and OsSetCurrentDirectory move here from Path.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 16:01:44 +02:00
SatyandClaude Opus 5.5 ca050459be Os pass 1: System, path and time helpers
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 14:53:30 +02:00
SatyandClaude Opus 5.5 698a289577 Gx pass 6: render-state core, logging, window clamps
- CGxStateBom union, CGxPushedRenderState; typed render-state arrays in CGxDevice
- IRsDirty, IRsForceUpdate x2, IRsSync, IRsInit, RsSet, RsPush, RsPop
- MasterEnableSet, XformSetView, TexSetFlags, TexSetWrap, CGxTexFlags::operator!=
- GxRsSet (void*, int32_t, float), GxTexSetFlags, GxTexSetWrap
- CGxDevice::Log x4, LogOpen, LogClose; GxLog, GxLogOpen, GxLogClose, GxLogCrashInfo; g_gxApiNames
- ClampRectToWindow, ClampRect*ByAspect
- OsCreateDirectory (Os/Win32|Win64/Path.cpp)

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 23:30:51 +02:00
SatyandClaude Opus 5.5 7e3e0919ee SFile pass 4: client SFile layer, Os path helpers, SetPaths
SFile2-Core.cpp: SFile::Initialize (0x421700), paths, OpenArchive,
OpenPathAsArchive (+ Mopaq SFileOpenArchiveView), CloseArchive,
SFileImpl, OpenEx, FindFile/OldFindFile + loose-file hash,
SFileReadFile/CloseFile/GetFileSize/OpenFile, SetFilePointer,
ReadFile/LoadFile/Unload, RebuildHash, QueueAsyncOpen.
Memory: placement operator new/delete, Allocate(4).
String::Equal/EqualI/Length. Os/Path helpers. Client SetPaths.
Mopaq SFileGetFileSize gains unused sizeHigh; SFileSetFilePointer.
MpqTest: --sfile mode.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 20:09:54 +02:00
SatyandClaude Opus 5.5 953240f57c BlizzardCore Log, SComp review, Win32/Win64 platform folders
System/Log (16 functions) and Thread::WaitForever. Storm SComp review:
ImaAdpcmCompress size compares are signed as in 12340. AllocSTL_raw and
CCritSect members marked INLINED; SSyncObject ctor out of the header.

Platform layout: Windows API code lives in <dir>/Win32/ (whole file in
#if WOWDECOMP_ARCH_32) with full copies in <dir>/Win64/ (ARCH_64);
no _M_X64 blocks inside files. Former W32/ and *_Win32.cpp files moved,
their headers are generic now. Win32 API calls moved out of generic
File/Log/Thread/Unicode/SCmd files; Storm SErr/SLog/SReg/SMsg moved
whole. CODING_RULES section 7, PORTING_64BIT "Platform folders".

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