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

+5 -4
View File
@@ -5,6 +5,7 @@
#include "manager.h"
#include "log.h"
#include "render_passes.h"
#include "room.h"
#include "texture_cache.h"
#include <algorithm>
#include <cctype>
@@ -108,7 +109,7 @@ static bool is_screen_shake_applied()
}
// A colour a fraction t of the way to another, every channel, as Color::Lerp does.
static ColorMod color_lerp(const ColorMod& from, const ColorMod& to, float t)
ColorMod color_lerp(const ColorMod& from, const ColorMod& to, float t)
{
float rest = 1 - t;
ColorMod color;
@@ -143,8 +144,8 @@ static float angle_wrap(float angle)
return angle;
}
// An angle a fraction t of the way to another, the short way round.
static float angle_lerp(float from, float to, float t)
// 006828b0 An angle in degrees a fraction t of the way to another, the short way round.
float angle_lerp(float from, float to, float t)
{
from = angle_wrap(from);
to = angle_wrap(to);
@@ -1175,7 +1176,7 @@ static ColorMod layer_color_get(const AnimationFrame& frame, const LayerState& l
if (is_reflection_pass())
{
color._tint[3] *= HALF;
if (g_game) color._tint[3] *= g_game->room->_waterAmount;
if (g_game) color._tint[3] *= g_game->room->waterAmount;
}
return color;
}