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:
1 parent
a7061306fa
commit
ddf913f304
137 files changed
+12684
-50687
No files matched your search
@@ -202,7 +202,7 @@ LAB_009ace00:
|
||||
GHIDRA_UINT((GHIDRA_INT((g_game->_playerManager)._playerList._end) -
|
||||
GHIDRA_INT((playerManager->_playerList)._begin) >> 2)));
|
||||
}
|
||||
(GHIDRA_CAST<PersistentGameData *>((&g_manager->_persistentGameData)))->PersistentGameData::IncreaseEventCounter(0xca,1);
|
||||
PersistentGameData::IncreaseEventCounter(&g_manager->_persistentGameData,0xca,1);
|
||||
isFastForward = (uint8_t)_unk;
|
||||
}
|
||||
spriteAnimState = local_8;
|
||||
@@ -218,7 +218,7 @@ LAB_009ace00:
|
||||
seed_fart_sound_override(GHIDRA_CAST<int *>(&unk));
|
||||
(GHIDRA_CAST<SoundEffects *>((&manager->_sfxManager)))->SoundEffects::Play(_unk,1.0,2,0,1.0,0.0);
|
||||
(GHIDRA_CAST<Room *>((g_game->_room)))->Room::PlayMusic();
|
||||
(GHIDRA_CAST<MusicManager *>((&g_manager->_musicManager)))->MusicManager::EnableLayer(0,1);
|
||||
MusicManager::EnableLayer(&g_manager->_musicManager,0,1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user