Curation round 21: rock drops, Boss Rush and room setup, Dross, Ashpit and Gehenna enemies, Book of Virtues wisps and Dream Catcher, the last familiars and effects, player damage branches, a Corpse floor and Abyss crash fix, shared constants (186 duplicates)

This commit is contained in:
shweet committed 2026-11-22 11:00:43 -05:00
1 parent 8dbeb1bc4a
commit 6a11163842
184 files changed
+16980 -1419

No files matched your search

+3 -4
View File
@@ -1,5 +1,6 @@
#include "boss_ai.h"
#include "entity_projectile.h"
#include "npc_ai.h"
#include "room_grid.h"
#include "sfx_manager.h"
#include <algorithm>
@@ -16,8 +17,6 @@ constexpr int DINGLE_DANCE = NPC_STATE_ATTACK3;
constexpr int DINGLE_BEFORE_SLIDE = NPC_STATE_ATTACK4;
constexpr int DINGLE_TIRED = NPC_STATE_SPECIAL;
constexpr ColorMod DINGLE_SPLAT_COLOR = {{0, 0, 0, 1}, {0, 0, 0, 0}, {0.25490198f, 0.16078432f, 0.13725491f}};
constexpr ColorMod DANGLE_SPLAT_COLOR = {{0, 0, 0, 1}, {0, 0, 0, 0}, {0.6f, 0.4f, 0}};
constexpr int DINGLE_IDLE_WAIT = 15;
constexpr int DANGLE_IDLE_WAIT = 30;
@@ -189,7 +188,7 @@ static void dingle_slide(Entity_NPC& npc)
if (npc.variant == DANGLE) dangle_trail(npc);
}
npc.sprite.isFlipX = npc.velocity.x > 0;
if (npc.IsFrame(DINGLE_SPLAT_FRAMES, (int)npc.index)) dingle_splat(npc, DINGLE_SPLAT_COLOR);
if (npc.IsFrame(DINGLE_SPLAT_FRAMES, (int)npc.index)) dingle_splat(npc, POOP_SPLAT_COLOR);
if (!npc.sprite.IsPlaying() || npc.HasEntityFlags(STUNNED))
{
@@ -371,7 +370,7 @@ void boss_dingle_update(Entity_NPC& npc)
{
npc.state = NPC_STATE_IDLE;
npc.stateFrame = 0;
npc.splatColor = npc.variant == DANGLE ? DANGLE_SPLAT_COLOR : DINGLE_SPLAT_COLOR;
npc.splatColor = npc.variant == DANGLE ? LIGHT_POOP_SPLAT_COLOR : POOP_SPLAT_COLOR;
npc.i1 = 0;
npc.i2 = 0;
return;