added hooks for generate_floorshapes

This commit is contained in:
Zeno Rogue 2023-04-27 22:47:50 +02:00
parent 7dc21f32de
commit 3541a39119
1 changed files with 5 additions and 1 deletions

View File

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