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

+5
View File
@@ -35,6 +35,8 @@ enum LuaCallback
MC_POST_PLAYER_INIT = 9,
MC_USE_PILL = 10,
MC_POST_GAME_STARTED = 15,
MC_POST_NEW_LEVEL = 18,
MC_POST_NEW_ROOM = 19,
MC_PRE_FAMILIAR_COLLISION = 26,
MC_PRE_NPC_COLLISION = 30,
MC_PRE_PLAYER_COLLISION = 33,
@@ -149,6 +151,8 @@ struct LuaEngine
void PostEntityKill(Entity* entity);
void PostGameStart(bool isContinued);
void PostKnifeInit(Entity_Knife* knife);
void PostNewLevel();
void PostNewRoom();
void PostPlayerInit(Entity_Player* player);
void PostRender();
bool UseItem(LuaItemUse& use);
@@ -156,3 +160,4 @@ struct LuaEngine
};
const void* lua_class_key(LuaClass luaClass);
void lua_callback_check(int callback, const char* name);