1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-28 04:17:39 +00:00

added hooks for generate_floorshapes

This commit is contained in:
Zeno Rogue
2023-04-27 22:47:50 +02:00
parent 7dc21f32de
commit 3541a39119

View File

@@ -782,6 +782,8 @@ void geometry_information::generate_floorshapes_for(int id, cell *c, int siid, i
#endif #endif
} }
EX hookset<bool(cell*)> hooks_floorshapes;
void geometry_information::generate_floorshapes() { void geometry_information::generate_floorshapes() {
DEBBI(DF_POLY, ("generate_floorshapes")); DEBBI(DF_POLY, ("generate_floorshapes"));
@@ -804,7 +806,9 @@ void geometry_information::generate_floorshapes() {
model.type = modelh.type = S7; model.type = modelh.type = S7;
if(WDIM == 3) ; if(callhandlers(false, hooks_floorshapes, &model)) ;
else if(WDIM == 3) ;
#if CAP_IRR #if CAP_IRR
else if(IRREGULAR) { else if(IRREGULAR) {