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
@@ -5341,7 +5341,7 @@ int Entity_Familiar::GetRandomWisp(RNG *rng)
local_10 = ExceptionList;
ExceptionList = &local_10;
local_1c = rng;
pvVar3 = (GHIDRA_CAST<ItemConfig *>((&g_manager->_itemConfig)))->ItemConfig::GetTaggedItems(0x4000000);
pvVar3 = ItemConfig::GetTaggedItems(&g_manager->_itemConfig,0x4000000);
msvc::vector<int>::copy_constructor(pvVar3);
wispItemsEnd = GHIDRA_CAST<int *>(0x0);
wispItemsBegin = (void *)0x0;
@@ -17112,7 +17112,7 @@ LAB_0062dbfb:
manager = g_manager;
if (iVar6 != this->_subtype) {
this->_subtype = iVar6;
entityConfig = (GHIDRA_CAST<EntityConfig *>((&manager->_entityConfig)))->EntityConfig::GetEntity(this->_type,this->_variant,iVar6)
entityConfig = EntityConfig::GetEntity(&manager->_entityConfig,this->_type,this->_variant,iVar6)
;
this->_config = entityConfig;
ANM2::Load(&this->_sprite,&entityConfig->anm2Path,1);
@@ -21713,7 +21713,7 @@ void Entity_Familiar::RemoveFromPlayer(uint8_t UnusedRemoveFamiliar)
uVar5 = (GHIDRA_CAST<RNG *>((&local_38)))->RNG::RandomInt(3);
iVar8 = local_18[uVar5 + 1];
LAB_0063b918:
item = (GHIDRA_CAST<ItemConfig *>((&manager->_itemConfig)))->ItemConfig::GetCollectible(iVar8);
item = ItemConfig::GetCollectible(&manager->_itemConfig,iVar8);
isEvaluateNeeded = '\x01';
break;
case 0x67: