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

+2 -2
View File
@@ -4974,7 +4974,7 @@ void Entity_NPC::Morph(int EntityType, int Variant, int SubType, int Championid)
this->_championColorIdx = Championid;
this->_isChampion = 1;
}
config = (GHIDRA_CAST<EntityConfig *>((&g_manager->_entityConfig)))->EntityConfig::GetEntity(EntityType,Variant,SubType);
config = EntityConfig::GetEntity(&g_manager->_entityConfig,EntityType,Variant,SubType);
if ((config != GHIDRA_CAST<EntityConfig_Entity *>(0x0)) && (config->canBeChampion == 0)) {
this->_championColorIdx = -1;
this->_isChampion = 0;
@@ -9670,7 +9670,7 @@ LAB_006d3d39:
KAGE_LogMessage(1,GHIDRA_CAST<uint8_t *>("[warn] No OverlayEffect Null found for Entity (%d)\n"));
}
else {
(GHIDRA_CAST<EntityConfig_Entity *>((this->_config)))->EntityConfig_Entity::GetName(GHIDRA_CAST<std_string *>(&configName),0x14);
EntityConfig_Entity::GetName(this->_config,GHIDRA_CAST<std_string *>(&configName),0x14);
ehState = 2;
KAGE_LogMessage(1,(uint8_t *)
"[warn] No OverlayEffect Null found for Entity %s with sprite %s\n");