Commit Graph
13 Commits
Author SHA1 Message Date
SatyandClaude Opus 5.5 a8e251eb85 Base: Base, CmdLine, ConvertUTF, Coordinate, Sort
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]>
2026-09-24 05:46:00 +02:00
SatyandClaude Opus 5.5 195c975476 Base: CDataStore
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]>
2026-09-24 05:20:21 +02:00
SatyandClaude Opus 5.5 9c87d11233 Base: CDynamicString
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]>
2026-09-24 05:01:59 +02:00
SatyandClaude Opus 5.5 04a7d5136a Base: CDataRecycler, RefCount.cpp; move header function bodies to .cpp
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]>
2026-09-24 04:46:38 +02:00
SatyandClaude Opus 5.5 fc73a3920f Base: CDataAllocator
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]>
2026-09-24 04:29:34 +02:00
SatyandClaude Opus 5.5 147177c448 Base: CBitArray; Storm: operator delete[]
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]>
2026-09-24 04:23:35 +02:00
SatyandClaude Opus 5.5 8f14dd9d01 Base: RCString, CStringMemory, CStringManager, TRefCnt
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]>
2026-09-24 04:17:30 +02:00
SatyandClaude Opus 5.5 cccfd26213 Move Storm to Engine/Source/Storm; SFile.cpp to BlizzardCore
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]>
2026-09-24 03:33:51 +02:00
SatyandClaude Opus 5.5 2e5f2331a5 Implement Engine/Source/Base FileCache
BaseFileDestroy; PrefetchNode/UncachableNode (constructor and destructor
inline); statics s_activeFiles, s_uncachableFiles, s_critSect. Empty
BaseFileInitialize, IBaseFileWaitForLoad, SFile::CreateOverlapped and
SFile::DestroyOverlapped (folded, docs/0x005EEB70.md, docs/0x00632050.md).
SOVERLAPPED in SFile2-Core.h.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 03:33:50 +02:00
SatyandClaude Opus 5.5 37591d61e2 Implement Engine/Source/Base Handle
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]>
2026-09-24 03:14:22 +02:00
SatyandClaude Opus 5.5 f282eed856 Implement Engine/Source/Base Prop and Os/W32/Tls
Prop: PropInitialize, PropDestroy, PropSelectContext,
PropGetSelectedContext, PropGet, PropSet, PropCreateContext, s_tlsIndex.
Tls: OsTlsAlloc, OsTlsFree, OsTlsGetValue, OsTlsSetValue. PROPERTY enum
and HPROPCONTEXT in Base/Types.h (moved from Event/EvtContext.h).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 03:03:19 +02:00
SatyandClaude Opus 5.5 a19a5df43e Implement Engine/Source/Base Status
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]>
2026-09-24 02:56:37 +02:00
Saty 5137298335 Initial commit 2026-09-23 18:24:00 +02:00