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

+8 -8
View File
@@ -623,10 +623,10 @@ LAB_00715bc8:
configEntry = GHIDRA_CAST<EntityConfig_Entity *>((GHIDRA_INT(effect43ConfigNode) + 0x18));
}
else {
configEntry = (GHIDRA_CAST<EntityConfig *>((entityConfig)))->EntityConfig::GetEntity(1000,0,0);
configEntry = EntityConfig::GetEntity(entityConfig,1000,0,0);
}
if (configEntry != GHIDRA_CAST<EntityConfig_Entity *>(0x0)) {
(GHIDRA_CAST<EntityConfig *>((GHIDRA_CAST<EntityConfig *>(local_1a8))))->EntityConfig::PreloadResources(configEntry);
EntityConfig::PreloadResources(GHIDRA_CAST<EntityConfig *>(local_1a8),configEntry);
manager = g_manager;
}
local_1a8 = GHIDRA_CAST<Game *>(0x3e803a00);
@@ -638,10 +638,10 @@ LAB_00715bc8:
configEntry = GHIDRA_CAST<EntityConfig_Entity *>((GHIDRA_INT(effect58ConfigNode) + 0x18));
}
else {
configEntry = (GHIDRA_CAST<EntityConfig *>((&manager->_entityConfig)))->EntityConfig::GetEntity(1000,0,0);
configEntry = EntityConfig::GetEntity(&manager->_entityConfig,1000,0,0);
}
if (configEntry != GHIDRA_CAST<EntityConfig_Entity *>(0x0)) {
(GHIDRA_CAST<EntityConfig *>((local_1a4)))->EntityConfig::PreloadResources(configEntry);
EntityConfig::PreloadResources(local_1a4,configEntry);
manager = g_manager;
}
heartConfigKey = &DAT_00500a00;
@@ -653,10 +653,10 @@ LAB_00715bc8:
configEntry = GHIDRA_CAST<EntityConfig_Entity *>((GHIDRA_INT(heartConfigNode) + 0x18));
}
else {
configEntry = (GHIDRA_CAST<EntityConfig *>((&manager->_entityConfig)))->EntityConfig::GetEntity(5,0,0);
configEntry = EntityConfig::GetEntity(&manager->_entityConfig,5,0,0);
}
if (configEntry != GHIDRA_CAST<EntityConfig_Entity *>(0x0)) {
(GHIDRA_CAST<EntityConfig *>((local_1a4)))->EntityConfig::PreloadResources(configEntry);
EntityConfig::PreloadResources(local_1a4,configEntry);
manager = g_manager;
}
local_1ac = GHIDRA_CAST<Entity *>(&DAT_00501400);
@@ -668,10 +668,10 @@ LAB_00715bc8:
configEntry = GHIDRA_CAST<EntityConfig_Entity *>((GHIDRA_INT(coinConfigNode) + 0x18));
}
else {
configEntry = (GHIDRA_CAST<EntityConfig *>((entityConfig)))->EntityConfig::GetEntity(5,0,0);
configEntry = EntityConfig::GetEntity(entityConfig,5,0,0);
}
if (configEntry != GHIDRA_CAST<EntityConfig_Entity *>(0x0)) {
(GHIDRA_CAST<EntityConfig *>((entityConfig)))->EntityConfig::PreloadResources(configEntry);
EntityConfig::PreloadResources(entityConfig,configEntry);
}
(this->_rng)._seed = *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((this)) + 0x14))));
(this->_rng)._shift1 = 5;