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

+26 -5
View File
@@ -364,14 +364,35 @@ void ItemPool::shuffle_pools()
std::swap(pool.poolList[last], pool.poolList[twister() % (last + 1)]);
}
// (007367d0) Saves the pools into a game state. GameStateItemPool is not modelled yet.
void ItemPool::StoreGameState(GameStateItemPool&)
// 007367d0 Saves the pools into a game state: each pool's item weights and Bible chance, the seeds, the removed
// collectibles, the trinkets still in the pool, the pill colors and the Genesis counts.
void ItemPool::StoreGameState(GameStateItemPool& state)
{
reconstruction_missing("ItemPool::StoreGameState 007367d0");
for (size_t i = 0; i < pools.size(); i++)
{
std::vector<float>& weights = state.poolsItemWeights[i];
weights.clear();
for (PoolItem& item : pools[i].poolList) weights.push_back(item.weight);
state.bibleUpgrades[i] = pools[i].bibleUpgrade;
}
state.seed = seed;
state.lastPool = lastPool;
state.itemPoolRNGseed = itemPoolRNG._seed;
state.trinketPoolRNGseed = trinketPoolRNG._seed;
state.unkFloat674 = unkFloat674;
state.unkFloat678 = unkFloat678;
state.removedCollectibles = removedCollectibles;
state.trinketPoolItems.clear();
for (TrinketPoolItem& trinket : trinketPoolItems) state.trinketPoolItems.push_back(trinket.isInPool);
state.pillEffects = pillEffects;
state.identifiedPillEffects = identifiedPillEffects;
state.remainingGenesisItems = remainingGenesisItems;
}
// (00736530) Restores the pools from a game state. GameStateItemPool is not modelled yet.
void ItemPool::RestoreGameState(GameStateItemPool&)
// Not reconstructed yet: it stops the game where it is reached.
void ItemPool::RestoreGameState(const GameStateItemPool&)
{
reconstruction_missing("ItemPool::RestoreGameState 00736530");
}