Curation round 4: popups, Seeds/Random, Game, KeyConfigs, offline NetplayManager, Console, TextureCache, render passes

Six agents took over PopupButtons/PopupQueue/AchievementOverlay, Seeds with the global Random (now seeded from the
clock as in the original), Game (g_game exists from Manager::Init on), KeyConfigs, an offline NetplayManager, Console's
output and printing, TextureCache, the color-mod and sprite shader passes, mod shaders and reload_resource_paths. An
integration pass moved callers to the new APIs (0 errors, 0 warnings with -Wall -Wextra). build/isaac loads the 34
installed mods and stops at ScoreSheet::ScoreSheet in Game's constructor; with the remaining stubs skipped under gdb the
intro cutscene plays through and the main menu's frame loop runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-11-20 01:32:19 -05:00
1 parent ddf913f304
commit fd8b965350
110 files changed
+6500 -40129

No files matched your search

+12 -12
View File
@@ -668,7 +668,7 @@ void GridEntity_PressurePlate::Reward()
tmpPos = (GHIDRA_CAST<GridEntity *>((GHIDRA_CAST<GridEntity *>(door))))->GridEntity::Position(&local_68);
player = Game::GetNearestPlayerEx(tmpPos,1,0,0);
if (player == GHIDRA_CAST<Entity_Player *>(0x0)) {
player = (GHIDRA_CAST<Game *>((g_game)))->Game::GetPlayer(0);
player = Game::GetPlayer(g_game,0);
}
iVar7 = *GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(g_game->_room) + 0x12c4)) + *GHIDRA_CAST<int *>((GHIDRA_CAST<char *>(g_game->_room) + 0x12c0));
targetRoomType = 0;
@@ -681,7 +681,7 @@ void GridEntity_PressurePlate::Reward()
}
SoundEffects::PlayWithFartOverride(0x10b,1.0,0x14,0,1.0);
SoundEffects::PlayWithFartOverride(0x21,1.0,0x14,0,1.0);
(GHIDRA_CAST<Game *>((g_game)))->Game::ShakeScreen(0xf);
Game::ShakeScreen(g_game,0xf);
timerEffect = Entity_Effect::CreateTimer
(pressure_plate_kill_enemies_timer_callback,1,0xffffffff,0);
(GHIDRA_CAST<Entity *>((GHIDRA_CAST<Entity *>(timerEffect))))->Entity::SetParent(GHIDRA_CAST<Entity *>(player));
@@ -804,7 +804,7 @@ void GridEntity_PressurePlate::Reward()
}
if (uVar8 < 0xc) {
uVar8 = (GHIDRA_CAST<RNG *>((&rng)))->RNG::Next();
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(5,100,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar8);
Game::Spawn(g_game,5,100,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar8);
ExceptionList = local_1c;
return;
}
@@ -823,7 +823,7 @@ void GridEntity_PressurePlate::Reward()
local_4c.x = tmpPos->x;
local_4c.y = tmpPos->y;
uVar8 = (GHIDRA_CAST<RNG *>((&rng)))->RNG::Next();
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(5,0x14,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar8);
Game::Spawn(g_game,5,0x14,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar8);
local_30 = (void *)(GHIDRA_INT(local_30) + -1);
} while (local_30 != (void *)0x0);
ExceptionList = local_1c;
@@ -844,7 +844,7 @@ void GridEntity_PressurePlate::Reward()
local_4c.x = tmpPos->x;
local_4c.y = tmpPos->y;
uVar8 = (GHIDRA_CAST<RNG *>((&rng)))->RNG::Next();
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(5,10,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar8);
Game::Spawn(g_game,5,10,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar8);
local_30 = (void *)(GHIDRA_INT(local_30) + -1);
} while (local_30 != (void *)0x0);
ExceptionList = local_1c;
@@ -865,7 +865,7 @@ void GridEntity_PressurePlate::Reward()
local_4c.x = tmpPos->x;
local_4c.y = tmpPos->y;
uVar8 = (GHIDRA_CAST<RNG *>((&rng)))->RNG::Next();
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(5,0x28,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar8);
Game::Spawn(g_game,5,0x28,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar8);
local_30 = (void *)(GHIDRA_INT(local_30) + -1);
} while (local_30 != (void *)0x0);
ExceptionList = local_1c;
@@ -874,7 +874,7 @@ void GridEntity_PressurePlate::Reward()
if (uVar8 < 0x50) {
uVar8 = (GHIDRA_CAST<RNG *>((&rng)))->RNG::Next();
rngValue = (GHIDRA_CAST<RNG *>((&rng)))->RNG::RandomInt(4);
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(5,*GHIDRA_CAST<uint32_t *>((&DAT_00b7cfa0 + rngValue * 4)),&local_4c,&g_vectorZero,
Game::Spawn(g_game,5,*GHIDRA_CAST<uint32_t *>((&DAT_00b7cfa0 + rngValue * 4)),&local_4c,&g_vectorZero,
GHIDRA_CAST<Entity *>(0x0),0,uVar8);
ExceptionList = local_1c;
return;
@@ -882,7 +882,7 @@ void GridEntity_PressurePlate::Reward()
if (0x54 < uVar8) {
if (0x59 < uVar8) {
uVar8 = (GHIDRA_CAST<RNG *>((&rng)))->RNG::Next();
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(4,3,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar8);
Game::Spawn(g_game,4,3,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar8);
ExceptionList = local_1c;
return;
}
@@ -923,7 +923,7 @@ LAB_00984f49:
local_4c.y = tmpPos->y;
LAB_00984fe7:
uVar8 = (GHIDRA_CAST<RNG *>((&rng)))->RNG::Next();
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(6,8,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar8);
Game::Spawn(g_game,6,8,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,uVar8);
ExceptionList = local_1c;
return;
}
@@ -965,7 +965,7 @@ LAB_00984de5:
LAB_00984e83:
uVar8 = (GHIDRA_CAST<RNG *>((&rng)))->RNG::Next();
rngValue = (GHIDRA_CAST<RNG *>((&rng)))->RNG::RandomInt(2);
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(6,(-GHIDRA_UINT((rngValue != 0)) & 2) + 1,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,
Game::Spawn(g_game,6,(-GHIDRA_UINT((rngValue != 0)) & 2) + 1,&local_4c,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,
uVar8);
ExceptionList = local_1c;
return;
@@ -1440,7 +1440,7 @@ switchD_0098532f_default:
local_44.y = (float)(targetRoomType / iVar7) * 40.0 + 120.0;
local_38 = (void *)local_44.x;
local_34 = local_44.y;
player = (GHIDRA_CAST<Game *>((g_game)))->Game::GetNearestPlayer(&local_44);
player = Game::GetNearestPlayer(g_game,&local_44);
fVar5 = local_34 - (player->_pos).y;
fVar9 = (float)local_38 - (player->_pos).x;
pvVar6 = local_30;
@@ -1514,7 +1514,7 @@ switchD_0098532f_default:
fVar5 = cos(local_34);
local_60.x = fVar5 * (float)local_38 * 20.0 + tmpPos->x;
local_60.y = local_3c;
(GHIDRA_CAST<Game *>((g_game)))->Game::Spawn(uVar8,enemyVariant,&local_60,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,GHIDRA_UINT(local_30));
Game::Spawn(g_game,uVar8,enemyVariant,&local_60,&g_vectorZero,GHIDRA_CAST<Entity *>(0x0),0,GHIDRA_UINT(local_30));
local_24 = local_24 + 1;
positionsEnd = spawnPositionsEnd;
} while (GHIDRA_INT(local_24) < GHIDRA_INT(local_44.y));