Curation round 15: restart and mods, Brimstone and Tech X, room gaps, eight bosses, the Womb and Mom's Heart, the Forgotten and tainted starts, alt path enemies and exits
This commit is contained in:
1 parent
6e3da161fc
commit
78a2680134
128 files changed
+13196
-2933
No files matched your search
@@ -233,3 +233,14 @@ Vector room_free_tile_position_find(const Vector& position, float distanceThresh
|
||||
}
|
||||
return best;
|
||||
}
|
||||
|
||||
// 0081e930 Queues the grid entity on a cell for removal at the room's next update, leaving the cell's path at
|
||||
// pathTrail. A decoration stays when asked to.
|
||||
void Room::RemoveGridEntity(int gridIndex, int pathTrail, DecorationRemoval removal)
|
||||
{
|
||||
if ((uint32_t)gridIndex >= ROOM_GRID_CELLS || !gridEntities[gridIndex]) return;
|
||||
if (gridEntities[gridIndex]->type == GRID_DECORATION && removal == DECORATION_KEPT) return;
|
||||
|
||||
gridPaths[gridIndex] = pathTrail;
|
||||
pendingGridRemovals.insert(gridIndex);
|
||||
}
|
||||
Reference in new issue
Block a user