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>
21 lines
596 B
C++
21 lines
596 B
C++
#pragma once
|
|
|
|
#include "grid_entity.h"
|
|
|
|
// A statue standing, and broken.
|
|
constexpr int STATUE_STATE_STANDING = 1;
|
|
constexpr int STATUE_STATE_BROKEN = 2;
|
|
|
|
// Destruction (0070bdd0) is the default. Its render (0042cdf0) draws nothing:
|
|
// the statue effect does. An angel statue (Lua's GRID_STATUE): solid until it breaks into the angel.
|
|
struct GridEntity_Statue : GridEntity
|
|
{
|
|
Entity* statueEffect = nullptr;
|
|
|
|
void subclass_init() override;
|
|
void Update() override;
|
|
void Render(const Vector&) override
|
|
{}
|
|
bool Destroy(bool isImmediate, const EntityRef& source) override;
|
|
};
|