mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-18 11:14:49 +00:00
added hooks for generate_floorshapes
This commit is contained in:
parent
7dc21f32de
commit
3541a39119
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user