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
@@ -1784,7 +1784,7 @@ void PlayerManager::handle_coop_join()
(**(code **)(PTR_vftable_00c57b2c + 0x10))();
local_8 = 0xffffffff;
if (GHIDRA_UINT((iVar11 >> 3)) <= GHIDRA_UINT(fVar10)) break;
(GHIDRA_CAST<KAGE::Input::Manager *>((GHIDRA_CAST<Manager *>(&PTR_vftable_00c57b18))))->KAGE::Input::Manager::get_device(&inputDevice,GHIDRA_UINT(fVar10));
KAGE::Input::Manager::get_device(GHIDRA_CAST<Manager *>(&PTR_vftable_00c57b18),&inputDevice,GHIDRA_UINT(fVar10));
local_8 = 1;
if (inputDevice == GHIDRA_CAST<int *>(0x0)) {
local_8 = 2;
@@ -4311,7 +4311,7 @@ int PlayerManager::GetNumCollectibles(int collectibleId)
Entity_Player *player;
total = 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)) ||
(isCountBackupPlayer = true, (itemConfig->tags & 0x80000000) == 0)) {
isCountBackupPlayer = false;
@@ -4855,7 +4855,7 @@ void PlayerManager::restore_controller_assignment()
(**(code **)(PTR_vftable_00c57b2c + 0x10))();
local_8 = (*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(GHIDRA_UINT(local_8))) + 0x1))) << 8;
if (GHIDRA_UINT((iVar7 >> 3)) <= uVar6) break;
(GHIDRA_CAST<KAGE::Input::Manager *>((GHIDRA_CAST<Manager *>(&PTR_vftable_00c57b18))))->KAGE::Input::Manager::get_device(&device,uVar6);
KAGE::Input::Manager::get_device(GHIDRA_CAST<Manager *>(&PTR_vftable_00c57b18),&device,uVar6);
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 2;
if (((device != 0) &&
(controllerIndex = *GHIDRA_CAST<int *>((device + 0xc)),