Curation round 3: Lua engine, Manager, sound, menus, cutscenes, rooms, item pools, saves; boots past LuaEngine::Init

Seven agents took over LuaEngine (the mod API registration deferred), the rest of Manager (LoadConfigs, fonts, render
surfaces, Update/Render), MusicManager/SFXManager, MenuManager with the title/save/game menus, Cutscene/NightmareScene/
Backdrop, RoomConfig (src/rooms ported and retired) with ItemPool, and PersistentGameData (the original binary save
format) with InfoDisplay. An integration pass moved call sites to the new APIs, declared the taken-over free functions,
fixed two data.cpp crashes (an empty children array, null attribute strings), and made the generator keep a header's own
name where a prototype names another address. Clean build (0 warnings with -Wall -Wextra). build/isaac runs the game's
Lua scripts (without the mod API yet) and stops at reload_resource_paths. 901 functions taken over, boot path 204/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:53:08 -05:00
1 parent a7061306fa
commit ddf913f304
137 files changed
+12684 -50687

No files matched your search

+3 -3
View File
@@ -1959,11 +1959,11 @@ void NetplayManager::join_pending_lobby(void *lobby)
g_menuManager = GHIDRA_CAST<MenuManager *>(0x0);
}
else {
(GHIDRA_CAST<MenuManager *>((newMenuManager)))->MenuManager::constructor();
MenuManager::constructor(newMenuManager);
g_menuManager = extraout_EAX;
}
local_14 = 0xffffffff;
(GHIDRA_CAST<MenuManager *>((g_menuManager)))->MenuManager::Init();
MenuManager::Init(g_menuManager);
(GHIDRA_CAST<KColor *>((&fadeColor)))->KColor::SetFromARGB(0xffffffff);
manager = g_manager;
(g_manager->_pendingMenuFadeColor)._red = fadeColor._red;
@@ -1976,7 +1976,7 @@ void NetplayManager::join_pending_lobby(void *lobby)
}
else {
puStack_20 = auStack_4a + 0x46;
(GHIDRA_CAST<MenuManager *>((g_menuManager)))->MenuManager::SetState(2,1);
MenuManager::SetState(g_menuManager,2,1);
}
_local_28 = CONCAT44(auStackY_dc + 0x84,local_28);
local_14 = 1;