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

+4 -4
View File
@@ -515,7 +515,7 @@ void GridEntity_TrapDoor::Update()
if ((*GHIDRA_CAST<int *>((*GHIDRA_CAST<int *>(ThreadLocalStoragePointer) + 0xc)) < g_invalidRoomDescriptorGuard) &&
(_Init_thread_header(), g_invalidRoomDescriptorGuard == -1)) {
(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(local_8)) + 0x0))) = 1;
(GHIDRA_CAST<RoomDescriptor *>((&g_roomDescriptorDummy)))->RoomDescriptor::constructor();
RoomDescriptor::constructor(&g_roomDescriptorDummy);
_atexit(FUN_00b15b30);
local_8 = GHIDRA_CAST<char ******>(((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(GHIDRA_UINT(local_8))) + 0x1))) << 8));
_Init_thread_footer(&g_invalidRoomDescriptorGuard);
@@ -957,7 +957,7 @@ LAB_007208e8:
}
pEVar6 = GHIDRA_CAST<Entity_Player *>(*playerSlot);
if (pEVar6->_variant == 0) {
(GHIDRA_CAST<Entity_Player *>((pEVar6)))->Entity_Player::PlayExtraAnimation(GHIDRA_CAST<uint8_t *>("Trapdoor"));
Entity_Player::PlayExtraAnimation(pEVar6,GHIDRA_CAST<uint8_t *>("Trapdoor"));
game = g_game;
iVar15 = savedTrapDoor->_gridIndex;
iVar7 = *GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(g_game->_room) + 0xc));
@@ -1055,7 +1055,7 @@ LAB_00720d35:
do {
local_4c.y = (float)Game::GetPlayer(game,preventedCurses);
if ((GHIDRA_CAST<Entity_Player *>(local_4c.y))->_variant == 0) {
(GHIDRA_CAST<Entity_Player *>((GHIDRA_CAST<Entity_Player *>(local_4c.y))))->Entity_Player::PlayExtraAnimation(GHIDRA_CAST<uint8_t *>("Trapdoor"));
Entity_Player::PlayExtraAnimation(GHIDRA_CAST<Entity_Player *>(local_4c.y),GHIDRA_CAST<uint8_t *>("Trapdoor"));
game = g_game;
iVar15 = trapDoor->_gridIndex;
iVar7 = *GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(g_game->_room) + 0xc));
@@ -1085,7 +1085,7 @@ LAB_00720e0b:
}
}
LAB_00720b0f:
(GHIDRA_CAST<Entity_Player *>((pEVar6)))->Entity_Player::PlayExtraAnimation(GHIDRA_CAST<uint8_t *>("Trapdoor"));
Entity_Player::PlayExtraAnimation(pEVar6,GHIDRA_CAST<uint8_t *>("Trapdoor"));
game = g_game;
iVar15 = trapDoor->_gridIndex;
iVar7 = *GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(g_game->_room) + 0xc));