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:
1 parent
addd027977
commit
b85591bdf4
146 files changed
+20124
-200863
No files matched your search
@@ -275,7 +275,7 @@ LAB_00712ec3:
|
||||
iVar11 = *GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(pvVar13) + 0x1214));
|
||||
*GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(pvVar13) + 0x1214)) = iVar11 + 1;
|
||||
pEVar5->_index = iVar11;
|
||||
(GHIDRA_CAST<EntityList *>((GHIDRA_CAST<EntityList *>((GHIDRA_INT(pvVar13) + 0x1218)))))->EntityList::AddEntity(pEVar5);
|
||||
EntityList::AddEntity(GHIDRA_CAST<EntityList *>((GHIDRA_INT(pvVar13) + 0x1218)),pEVar5);
|
||||
bVar6 = Game::ShouldEraseEnemy(pEVar5);
|
||||
if (bVar6 != 0) {
|
||||
Entity::RemoveWithPoof(pEVar5,unusedArg_00);
|
||||
@@ -523,7 +523,7 @@ LAB_00712860:
|
||||
iVar11 = *GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(pvVar13) + 0x1214));
|
||||
*GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(pvVar13) + 0x1214)) = iVar11 + 1;
|
||||
pEVar5->_index = iVar11;
|
||||
(GHIDRA_CAST<EntityList *>((GHIDRA_CAST<EntityList *>((GHIDRA_INT(pvVar13) + 0x1218)))))->EntityList::AddEntity(pEVar5);
|
||||
EntityList::AddEntity(GHIDRA_CAST<EntityList *>((GHIDRA_INT(pvVar13) + 0x1218)),pEVar5);
|
||||
bVar6 = Game::ShouldEraseEnemy(pEVar5);
|
||||
if (bVar6 != 0) {
|
||||
Entity::RemoveWithPoof(pEVar5,unusedArg);
|
||||
@@ -1214,9 +1214,9 @@ void GridEntity_Pit::guard_check_icall()
|
||||
iVar2 = *GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(game->_room) + 0xc));
|
||||
(player->_pos).x = (float)(iVar4 % iVar2) * 40.0 + 40.0;
|
||||
(player->_pos).y = (float)(iVar4 / iVar2) * 40.0 + 120.0;
|
||||
isMegaMush = (GHIDRA_CAST<TemporaryEffects *>((&player->_temporaryeffects)))->TemporaryEffects::HasCollectibleEffect(0x271);
|
||||
isMegaMush = TemporaryEffects::HasCollectibleEffect(&player->_temporaryeffects,0x271);
|
||||
if (isMegaMush == 0) {
|
||||
(GHIDRA_CAST<Entity_Player *>((player)))->Entity_Player::PlayExtraAnimation(GHIDRA_CAST<uint8_t *>("FallIn"));
|
||||
Entity_Player::PlayExtraAnimation(player,GHIDRA_CAST<uint8_t *>("FallIn"));
|
||||
game = g_game;
|
||||
player->_isControlsEnabled = 0;
|
||||
player->_entityCollisionClass = 0;
|
||||
|
||||
Reference in new issue
Block a user