Commit Graph
3 Commits
Author SHA1 Message Date
SatyandClaude Opus 5.5 64ad89ba54 SFile2-Core: bind placement new to Blizzard operator new
The flags literal 0 is an int, which made new (0, __FILE__, __LINE__)
resolve to the CRT debug operator new(size_t, int, const char*, int)
instead of the Blizzard operator new(size_t, uint32_t, const char*,
int32_t). Pass 0u.

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