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
@@ -69,7 +69,7 @@ void Weapon_Brimstone::fire_c_section_fetuses()
|
||||
tearVelocity.x = (jitterX * 3.0 + dirX) * shotSpeed;
|
||||
tearVelocity.y = (jitterY * 3.0 + dirY) * shotSpeed;
|
||||
tear = fire_fetus_tear(weapon,&laserPos,&tearVelocity,0,source,1.0,unused);
|
||||
tear->Update();
|
||||
(**(code **)(*GHIDRA_CAST<int *>(tear) + 0xc))();
|
||||
}
|
||||
rngResult = rngResult + 1;
|
||||
} while (rngResult < GHIDRA_UINT(lasers._size));
|
||||
@@ -200,11 +200,11 @@ uint32_t Weapon_Brimstone::GetMarkedTargetVariant()
|
||||
}
|
||||
owner = GHIDRA_CAST<Entity_Player *>(0x0);
|
||||
LAB_00a02830:
|
||||
isHasItem = (GHIDRA_CAST<Entity_Player *>((owner)))->Entity_Player::HasCollectible(0x23c,0);
|
||||
isHasItem = Entity_Player::HasCollectible(owner,0x23c,0);
|
||||
if (isHasItem != 0) {
|
||||
return 0x99;
|
||||
}
|
||||
isHasItem = (GHIDRA_CAST<Entity_Player *>((owner)))->Entity_Player::HasCollectible(0x18a,0);
|
||||
isHasItem = Entity_Player::HasCollectible(owner,0x18a,0);
|
||||
if (isHasItem == 0) {
|
||||
return 0;
|
||||
}
|
||||
@@ -309,7 +309,7 @@ LAB_00a02934:
|
||||
multiShotParams[0],fStack_6c,fStack_68,fStack_64,local_60,iStack_5c,fStack_58,
|
||||
auStack_54[0],(*GHIDRA_CAST<uint16_t *>((GHIDRA_CAST<char *>(&(auStack_54)) + 0x4))));
|
||||
pEVar4 = (GHIDRA_CAST<Weapon *>((GHIDRA_CAST<Weapon *>(this))))->Weapon::fire_brimstone_with_color(&local_78,damageMultiplier,0);
|
||||
pEVar4->Update();
|
||||
(**(code **)(*GHIDRA_CAST<int *>(pEVar4) + 0xc))();
|
||||
if (local_8c == GHIDRA_CAST<Entity_Laser *>(0x0)) {
|
||||
local_8c = pEVar4;
|
||||
if (GHIDRA_CAST<Entity_Laser *>(this->_mainLaser) != pEVar4) {
|
||||
@@ -563,7 +563,7 @@ LAB_00a02bed:
|
||||
local_78.x = *GHIDRA_CAST<float *>((GHIDRA_CAST<char *>(local_80.x) + 0x78));
|
||||
local_80.y = 0.0;
|
||||
local_78.y = 0.0;
|
||||
(GHIDRA_CAST<TemporaryEffects *>((GHIDRA_CAST<TemporaryEffects *>((GHIDRA_INT(local_8c) + 0x1508)))))->TemporaryEffects::RemoveEffect(&local_80,-1);
|
||||
TemporaryEffects::RemoveEffect(GHIDRA_CAST<TemporaryEffects *>((GHIDRA_INT(local_8c) + 0x1508)),&local_80,-1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user