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:
1 parent
b85591bdf4
commit
69a354f843
140 files changed
+23561
-20206
No files matched your search
+24
@@ -5,6 +5,7 @@
|
||||
#include "challenge_params.h"
|
||||
#include "console.h"
|
||||
#include "deathmatch_manager.h"
|
||||
#include "entity_factory.h"
|
||||
#include "game_state.h"
|
||||
#include "generic_prompt.h"
|
||||
#include "hud.h"
|
||||
@@ -127,6 +128,24 @@ struct EntitySpawn
|
||||
uint32_t seed = 0;
|
||||
};
|
||||
|
||||
// Where the run goes once its fade out covers the screen (Game's fadeOutTarget). The online ones wait for the lobby.
|
||||
enum FadeOutTarget : int
|
||||
{
|
||||
FADEOUT_NONE,
|
||||
FADEOUT_MENU_SAVE,
|
||||
FADEOUT_MENU_GAME,
|
||||
FADEOUT_MENU_ONLINE,
|
||||
FADEOUT_MENU_TITLE,
|
||||
FADEOUT_RESTART,
|
||||
FADEOUT_RESTART_HELD,
|
||||
FADEOUT_VICTORY_LAP,
|
||||
FADEOUT_ONLINE_LOBBY,
|
||||
FADEOUT_ONLINE_WAIT,
|
||||
FADEOUT_ARENA,
|
||||
FADEOUT_MENU_ONLINE_LOBBY,
|
||||
FADEOUT_TARGET_COUNT
|
||||
};
|
||||
|
||||
// Whether a fade in shows the loading icon.
|
||||
enum FadeIcon
|
||||
{
|
||||
@@ -280,9 +299,14 @@ public:
|
||||
|
||||
void Start(int playerType, uint32_t startChallenge, const Seeds& seeds, Difficulty startDifficulty);
|
||||
void Fadein(float speed, FadeIcon icon, KColor color);
|
||||
void SetColorModifier(const ColorModState& color, bool isLerp, float rate);
|
||||
void save_rewind_state(int leaveDoor);
|
||||
void Fadeout(float speed, FadeOutTarget target, KColor color = kcolor_rgba(0, 0, 0, 1));
|
||||
void store_game_state(GameState& state);
|
||||
static void Exit(bool isSaving);
|
||||
void Update();
|
||||
void interpolate_update();
|
||||
void recreate_render_targets();
|
||||
void Render();
|
||||
bool IsPaused();
|
||||
bool IsGreedMode();
|
||||
|
||||
Reference in new issue
Block a user