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
@@ -343,9 +343,9 @@ LAB_00714c16:
|
||||
iStack_60 = 0x3f800000;
|
||||
local_5c = 0;
|
||||
switchD_00714d3f_caseD_2:
|
||||
bVar1 = (GHIDRA_CAST<Entity_Player *>((player)))->Entity_Player::is_footstep_triggered(-1);
|
||||
bVar1 = Entity_Player::is_footstep_triggered(player,-1);
|
||||
if ((bVar1 != 0) && (player->_canFly == 0)) {
|
||||
bVar1 = (GHIDRA_CAST<Entity_Player *>((player)))->Entity_Player::is_footstep_triggered(0);
|
||||
bVar1 = Entity_Player::is_footstep_triggered(player,0);
|
||||
if (bVar1 == 0) {
|
||||
(player->_footprintColor1)._offset[0] = footprintR;
|
||||
(player->_footprintColor1)._offset[1] = fStack_68;
|
||||
@@ -442,7 +442,7 @@ LAB_00714fce:
|
||||
player->_hallowedGroundCountdown = iVar5;
|
||||
if (0 < prevHolyAura != 0 < iVar5) {
|
||||
player->_cacheFlags = player->_cacheFlags | 99;
|
||||
(GHIDRA_CAST<Entity_Player *>((player)))->Entity_Player::EvaluateItems();
|
||||
Entity_Player::EvaluateItems(player);
|
||||
}
|
||||
}
|
||||
playerManager = &g_game->_playerManager;
|
||||
@@ -1197,8 +1197,8 @@ switchD_0071688e_default:
|
||||
fVar2 = sin((float)local_68);
|
||||
local_74.y = fVar2 * 0.5 * local_6c;
|
||||
pEVar1 = Game::Spawn(g_game,1000,0x3a,position,&local_74,GHIDRA_CAST<Entity *>(0x0),0,rngResult);
|
||||
pEVar1->SetColor(&gibColor,0xffffffff,0xff,0,1);
|
||||
pEVar1->Update();
|
||||
(**(code **)(*GHIDRA_CAST<int *>(pEVar1) + 0x3c))(&gibColor,0xffffffff,0xff,0,1);
|
||||
(**(code **)(*GHIDRA_CAST<int *>(pEVar1) + 0xc))();
|
||||
count = count + -1;
|
||||
if (count == 0) {
|
||||
return;
|
||||
@@ -1391,7 +1391,7 @@ GridEntity_Poop * GridEntity_Poop::get_giga_part(int variant, uint8_t isCreate)
|
||||
}
|
||||
if (isCreate != 0) {
|
||||
if ((pGVar4 != GHIDRA_CAST<GridEntity_Poop *>(0x0)) && (*GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>((pGVar4)) + 0x4)))) == 0xe)) {
|
||||
(GHIDRA_CAST<Room *>((this_00)))->Room::RemoveGridEntity(uVar3,0,1);
|
||||
Room::RemoveGridEntity(this_00,uVar3,0,1);
|
||||
}
|
||||
uVar5 = Random();
|
||||
if ((GHIDRA_INT(uVar3) < 0) || (0x1bf < GHIDRA_INT(uVar3))) {
|
||||
|
||||
Reference in new issue
Block a user