Curation round 6: boot finished, the run starts; HUD, pause screen, minimap, preloads, floor generation

Six agents took over OnlineEmotes (emote wheel), OnlineStatsScreen's deeds, VictoryRunPrompt, RevivePlayerMenu, HUD,
PauseScreen, Minimap, PreloadManager, ProceduralItemManager, Game::LoadBossRushXml, GameState's loading, the menu loose
ends, Manager::StartNewGame, LevelGenerator and Level (Game now derives from Level). Integration: completion_widget.h
breaks an include loop, call sites moved to the new APIs. --mute (main.cpp) keeps the mixer running at zero gain.
build/isaac reaches the main menu by itself (input skips the intro); under gdb, picking a character calls
StartNewGame and stops at Game::Start. 1611 functions taken over, boot path 287/615.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-11-20 04:09:22 -05:00
1 parent fed6918a10
commit addd027977
94 files changed
+7453 -43389

No files matched your search

+4 -11
View File
@@ -106,7 +106,7 @@ struct CompletionMarkLayer
constexpr int COMPLETION_MARK_COUNT = 12;
constexpr CompletionMarkLayer COMPLETION_MARK_LAYERS[COMPLETION_MARK_COUNT] = {
{0, 1}, {1, 2}, {2, 3}, {3, 4}, {4, 5}, {5, 6}, {6, 7}, {7, 8}, {9, 9}, {12, 0}, {13, 10}, {14, 11}};
constexpr int COMPLETION_PLAYER_TYPE_MAX = 40;
constexpr uint32_t COMPLETION_PLAYER_TYPE_MAX = COMPLETION_PLAYER_TYPE_COUNT - 1;
constexpr int COMPLETION_TAINTED_MIN = 21;
constexpr int COMPLETION_TAINTED_FRAMES = 5;
constexpr int MARK_NORMAL = 1;
@@ -333,13 +333,6 @@ bool Menu_Character_Entry::IsCharacterAvailable() const
return is_player_available(playerType);
}
// The event counter a completion mark of a character is kept in.
static int completion_mark_counter([[maybe_unused]] int characterId, [[maybe_unused]] int completionType)
{
reconstruction_missing("CompletionWidget::Update 00425130: COMPLETION_MARKS, which persistent_game_data.cpp keeps "
"to itself");
}
// 00424ef0 Loads the widget, on the pause screen's sheet for that style, playing, with no marks counted.
void CompletionWidget::Load(CompletionStyle style)
{
@@ -363,12 +356,12 @@ void CompletionWidget::Update()
markCount = 0;
for (const CompletionMarkLayer& mark : COMPLETION_MARK_LAYERS)
{
if (characterId > COMPLETION_PLAYER_TYPE_MAX)
if ((uint32_t)characterId > COMPLETION_PLAYER_TYPE_MAX)
{
anm2.SetLayerFrame(mark.layer, 0);
continue;
}
int flags = data.eventCounters[completion_mark_counter(characterId, mark.completionType)];
int flags = data.eventCounters[COMPLETION_MARKS[characterId][mark.completionType].counter];
int frame = flags & MARK_HARD ? 2 : flags & MARK_NORMAL;
if (frame == 0) frame = flags & MARK_ONLINE_HARD ? 2 : flags & MARK_ONLINE_NORMAL ? 1 : 0;
if (mark.layer == 0 && characterId >= COMPLETION_TAINTED_MIN) frame += COMPLETION_TAINTED_FRAMES;
@@ -659,7 +652,7 @@ void Menu_Character::run_start()
PersistentGameData& data = manager.persistentGameData;
if (selectedCharacterID == MENU_ID_EDEN) data.IncreaseEventCounter(EVENT_EDEN_TOKENS, -1);
if (manager.gamestate._isSaveAvailable)
if (manager.gamestate.isSaveAvailable)
data.IncreaseEventCounter(EVENT_STREAK_COUNTER, -data.eventCounters[EVENT_STREAK_COUNTER]);
progress_save();
int playerType = GetPlayerTypeFromMenuID(selectedCharacterID, characterMenuShown);