1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 11:00:34 +00:00

an option to display full floors

This commit is contained in:
Zeno Rogue 2018-06-25 23:01:39 +02:00
parent 40e9c6687c
commit 0843bef893
2 changed files with 6 additions and 1 deletions

View File

@ -3775,6 +3775,9 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
else if(patterns::whichShape == '6')
set_floor(shBigTriangle);
else if(patterns::whichShape == '9')
set_floor(shFullFloor);
#endif
#if CAP_TEXTURE

View File

@ -1468,6 +1468,8 @@ namespace patterns {
dialog::addBoolItem(XLAT("display only hexagons"), (whichShape == '6'), '6');
dialog::addBoolItem(XLAT("display only heptagons"), (whichShape == '7'), '7');
dialog::addBoolItem(XLAT("display the triheptagonal grid"), (whichShape == '8'), '8');
dialog::addBoolItem(XLAT("display full floors"), (whichShape == '9'), '9');
if(cheater || autocheat) dialog::addItem(XLAT("line patterns"), 'l');
else dialog::addInfo("enable the cheat mode to use line patterns");
@ -1511,7 +1513,7 @@ namespace patterns {
subpattern_flags ^= SPF_DOCKS;
}
else if(uni == '6' || uni == '7' || uni == '8') {
else if(uni == '6' || uni == '7' || uni == '8' || uni == '9') {
if(whichShape == uni) whichShape = 0;
else whichShape = uni;
}