Curation round 7: Game::Start, level generation, Room, Camera, the Entity hierarchy, Entity_Player, the run frame

Six agents took over Game::Start, Level::SetNextStage, BossPool, save_game_state, level generation to the first room
(place_special_rooms, RoomDescriptor, load_room), Room, Camera, Entity/EntityList/EntityRef with a curated skeleton of
every Entity_* subclass, Entity_Player, Game::Render, Manager::Update's run branch, RoomTransition, ItemInfoHUD and
StatHUD. Integration wrote FirstTrinketOwner and room_shape_get_door_grid_index (checked against the decompile for
every shape and slot) and folded the duplicated constants. A run now generates its floor, loads the start room and
draws the HUD (under gdb); Isaac renders correctly when drawn, the room itself waits for Room::Render.
2479 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 05:33:11 -05:00
1 parent addd027977
commit b85591bdf4
146 files changed
+20124 -200863

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#pragma once
#include "entity.h"
// Construction and destruction (0065d130) are the defaults.
// A slot machine, beggar or other paying machine (Lua's EntitySlot), which pays out a prize.
struct Entity_Slot : Entity
{
void Init(int type, int variant, int subType, uint32_t initSeed) override;
void Update() override;
void Render(const Vector& offset) override;
bool TakeDamage(float damage, uint64_t damageFlags, const EntityRef& source, int damageCountdown) override;
bool HandleCollision(Entity* collider, bool isLow) override;
void spawn_break_drops();
void SetPrizeType(int prizeType);
};