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
@@ -88,7 +88,7 @@ LAB_00a08a1b:
|
||||
(*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(flags._h)) + 0x0))) = uStack_18;
|
||||
(*GHIDRA_CAST<uint32_t *>((GHIDRA_CAST<char *>(&(flags._h)) + 0x4))) = uStack_14;
|
||||
uStack_1c = in_stack_ffffff94;
|
||||
(GHIDRA_CAST<Entity_Tear *>((tear)))->Entity_Tear::SetTearFlags(flags);
|
||||
Entity_Tear::SetTearFlags(tear,flags);
|
||||
}
|
||||
if (player != GHIDRA_CAST<Entity_Player *>(0x0)) {
|
||||
if (0.0 < player->_tearfallaccel) {
|
||||
@@ -100,10 +100,10 @@ LAB_00a08a1b:
|
||||
else {
|
||||
tear->_fallingAccel = player->_tearfallaccel + 0.5;
|
||||
in_stack_ffffff94 = 0xa08af7;
|
||||
isHasCollectible = (GHIDRA_CAST<Entity_Player *>((player)))->Entity_Player::HasCollectible(0x95,0);
|
||||
isHasCollectible = Entity_Player::HasCollectible(player,0x95,0);
|
||||
if (isHasCollectible == 0) {
|
||||
in_stack_ffffff94 = 0xa08b09;
|
||||
isHasCollectible = (GHIDRA_CAST<Entity_Player *>((player)))->Entity_Player::HasCollectible(0x213,0);
|
||||
isHasCollectible = Entity_Player::HasCollectible(player,0x213,0);
|
||||
if (isHasCollectible != 0) goto LAB_00a08b44;
|
||||
rngResult = Random();
|
||||
fVar2 = 5.0;
|
||||
@@ -133,11 +133,11 @@ LAB_00a08b44:
|
||||
}
|
||||
tear->_baseScale = in_XMM0_Da;
|
||||
tear->_fScale = in_XMM0_Da;
|
||||
(GHIDRA_CAST<Entity_Tear *>((tear)))->Entity_Tear::ResetSpriteScale();
|
||||
Entity_Tear::ResetSpriteScale(tear);
|
||||
}
|
||||
else {
|
||||
in_stack_ffffff94 = 0xa088a7;
|
||||
isHasCollectible = (GHIDRA_CAST<Entity_Player *>((player)))->Entity_Player::HasCollectible(0x34,0);
|
||||
isHasCollectible = Entity_Player::HasCollectible(player,0x34,0);
|
||||
if (isHasCollectible == 0) goto LAB_00a08a1b;
|
||||
rngResult = Random();
|
||||
local_30.y = (float)((double)GHIDRA_INT(rngResult) +
|
||||
@@ -208,11 +208,11 @@ uint32_t Weapon_MonstrosLung::GetMarkedTargetVariant()
|
||||
}
|
||||
player = GHIDRA_CAST<Entity_Player *>(0x0);
|
||||
LAB_00a08cf6:
|
||||
isHasItem = (GHIDRA_CAST<Entity_Player *>((player)))->Entity_Player::HasCollectible(0x18a,0);
|
||||
isHasItem = Entity_Player::HasCollectible(player,0x18a,0);
|
||||
if (isHasItem == 0) {
|
||||
return 0;
|
||||
}
|
||||
isHasItem = (GHIDRA_CAST<Entity_Player *>((player)))->Entity_Player::HasCollectible(0x23c,0);
|
||||
isHasItem = Entity_Player::HasCollectible(player,0x23c,0);
|
||||
targetVariant = 0x1e;
|
||||
if (isHasItem != 0) {
|
||||
targetVariant = 0x99;
|
||||
|
||||
Reference in new issue
Block a user