Curation round 8: the first room plays: Isaac walks and shoots tears

Eight agents took over Room::Init's pieces, RailManager, Room::Render/render_lighting/Update, the GridEntity hierarchy
(walls, doors, rocks, pits, poop ...), Game::Update and interpolate_update, the run's save, update_ingame_input,
Game::Spawn with the entity factory and grid collision, the player's movement and tears through Weapon/Weapon_Tears,
PlayerManager's positions, the camera focus, MinimapConfig, PlayerHUD, mod shader rendering, Entity_Tear and
Entity_Effect. Integration wrote Level::get_secret_exit_kind, shared the secret-exit enum (four copies merged) and
fixed the generator's vtable-stub check (word boundary and namespace, not a substring).
Under gdb a run reaches the first room: doors, HUD with hearts and minimap, WASD movement with acceleration, arrow-key
tears that fly and splash. Floor and walls (Backdrop::RenderFloor/RenderWalls) and room transitions are next.
The official build/isaac reaches the start room and stops at Entity_NPC::Redirect. 2770 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 06:43:01 -05:00
1 parent b85591bdf4
commit 69a354f843
140 files changed
+23561 -20206

No files matched your search

+12 -3
View File
@@ -188,8 +188,7 @@ Entity_Player::~Entity_Player()
// 00755470 Starts a player of a variant: a character (subtype is the player type), a co-op baby (subtype is the skin)
// or an extra player. Seeds one generator per collectible, trinket, pill effect and card, resets every stat and
// counter, loads the sprites, picks the controller, puts on the skin, and gives a character its starting health and
// pickups. The original makes the tears weapon through Isaac::CreateWeapon, which is not taken over: the slot stays
// empty.
// pickups. Every player starts with the tears weapon.
void Entity_Player::Init(int entityType, int entityVariant, int subType, uint32_t seed)
{
Manager& manager = *g_manager;
@@ -345,10 +344,20 @@ void Entity_Player::stats_reset()
bloodLustCounter = 0;
deadCatLives = 0;
damageCooldown = 0;
weapons.fill(nullptr);
weaponTypes.fill(false);
weaponTypes[WEAPON_TEARS] = true;
for (WeaponPtr& weapon : weapons) weapon.reset();
weapons[1] = weapon_create(WEAPON_TEARS, this);
markedTarget = nullptr;
heldEntity = nullptr;
tractorBeam = 0;
shootHeldFrames = 0;
azazelsRageLaser = nullptr;
shootDirectionHistory.clear();
lastShootTime = 0;
doubleTapFrames = 0;
ibsChargeBar = 0;
isIbsChargeSoundPending = true;
megaBlastLaser = nullptr;
breathOfLifeEffect = nullptr;
itemState = 0;