Curation round 28 (code only): float pow, log and exp widened to double like the game, inlined HasTrinket preview handling, explicit RNG argument order, update_effects rebuilt in the original's order, weapon vtable slots, null-frame reads, and a parity audit finishing every boss, every enemy, the level and most rooms, grid entities and weapons; misnamed pill and null-item ids corrected (55 duplicates)

This commit is contained in:
shweet committed 2026-11-23 14:40:39 -05:00
1 parent e66baf4063
commit 719e5ef04d
157 files changed
+1399 -717

No files matched your search

+1 -2
View File
@@ -30,7 +30,6 @@ enum GatePattern
GATE_PATTERN_HOMING
};
constexpr uint64_t GATE_DISTRACTED = FLAG_CONFUSION | FLAG_FEAR | FLAG_SHRINK;
constexpr float GATE_LIFT = 40;
constexpr float GATE_FRICTION = 0.8f;
constexpr float GATE_HURT_HEALTH = 0.3f;
@@ -129,7 +128,7 @@ static void gate_idle(Entity_NPC& npc)
npc.i1 = GATE_CHARGING;
}
else if (npc.subtype != GATE_BLACK && enemies > GATE_LASER_CROWD && npc.IsFrame(period, 0) &&
random_below(GATE_LASER_ODDS / enemies) == 0 && !npc.HasEntityFlags(GATE_DISTRACTED))
random_below(GATE_LASER_ODDS / enemies) == 0 && !npc.HasEntityFlags(FLAG_DISTRACTED))
{
npc.state = GATE_LASER;
npc.i1 = GATE_CHARGING;