Port the Using init/shutdown registry (Mac 4.0.1 names) and the
String::Copy it depends on. All functions verified against the binary.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Port the remaining Base block A pieces: global/context init, the
command-line option table, UTF-8/16 conversion (sgetu8/sputu8), the
coordinate/aspect helpers and the context qsort. All functions verified
against the binary.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Add operator new and give operator delete/delete[] the binary's null
check. All three verified against the binary.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Port CDataStore (0.5.3 layout and names, 11-slot 12340 vtable) into
Engine/Source/Base, remove its declaration from UIUtil/AddOns.h, and
document the three folded vtable stubs. All functions verified against
the binary.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Port CDynamicString (Mac 4.0.1 names; Grow and field names are best
guesses) and allow best-guess names in CODING_RULES.md. All functions
verified against the binary.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Port CDataRecycler following the 12340 binary (Link takes two arguments).
Move every non-template function body out of the Base headers into their
.cpp files, give TRefCnt its own RefCount.cpp, and record the rule in
CODING_RULES.md.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Port the fixed-size block allocator (0.5.3 layout, Mac 3-argument Clear,
destructor as inlined Clear). All functions verified against the binary.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Port CBitArray (Mac 4.0.1 names and field names from asserts) and add the
client operator delete[] that 12340 inlines everywhere.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Port the 12340 string interning table (Mac 4.0.1 design) and TRefCnt in
RefCount.h. All functions verified against the binary.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Drop the inner BlizzardCore/ level, replace namespace-named files with
the real file names (Packages/Mopaq, Streaming, iounit, System/*), move
SFile::CreateOverlapped/DestroyOverlapped into Mopaq/SFile.cpp, and
exempt source folders from the Visual Studio .gitignore rules.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Storm moves under Engine/Source with its inner layout unchanged. All
includes use Engine/Source/Storm/..., Storm's include guards follow the
new path, and the top-level CMakeLists adds Engine/Source/Storm.
SFile.cpp (SFile::CreateOverlapped/DestroyOverlapped) moves to
Engine/Source/BlizzardCore.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
HandleClose, HandleCreate, HandleDuplicate; HandleDereference inline;
empty HandleInitialize/HandleDestroy (folded). CHandleObject in
Base/Handle.h with its real layout (vtable, m_refcount at +4), which moves
TEXTBLOCK::m_string and FONTHASHOBJ's fields by 4. HOBJECT in Base/Types.h.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
CStatus with its 12340 layout (vtable, entry list, highest severity):
GetGlobalStatusObj, Add (both), IsEmpty, GetErrorStr, GetErrorStrLen,
GetErrorStrAlloc, Prepend, ~CStatus; STATUSENTRY destructor and Clear
inline in Status.h. CTexture drops the gap that was the rest of CStatus.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Storm template library (TSLink, TSList, TSExplicitList, arrays, TSHashTable,
hash keys) and W32 sync classes (SCritSect, SSyncObject, SEvent, SMutex,
SSemaphore, SThread::SetPriority), written from the binary. Adds storm.h
with the Storm API the templates call. Generated headers updated for the
new homes and the array element types recovered from the binary.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>