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

+3 -3
View File
@@ -850,7 +850,7 @@ void Weapon::stop_costume_item_anim(int collectibleId)
*GHIDRA_CAST<uint32_t *>((iVar1 + 0xd4c)) = 0;
}
else if ((iVar2 != 0) &&
(itemDesc = (GHIDRA_CAST<ItemConfig *>((&g_manager->_itemConfig)))->ItemConfig::GetCollectible(collectibleId),
(itemDesc = ItemConfig::GetCollectible(&g_manager->_itemConfig,collectibleId),
*GHIDRA_CAST<char *>((iVar2 + 0x20a9)) == '\0')) {
spriteIndex = GHIDRA_CAST<int *>((iVar2 + 0x122c));
slotsLeft = 0xf;
@@ -926,7 +926,7 @@ uint8_t Weapon::IsItemAnimFinished(uint32_t collectibleID)
emptyAnimName[2] = 0;
emptyAnimName[3] = 0;
ExceptionList = &local_10;
itemDesc = (GHIDRA_CAST<ItemConfig *>((&g_manager->_itemConfig)))->ItemConfig::GetCollectible(collectibleID);
itemDesc = ItemConfig::GetCollectible(&g_manager->_itemConfig,collectibleID);
bVar2 = 1;
spriteIndex = player->_playerCostumeMap;
isAllFinished = 1;
@@ -1020,7 +1020,7 @@ uint8_t Weapon::is_c_section_anim_finished(int unused)
isFinished = IsItemAnimFinished(this,0x2a6);
}
else {
cSectionItem = (GHIDRA_CAST<ItemConfig *>((&g_manager->_itemConfig)))->ItemConfig::GetCollectible(0x2a6);
cSectionItem = ItemConfig::GetCollectible(&g_manager->_itemConfig,0x2a6);
spriteIndex = GHIDRA_CAST<int *>((iVar1 + 0x122c));
slot = 0;
do {