REPENTOGON phase 1: 361 of 396 callbacks fired at their original sites with REPENTOGON's arguments, filters and return handling, inert without mods (72 goldens identical), vanilla changes behind the parity switch; source_tree.py skips src/'s own template structs

This commit is contained in:
shweet committed 2026-11-24 04:58:51 -05:00
1 parent 2cc082f6ee
commit 74322af121
167 files changed
+6408 -546

No files matched your search

+7
View File
@@ -12,6 +12,9 @@
#include "entity/player/stats.h"
#include "level/room.h"
#include "engine/seeds.h"
#ifdef ISAAC_REPENTOGON
#include "repentogon/callbacks.h"
#endif
// A grid fire's grid path while it stands, the odds a fresh one burns red, and its red tints.
constexpr int GRID_FIRE_PATH = 1400;
@@ -76,6 +79,10 @@ void GridEntity_Fire::subclass_init()
// the nearest player in sight. Embers drift up from it, wavering, until their time is up.
void GridEntity_Fire::Update()
{
#ifdef ISAAC_REPENTOGON
GridUpdateScope scope(*this, MC_PRE_GRID_ENTITY_FIRE_UPDATE, MC_POST_GRID_ENTITY_FIRE_UPDATE);
if (scope.isSkipped) return;
#endif
Game& game = *g_game;
Room& room = *game.room;