Curation round 7: Game::Start, level generation, Room, Camera, the Entity hierarchy, Entity_Player, the run frame

Six agents took over Game::Start, Level::SetNextStage, BossPool, save_game_state, level generation to the first room
(place_special_rooms, RoomDescriptor, load_room), Room, Camera, Entity/EntityList/EntityRef with a curated skeleton of
every Entity_* subclass, Entity_Player, Game::Render, Manager::Update's run branch, RoomTransition, ItemInfoHUD and
StatHUD. Integration wrote FirstTrinketOwner and room_shape_get_door_grid_index (checked against the decompile for
every shape and slot) and folded the duplicated constants. A run now generates its floor, loads the start room and
draws the HUD (under gdb); Isaac renders correctly when drawn, the room itself waits for Room::Render.
2479 functions taken over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-11-20 05:33:11 -05:00
1 parent addd027977
commit b85591bdf4
146 files changed
+20124 -200863

No files matched your search

+6 -6
View File
@@ -169,7 +169,7 @@ LAB_009accdf:
playerSlot = playerSlot + playerIndex;
}
if ((GHIDRA_CAST<Entity_Player *>(*playerSlot))->_playerType != 0x28) {
iVar2 = (GHIDRA_CAST<Entity_Player *>((GHIDRA_CAST<Entity_Player *>(*playerSlot))))->Entity_Player::GetHealthType();
iVar2 = Entity_Player::GetHealthType(GHIDRA_CAST<Entity_Player *>(*playerSlot));
if ((iVar2 == 1) || (iVar2 == 2)) {
iVar2 = player->_maxHearts;
}
@@ -177,16 +177,16 @@ LAB_009accdf:
iVar2 = player->_maxHearts + player->_boneHearts * 2;
}
if (iVar2 < 1) {
(GHIDRA_CAST<Entity_Player *>((player)))->Entity_Player::AddSoulHearts(6,0);
Entity_Player::AddSoulHearts(player,6,0);
}
else {
healthType = (GHIDRA_CAST<Entity_Player *>((player)))->Entity_Player::GetHealthType();
healthType = Entity_Player::GetHealthType(player);
iVar2 = extraout_EDX;
if ((healthType != 1) && (healthType != 2)) {
iVar2 = extraout_EDX + heartPlayer->_boneHearts * 2;
}
if (iVar2 <= heartPlayer->_redHearts) goto LAB_009ace00;
(GHIDRA_CAST<Entity_Player *>((heartPlayer)))->Entity_Player::SetFullHearts();
Entity_Player::SetFullHearts(heartPlayer);
}
manager = g_manager;
if (unk == 0) {
@@ -217,7 +217,7 @@ LAB_009ace00:
_unk = 0x51;
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();
Room::PlayMusic(g_game->_room);
MusicManager::EnableLayer(&g_manager->_musicManager,0,1);
return;
}
@@ -239,7 +239,7 @@ LAB_009ace00:
if (((roomDesc != GHIDRA_CAST<int *>(0x0)) && (game->_stage == 0xd)) &&
((game->_stageType == 0 && ((*roomDesc == 0x23 && (roomDesc[4] == 2)))))) {
Level::SetStage(GHIDRA_CAST<Level *>(game),0xd,1);
(GHIDRA_CAST<Room *>((g_game->_room)))->Room::reload_backdrop();
Room::reload_backdrop(g_game->_room);
return;
}
}