mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-28 12:27:40 +00:00
irr:: Euclidean guarding
This commit is contained in:
@@ -749,6 +749,10 @@ EX namespace gp {
|
||||
dialog::addBoolItem(XLAT("irregular"), IRREGULAR, 'i');
|
||||
dialog::add_action(dialog::add_confirmation([=] () {
|
||||
if(min_quality && !irr::bitruncations_requested) irr::bitruncations_requested++;
|
||||
if(euclid && !bounded) {
|
||||
println(hlog, XLAT("To create Euclidean irregular tesselations, first enable a torus"));
|
||||
return;
|
||||
}
|
||||
if(!IRREGULAR) irr::visual_creator();
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user