Curation round 9: floors and walls, room transitions, collision, the first enemies, saving, damage, pickups

Seven agents took over the backdrop's floor and wall rendering, room transitions (StartRoomTransition, on_leave,
room_enter), grid collision with tear hits and decal baking, Entity_NPC's core with the AI dispatch and the first
enemies (flies, Gaper, Pooter, Clotty, Horf, Dip, Spider), the run's save, player damage, PlayerManager::Update,
ShowName, pickups, slots and the common effects. Integration added LuaEngine::PostNewLevel/PostNewRoom, one shared
lua_callback_check (4 copies merged) and the enemy type range the original checks.
Under gdb a run draws its rooms with floors and walls, walks between rooms, fights Gapers with contact damage and the
damage flash, and collects pickups. Next: tears hitting enemies, pathfinding, item pedestals, death.
2891 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 08:24:38 -05:00
1 parent 69a354f843
commit 48933cd312
59 files changed
+13387 -6056

No files matched your search

+6 -1
View File
@@ -12,7 +12,8 @@ constexpr int EFFECT_SPAWN_PENTAGRAM = 203;
// Field accessors (00435e60, 00435eb0, 004d7770, 005784c0, 0060ce20) are the public fields.
// An effect (Lua's EntityEffect): a visual or a hazard such as creep, a poof or a light beam, with its timeout, its
// fall, the per-variant data it keeps and the extra data some variants share.
// Only the tear poofs and the blood stains are reconstructed yet: Init stops at any other variant.
// Only the tear poofs, the blood stains, the poofs and the tiny fly are reconstructed yet: Init stops at any other
// variant.
struct Entity_Effect : Entity
{
// The base of the extra data some variants keep (MrMeData, PickupGhostData, SpriteTrailData).
@@ -66,6 +67,10 @@ struct Entity_Effect : Entity
void setup_loot_preview(void* lootQueue);
private:
void poof_init();
void tiny_fly_init();
void poof_update();
void stain_update();
void tiny_fly_update();
void tiny_fly_burst();
};