1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-02 02:37:55 +00:00

embedded:: shFloor is now changed to shFullFloor by default; also whichShape has other options

This commit is contained in:
Zeno Rogue
2023-02-18 18:43:30 +01:00
parent a3b815741d
commit acdac858a3
2 changed files with 19 additions and 2 deletions

View File

@@ -2069,7 +2069,7 @@ EX namespace patterns {
dialog::addBreak(100);
dialog::addBoolItem_action(XLAT("display the inner walls"), innerwalls, '5');
dialog::addBoolItem_action(XLAT("display the inner walls"), innerwalls, '1');
if(geosupport_threecolor() == 2) {
dialog::addBoolItem(XLAT("display only hexagons"), (whichShape == '6'), '6');
@@ -2083,6 +2083,8 @@ EX namespace patterns {
}
dialog::addBoolItem(XLAT("display full floors"), (whichShape == '9'), '9');
dialog::addBoolItem(XLAT("display small floors"), (whichShape == '5'), '5');
add_edit(global_boundary_ratio);
dialog::addSelItem(XLAT("floor type"), XLATN(winf[canvas_default_wall].name), 'i');
@@ -2130,7 +2132,7 @@ EX namespace patterns {
}
}
else if(uni == '6' || uni == '7' || uni == '8' || uni == '9') {
else if((uni >= '2' && uni <= '9')) {
if(whichShape == uni) whichShape = 0;
else whichShape = uni;
}