Curation round 10: combat, pathfinding, death and game over, items and stats, room state, Continue, Lua callbacks

Seven agents took over tear and contact collision, NPC death with blood and gibs, champions, PathFinder, the Gaper's
kin, the player's death with the game over screen, item pedestals with collectible pickup, AddCollectible and
EvaluateItems, room state save and restore, GameState::read, pressure plates, fireplaces, entity lights, ambient
sounds, and one Lua callback enum with gated runners. Integration reconstructed Room::Update's loot preview and
Entity_NPC::UpdatePickupGhosts and replaced a leftover Sacred Orb stub that stopped every pedestal roll.
Under gdb: Gapers die with blood and gibs, a cleared room opens its doors, the treasure room's item is taken (banner,
costume, stats: a Magic Mushroom gives damage 3.5 -> 6.12 and a heart), death leads to the game over diary, and a saved
run is read back on the next boot with Continue offered. 3028 functions taken over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-11-20 09:55:14 -05:00
1 parent 48933cd312
commit d8385e6c64
64 files changed
+8665 -3059

No files matched your search

+5 -1
View File
@@ -258,6 +258,10 @@ struct Entity_NPC : Entity
void death_animation_start();
void decoy_update();
void champion_update();
void champion_traits_apply(bool isInit);
void white_champion_update();
void flicker_update();
void champion_shot_fire();
void unreachable_update();
void dead_update();
void midas_coins_spawn();
@@ -342,7 +346,7 @@ struct Entity_NPC : Entity
void CreateGoldParticles(uint32_t count);
void* shopkeeper_get_loot(void* outLoot, bool isShouldAdvance);
void* fireplace_get_loot(void* outLoot, bool isShouldAdvance);
uint32_t on_player_damaged();
void on_player_damaged();
static int FindTargetPit(const Vector& pos1, const Vector& pos2, uint32_t pitIndex);
static Entity_NPC* ThrowStrider(const Vector& pos, Entity* spawner, const Vector& targetPos);
static void* QueryNPCsType(void* outList, int type, int variant);