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

+5 -5
View File
@@ -1277,7 +1277,7 @@ joined_r0x008d4475:
entityConfig = &g_manager->_entityConfig;
*GHIDRA_CAST<bool *>((pocketId + 0x44)) = *GHIDRA_CAST<char *>((GHIDRA_CAST<char *>((&g_game->_itemPool + 1)) + uVar4 + 0x3c)) == '\0';
in_stack_ffffff80 = 5;
pickupConfig = (GHIDRA_CAST<EntityConfig *>((entityConfig)))->EntityConfig::GetEntity(5,0x46,player->_pocketSlots[iVar5 * 2]);
pickupConfig = EntityConfig::GetEntity(entityConfig,5,0x46,player->_pocketSlots[iVar5 * 2]);
if (pickupConfig == GHIDRA_CAST<EntityConfig_Entity *>(0x0)) {
ANM2::Reset(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))));
}
@@ -1324,7 +1324,7 @@ joined_r0x008d4475:
pocketId = *GHIDRA_CAST<int *>((GHIDRA_INT((manager->_itemConfig)._cards._begin) + pocketId * 4));
}
in_stack_ffffff80 = 5;
pickupConfig = (GHIDRA_CAST<EntityConfig *>((&manager->_entityConfig)))->EntityConfig::GetEntity(5,300,*GHIDRA_CAST<int *>((pocketId + 0x54)))
pickupConfig = EntityConfig::GetEntity(&manager->_entityConfig,5,300,*GHIDRA_CAST<int *>((pocketId + 0x54)))
;
if (pickupConfig == GHIDRA_CAST<EntityConfig_Entity *>(0x0)) {
ANM2::Reset(GHIDRA_CAST<ANM2 *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((entityConfig)) + 0x64)))));
@@ -2204,7 +2204,7 @@ LAB_009b5fbf:
else {
local_3c = GHIDRA_CAST<uint8_t *>(0x0);
}
itemConfig = (GHIDRA_CAST<ItemConfig *>((&g_manager->_itemConfig)))->ItemConfig::GetCollectible(GHIDRA_INT(local_3c));
itemConfig = ItemConfig::GetCollectible(&g_manager->_itemConfig,GHIDRA_INT(local_3c));
if (itemConfig == GHIDRA_CAST<ItemConfig_Item *>(0x0)) {
LAB_009b62cb:
local_30 = local_30 + -1;
@@ -3082,7 +3082,7 @@ void PauseScreen::update_stuff_arrows()
else {
iVar3 = 0;
}
item = (GHIDRA_CAST<ItemConfig *>((&g_manager->_itemConfig)))->ItemConfig::GetCollectible(iVar3);
item = ItemConfig::GetCollectible(&g_manager->_itemConfig,iVar3);
if (item == GHIDRA_CAST<ItemConfig_Item *>(0x0)) {
LAB_009b8065:
maxScroll = maxScroll + -1;
@@ -3446,7 +3446,7 @@ void PauseScreen::render_my_stuff(Vector *pos)
else {
collectibleId = 0;
}
itemConfig = (GHIDRA_CAST<ItemConfig *>((&g_manager->_itemConfig)))->ItemConfig::GetCollectible(collectibleId);
itemConfig = ItemConfig::GetCollectible(&g_manager->_itemConfig,collectibleId);
if (itemConfig != GHIDRA_CAST<ItemConfig_Item *>(0x0)) {
pEVar6 = (GHIDRA_CAST<Game *>((g_game)))->Game::GetPlayer(this->_playerIdx);
bVar1 = (GHIDRA_CAST<Entity_Player *>((pEVar6)))->Entity_Player::HasCollectible(collectibleId,0);