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>
18 lines
672 B
C++
18 lines
672 B
C++
#include "victory_run_prompt.h"
|
|
#include "generic_prompt.h"
|
|
|
|
constexpr const char* VICTORY_RUN_PNG = "gfx/ui/Prompt_VictoryRun.png";
|
|
constexpr int VICTORY_RUN_LAYER = 2;
|
|
|
|
// 00838380 Turns a prompt into the victory lap one (GenericPrompt::SetImageToVictoryRun): no body text, and the victory
|
|
// lap picture on the sheet's third layer, shown.
|
|
void victory_run_prompt_load(GenericPrompt& prompt)
|
|
{
|
|
ANM2& sprite = prompt.sprite;
|
|
|
|
prompt.bodyLines.fill({});
|
|
sprite.ReplaceSpritesheet(VICTORY_RUN_LAYER, VICTORY_RUN_PNG);
|
|
sprite.LoadGraphics();
|
|
if ((int)sprite.layerStates.size() > VICTORY_RUN_LAYER) sprite.GetLayer(VICTORY_RUN_LAYER)->isVisible = true;
|
|
}
|