Curation round 12: basement enemies, projectiles, tear flags, lighting and blend modes, actives, boss deaths, familiars, shops and secret rooms

This commit is contained in:
shweet committed 2026-11-20 14:25:15 -05:00
1 parent 698eeb74e9
commit f8ce24fc6c
146 files changed
+16389 -3104

No files matched your search

+4 -8
View File
@@ -39,7 +39,6 @@ constexpr int FILTER_LINEAR = 1;
constexpr int BLOOM_DURATION_DEFAULT = 30;
constexpr int REVIVE_MACHINE_COINS = 10;
constexpr float DIZZY_CHANGE_SPEED_DEFAULT = 0.001f;
constexpr int ITEM_OVERLAY_ACTIVE = 2;
constexpr int BOSS_RUSH_PAR_TIME = 36000;
constexpr int BLUE_WOMB_PAR_TIME = 54000;
constexpr float COLOR_CHANNEL_MAX = 255;
@@ -47,7 +46,6 @@ constexpr float COLOR_CHANNEL_MAX = 255;
constexpr std::array<std::string_view, 4> TINT_ATTRIBUTES = {"r", "g", "b", "a"};
constexpr int DIMENSION_DEATH_CERTIFICATE = 2;
constexpr int STAGE_DARK_ROOM = 11;
// The fortune generator's xorshift (shift index 35), the start's fade in speed, and the cover an instant fade starts on.
constexpr uint32_t FORTUNE_RNG_SHIFT = 35;
constexpr float START_FADE_SPEED = 0.04f;
@@ -214,8 +212,8 @@ bool Game::load_giantbook_xml(std::string_view path)
Data data;
int id = GIANTBOOK_ENTRY_COUNT;
itemOverlay._state = 0;
itemOverlay._delay = 0;
itemOverlay.state = ITEM_OVERLAY_INACTIVE;
itemOverlay.delay = 0;
data_load(data, path);
if (!data.isLoaded) return false;
@@ -579,7 +577,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 ITEM_OVERLAY_SHOWING = 1;
constexpr float PI = std::numbers::pi_v<float>;
// Draws a whole surface over the screen in a color.
@@ -734,7 +731,7 @@ static void overlays_render(Game& game)
if (isFighting) game.deathmatchManager.type->FUN_0042aca0();
if (stageState == STAGE_TRANSITION_OUT || stageState == STAGE_TRANSITION_IN) game.stageTransition.Render();
else graphics.blendMode.SetMode(KAGE::Graphics::BLEND_NORMAL);
if (game.itemOverlay._state != 0 && game.itemOverlay._state != ITEM_OVERLAY_SHOWING) game.itemOverlay.Render();
game.itemOverlay.Render();
if (game.bossOverlay._state != 0) reconstruction_missing("Game::Render 006fbc10: BossOverlay's render 00421400");
popups.render_layer(1);
@@ -876,7 +873,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;
}
@@ -916,4 +913,3 @@ ChallengeParam& Game::GetChallengeParams()
reconstruction_missing("Game::GetChallengeParams 00706940: the daily's params, which classes.h holds as bytes");
return g_manager->GetChallengeParams((int)challenge);
}