mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
an option to display full floors
This commit is contained in:
parent
40e9c6687c
commit
0843bef893
@ -3775,6 +3775,9 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
|||||||
|
|
||||||
else if(patterns::whichShape == '6')
|
else if(patterns::whichShape == '6')
|
||||||
set_floor(shBigTriangle);
|
set_floor(shBigTriangle);
|
||||||
|
|
||||||
|
else if(patterns::whichShape == '9')
|
||||||
|
set_floor(shFullFloor);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CAP_TEXTURE
|
#if CAP_TEXTURE
|
||||||
|
@ -1468,6 +1468,8 @@ namespace patterns {
|
|||||||
dialog::addBoolItem(XLAT("display only hexagons"), (whichShape == '6'), '6');
|
dialog::addBoolItem(XLAT("display only hexagons"), (whichShape == '6'), '6');
|
||||||
dialog::addBoolItem(XLAT("display only heptagons"), (whichShape == '7'), '7');
|
dialog::addBoolItem(XLAT("display only heptagons"), (whichShape == '7'), '7');
|
||||||
dialog::addBoolItem(XLAT("display the triheptagonal grid"), (whichShape == '8'), '8');
|
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');
|
if(cheater || autocheat) dialog::addItem(XLAT("line patterns"), 'l');
|
||||||
else dialog::addInfo("enable the cheat mode to use line patterns");
|
else dialog::addInfo("enable the cheat mode to use line patterns");
|
||||||
|
|
||||||
@ -1511,7 +1513,7 @@ namespace patterns {
|
|||||||
subpattern_flags ^= SPF_DOCKS;
|
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;
|
if(whichShape == uni) whichShape = 0;
|
||||||
else whichShape = uni;
|
else whichShape = uni;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user