Curation round 8: the first room plays: Isaac walks and shoots tears

Eight agents took over Room::Init's pieces, RailManager, Room::Render/render_lighting/Update, the GridEntity hierarchy
(walls, doors, rocks, pits, poop ...), Game::Update and interpolate_update, the run's save, update_ingame_input,
Game::Spawn with the entity factory and grid collision, the player's movement and tears through Weapon/Weapon_Tears,
PlayerManager's positions, the camera focus, MinimapConfig, PlayerHUD, mod shader rendering, Entity_Tear and
Entity_Effect. Integration wrote Level::get_secret_exit_kind, shared the secret-exit enum (four copies merged) and
fixed the generator's vtable-stub check (word boundary and namespace, not a substring).
Under gdb a run reaches the first room: doors, HUD with hearts and minimap, WASD movement with acceleration, arrow-key
tears that fly and splash. Floor and walls (Backdrop::RenderFloor/RenderWalls) and room transitions are next.
The official build/isaac reaches the start room and stops at Entity_NPC::Redirect. 2770 functions taken over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-11-20 06:43:01 -05:00
1 parent b85591bdf4
commit 69a354f843
140 files changed
+23561 -20206

No files matched your search

+20 -22
View File
@@ -538,8 +538,8 @@ void Game::Fadein(float speed, FadeIcon icon, KColor color)
}
// 006f9000 Copies the run into a game state to save: its rules and seeds, the counters and histories of the run, the
// Ascent's saved stages, the nightmare stage bar, the ambush wave, the score, the boss and item pools, then the floor
// (after leaving the room), the players and the versus rules.
// item and boss pools, the TMTRAINER seeds, the floor (after leaving the room), the players, the Ascent's saved
// stages, the nightmare stage bar, the ambush wave, the score and the versus rules.
// The saved flags are the first 53 of the run's state flags.
void Game::store_game_state(GameState& state)
{
@@ -577,6 +577,14 @@ void Game::store_game_state(GameState& state)
state.pixelationDuration = pixelationDuration;
state.magicSkinUses = magicSkinUses;
state.erasedEntities = erasedEntities;
itemPool.StoreGameState(state.itemPool);
bossPool.store_game_state(state.bossPool);
if (!proceduralItemManager.proceduralItems.empty())
reconstruction_missing("Game::store_game_state 006f9000: the TMTRAINER items' seeds (ProceduralItem +0x8)");
reconstruction_missing("Game::store_game_state 006f9000: Room::on_leave 007efa50");
Level::store_game_state(state);
playerManager.store_game_state(&state);
state.isAscent = ascentTimer > 0;
state.backwardsStages = backwardsStages;
@@ -585,14 +593,8 @@ void Game::store_game_state(GameState& state)
state.isAmbushActive = ambush._isActive;
state.ambushWave = ambush._currentWave > 0 ? ambush._currentWave - 1 : ambush._currentWave;
scoreSheet.store_state(state.scoreSheet);
bossPool.store_game_state(state.bossPool);
if (!proceduralItemManager.proceduralItems.empty())
reconstruction_missing("Game::store_game_state 006f9000: the TMTRAINER items' seeds (ProceduralItem +0x8)");
itemPool.StoreGameState(state.itemPool);
reconstruction_missing("Game::store_game_state 006f9000: Room::on_leave 007efa50, Level::store_game_state "
"00747e10, PlayerManager::store_game_state 009bd150 and the versus rules "
"(DeathmatchTypeBase slot 1 and StoreGameState 0042bd70)");
reconstruction_missing("Game::store_game_state 006f9000: the versus rules (DeathmatchTypeBase slot 1 and its "
"StoreGameState)");
}
// 009b5cb0 Closes the pause screen for a new run on Resume, with its paper's animation stopped, the options listed
@@ -613,9 +615,9 @@ void Game::Exit(bool)
reconstruction_missing("Game::Exit 006fa0c0");
}
void Game::Update()
void Game::save_rewind_state(int)
{
reconstruction_missing("Game::Update 006fadc0");
reconstruction_missing("Game::save_rewind_state 00705ee0");
}
constexpr const char* BLOOM_SHADER = "Bloom";
@@ -816,10 +818,7 @@ static void overlays_render(Game& game)
if (game.gameOver._state != 0) game.gameOver.Render();
game.leaderboard.Render();
popups.render_layer(2);
for (auto& mod : g_manager->modManager.mods)
if (mod->isLoaded && !mod->shaders.empty())
reconstruction_missing("Game::Render 006fbc10: the mods' shaders 008f74c0");
g_manager->modManager.shaders_render();
}
// Resolves the effect surfaces in turn (the room snapshot, bloom, pixelation, hallucination, old TV), then draws the
@@ -890,7 +889,11 @@ void Game::Render()
bool isOldTv = seedEffects.HasSeedEffect(SEED_OLD_TV);
bool isTransitionShown = roomTransition.mode == TRANSITION_OUT || roomTransition.mode == TRANSITION_IN;
if (isWindowResizePending) reconstruction_missing("Game::recreate_render_targets 007084c0");
if (isWindowResizePending)
{
recreate_render_targets();
isWindowResizePending = false;
}
room->render_lighting();
if (isFighting) deathmatchManager.type->vfunc_5();
if (isOldTv) effect_pass_begin(oldTvSurface);
@@ -981,8 +984,3 @@ ChallengeParam& Game::GetChallengeParams()
return g_manager->GetChallengeParams((int)challenge);
}
// 00428b20 Spawns an entity into the current room.
Entity* Game::Spawn(const EntitySpawn&)
{
reconstruction_missing("Game::Spawn 00428b20");
}