Curation round 2, wave B: ItemConfig, EntityConfig, mods, Manager and the KAGE platform on SDL3; boots to LuaEngine::Init

- item_config, entity_config and mod_manager take over their families as idiomatic classes (std containers,
  unique_ptr, bitset tear flags). Every big loader reads the imported JSON: entities2.xml gives 1349 entities.
- manager.h/.cpp take over Manager (g_manager) and IsaacStartup. Members are the curated subsystems by value.
- kage_graphics, kage_input and kage_sound take over KAGE's graphics (shaders, render targets, batches, PNG through
  stb_image), input (SDL3 keyboard, mouse, gamepads) and sound (SDL3 audio, wav and stb_vorbis ogg, pitch and volume).
- source_tree.py: classes inside a namespace block in src/ headers count as taken over, and a still-generated class's
  vtable slot keeps its stub unless src/ defines that exact method.
build/isaac opens the window, sets up GL 4.6, framebuffers and PulseAudio, logs the version, and stops at
LuaEngine::Init. 522 functions taken over, boot path 156/615.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-11-20 00:03:39 -05:00
1 parent 346dc95e13
commit 28e2e48842
105 files changed
+7008 -31418

No files matched your search

+4 -4
View File
@@ -2910,7 +2910,7 @@ LAB_005d33d8:
itemConfig = GHIDRA_CAST<ItemConfig_Item *>(0x0);
}
else {
itemConfig = (GHIDRA_CAST<ItemConfig *>((&g_manager->_itemConfig)))->ItemConfig::GetCollectible(*GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(EVar22) + 0x30)));
itemConfig = ItemConfig::GetCollectible(&g_manager->_itemConfig,*GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(EVar22) + 0x30)));
}
iVar14 = *GHIDRA_CAST<int *>((mrMeData + 4));
if (iVar14 == 4) {
@@ -5210,7 +5210,7 @@ LAB_0060c216:
uVar4 = Seeds::GetForcedCurses();
preventedCurses = Seeds::GetPreventedCurses();
if ((~preventedCurses & (uVar4 | uVar5 | uVar12) & 0x40) == 0) {
item = (GHIDRA_CAST<ItemConfig *>((&g_manager->_itemConfig)))->ItemConfig::GetCollectible(GHIDRA_INT(local_58));
item = ItemConfig::GetCollectible(&g_manager->_itemConfig,GHIDRA_INT(local_58));
(GHIDRA_CAST<msvc::string *>((itemGfxPath._buf)))->msvc::string::string(&item->gfxFilename);
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_14)) + 0x0))) = 3;
if (g_game->_challenge == 0x20) {
@@ -5234,13 +5234,13 @@ LAB_0060c216:
GHIDRA_INT((g_manager->_itemConfig)._collectibles._begin) >> 2)) &&
(iVar8 != 0xeb)) &&
(((iVar8 != 0x2b && (iVar8 != 0x3d)) &&
(item = (GHIDRA_CAST<ItemConfig *>((&g_manager->_itemConfig)))->ItemConfig::GetCollectible(iVar8),
(item = ItemConfig::GetCollectible(&g_manager->_itemConfig,iVar8),
item != GHIDRA_CAST<ItemConfig_Item *>(0x0))))) break;
local_68 = local_68 + 1;
if (0xe < GHIDRA_INT(local_68)) goto LAB_0060c1d7;
pbVar3 = local_5c;
}
item = (GHIDRA_CAST<ItemConfig *>((&manager->_itemConfig)))->ItemConfig::GetCollectible(iVar8);
item = ItemConfig::GetCollectible(&manager->_itemConfig,iVar8);
stringPtr = &item->gfxFilename;
if (&itemGfxPath != stringPtr) {
if (0xf < (item->gfxFilename)._capacity) {