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
@@ -8,8 +8,8 @@ bool KAGE_Filesys_FileManager::OpenRead(int param_2, int param_3)
|
||||
int totalCharge;
|
||||
|
||||
if (-1 < param_3) {
|
||||
iVar1 = (GHIDRA_CAST<Entity_Player *>((GHIDRA_CAST<Entity_Player *>(this))))->Entity_Player::GetActiveMaxCharge(param_3);
|
||||
totalCharge = (GHIDRA_CAST<Entity_Player *>((GHIDRA_CAST<Entity_Player *>(this))))->Entity_Player::GetTotalActiveCharge(param_3);
|
||||
iVar1 = Entity_Player::GetActiveMaxCharge(GHIDRA_CAST<Entity_Player *>(this),param_3);
|
||||
totalCharge = Entity_Player::GetTotalActiveCharge(GHIDRA_CAST<Entity_Player *>(this),param_3);
|
||||
if (totalCharge < iVar1) {
|
||||
return false;
|
||||
}
|
||||
@@ -27,7 +27,7 @@ bool KAGE_Filesys_FileManager::OpenRead(int param_2, int param_3)
|
||||
case 0x27b:
|
||||
iVar1 = FUN_005c92f0();
|
||||
if (iVar1 != 0) {
|
||||
iVar1 = (GHIDRA_CAST<Room *>((g_game->_room)))->Room::GetGridCollisionAtPos(*GHIDRA_CAST<Vector *>((iVar1 + 0x33c)));
|
||||
iVar1 = Room::GetGridCollisionAtPos(g_game->_room,*GHIDRA_CAST<Vector *>((iVar1 + 0x33c)));
|
||||
if ((*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x725])) + 0x1))) != '\0') {
|
||||
return iVar1 != 4;
|
||||
}
|
||||
@@ -40,7 +40,7 @@ bool KAGE_Filesys_FileManager::OpenRead(int param_2, int param_3)
|
||||
}
|
||||
break;
|
||||
case 0x282:
|
||||
iVar1 = (GHIDRA_CAST<Entity_Player *>((GHIDRA_CAST<Entity_Player *>(this))))->Entity_Player::GetEffectiveMaxHearts();
|
||||
iVar1 = Entity_Player::GetEffectiveMaxHearts(GHIDRA_CAST<Entity_Player *>(this));
|
||||
return 0 < iVar1 + *GHIDRA_CAST<int *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x66e])) + 0x2))));
|
||||
case 0x2c5:
|
||||
if ((*GHIDRA_CAST<int *>((this + 0xa64)) == 0) &&
|
||||
@@ -50,7 +50,7 @@ bool KAGE_Filesys_FileManager::OpenRead(int param_2, int param_3)
|
||||
}
|
||||
break;
|
||||
case 0x2ca:
|
||||
isHasFlags = (GHIDRA_CAST<Entity *>((GHIDRA_CAST<Entity *>(this))))->Entity::HasEntityFlags(0x600000000000000);
|
||||
isHasFlags = Entity::HasEntityFlags(GHIDRA_CAST<Entity *>(this),0x600000000000000);
|
||||
if ((isHasFlags == 0) && (*GHIDRA_CAST<float *>(&(*GHIDRA_CAST<uint8_t *>((GHIDRA_CAST<char *>(&(this[0x11a])) + 0x2)))) == 0.0)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user