Curation round 11: effects, room clears, items, Continue, bombs, active items, the boss and Basement II

This commit is contained in:
shweet committed 2026-11-20 11:54:27 -05:00
1 parent d8385e6c64
commit 698eeb74e9
74 files changed
+13965 -2078

No files matched your search

+4 -7
View File
@@ -579,8 +579,6 @@ constexpr float OLD_TV_TIME_SCALE = 0.05f;
constexpr float ASCENT_FADE_FRAMES = 90;
constexpr uint32_t DEBUG_FLAG_PLAYER_INFO = 1 << 11;
constexpr uint32_t DEBUG_FLAG_LUA_MEMORY = 1 << 13;
constexpr int STAGE_TRANSITION_OUT = 2;
constexpr int STAGE_TRANSITION_IN = 3;
constexpr int ITEM_OVERLAY_SHOWING = 1;
constexpr float PI = std::numbers::pi_v<float>;
@@ -630,9 +628,8 @@ static void screen_size_set(const KAGE::Graphics::ImageBase& surface)
// A stage transition decides with StageTransition's own check (009301d0), which waits for its takeover.
static bool is_pixelating(Game& game)
{
int stageState = game.stageTransition._state;
if (stageState == STAGE_TRANSITION_OUT || stageState == STAGE_TRANSITION_IN)
reconstruction_missing("Game::Render 006fbc10: StageTransition's pixelation check 009301d0");
int stageState = game.stageTransition.state;
if (stageState == STAGE_TRANSITION_OUT || stageState == STAGE_TRANSITION_IN) return game.stageTransition.is_pixelated();
return game.roomTransition.get_fade_progress() >= 0 && game.roomTransition.animation == TRANSITION_PIXELATION;
}
@@ -730,7 +727,7 @@ static void overlays_render(Game& game)
KAGE::Graphics::Manager& graphics = KAGE::Graphics::manager;
PopupQueue& popups = g_manager->popupQueue;
bool isFighting = game.deathmatchManager.state == DEATHMATCH_FIGHT;
int stageState = game.stageTransition._state;
int stageState = game.stageTransition.state;
popups.render_layer(0);
game.hud.Render();
@@ -879,7 +876,7 @@ bool Game::IsPaused()
if (console.state != CONSOLE_CLOSED && isOffline) return true;
return freezeFrames > 0 || gameOver.state != GAME_OVER_HIDDEN || leaderboard.displayState != LEADERBOARD_HIDDEN ||
stageTransition._state != 0 || roomTransition.mode != 0 || itemOverlay._state == ITEM_OVERLAY_ACTIVE ||
stageTransition.state != 0 || roomTransition.mode != 0 || itemOverlay._state == ITEM_OVERLAY_ACTIVE ||
(pauseScreen.is_pausing() && isOffline) || g_manager->state != MANAGER_STATE_GAME ||
genericPrompt.IsActive() || onlineStatsScreen.isActive;
}