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:
1 parent
48933cd312
commit
d8385e6c64
64 files changed
+8665
-3059
No files matched your search
+3
-2
@@ -1,4 +1,5 @@
|
||||
#include "hud.h"
|
||||
#include "item_pickup.h"
|
||||
#include "entity_player.h"
|
||||
#include "game.h"
|
||||
#include "level.h"
|
||||
@@ -617,9 +618,9 @@ bool HUD::IsVisible()
|
||||
}
|
||||
|
||||
// 009a2d20 Shows an item's name and description on the stacked banners, or on its player's corner in co-op.
|
||||
void HUD::ShowItemText(Entity_Player*, ItemConfig_Item*)
|
||||
void HUD::ShowItemText(Entity_Player* player, ItemConfig_Item* item)
|
||||
{
|
||||
reconstruction_missing("HUD::ShowItemText 009a2d20");
|
||||
item_text_show(*this, player, item);
|
||||
}
|
||||
|
||||
// 0085e750 Lua's HUD:ShowItemText, for a player and item or a title and description.
|
||||
|
||||
Reference in new issue
Block a user