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

+10 -1
View File
@@ -908,6 +908,16 @@ public:
bool TryThrow(const EntityRef& source, const Vector& velocity, float height) override;
bool HandleCollision(Entity* collider, bool isLow) override;
void AddCollectible(int type, int charge, bool isFirstTime, int activeSlot, int varData);
void SetQueuedItem(const QueueItemData& queued);
int tagged_item_count(uint64_t tag);
void collectible_unlocks_check(int collectibleId, ItemConfig_Item& item);
void collectible_pickups_add(ItemConfig_Item& item);
bool is_character_plain();
bool is_frame_plain();
bool is_tear_hit_plain();
void costume_heads_update(int blinkFrame);
void costume_layers_map(int skinColor);
void costume_skin_apply(CostumeSpriteDesc& costume, int skinColor);
void AddActiveCharge(int charge, int slot, bool isFlashHud, bool isOvercharge, bool isForce);
void RemoveCollectible(int type, bool isIgnoreModifiers, int activeSlot, bool isRemoveFromForm);
Entity_Familiar* AddWisp(int collectible, Vector position, bool isAdjustOrbitLayer, bool isDontUpdate);
@@ -960,7 +970,6 @@ private:
ANM2& layer_sprite(int layer);
int layer_id(int layer);
static bool is_body_layer(int layer);
bool is_evaluation_plain();
public:
int GetBatteryCharge(int slot);