mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-09 07:30:09 +00:00
moved 6789l between pattern sub-menus
This commit is contained in:
parent
075ab6f1e8
commit
a0ac77b07b
30
pattern2.cpp
30
pattern2.cpp
@ -1499,8 +1499,16 @@ namespace patterns {
|
|||||||
dialog::addSelItem(XLAT("formula"), "formula", 'f');
|
dialog::addSelItem(XLAT("formula"), "formula", 'f');
|
||||||
|
|
||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
|
|
||||||
|
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');
|
||||||
dialog::addBoolItem(XLATN(winf[waInvisibleFloor].name), canvas_invisible, 'i');
|
dialog::addBoolItem(XLATN(winf[waInvisibleFloor].name), canvas_invisible, 'i');
|
||||||
|
|
||||||
|
if(cheater || autocheat) dialog::addItem(XLAT("line patterns"), 'l');
|
||||||
|
else dialog::addInfo("enable the cheat mode to use line patterns");
|
||||||
|
|
||||||
dialog::addBack();
|
dialog::addBack();
|
||||||
dialog::display();
|
dialog::display();
|
||||||
|
|
||||||
@ -1538,6 +1546,13 @@ namespace patterns {
|
|||||||
else canvas_invisible = !canvas_invisible;
|
else canvas_invisible = !canvas_invisible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if(uni == '6' || uni == '7' || uni == '8' || uni == '9') {
|
||||||
|
if(whichShape == uni) whichShape = 0;
|
||||||
|
else whichShape = uni;
|
||||||
|
}
|
||||||
|
else if(uni == 'l' && (cheater || autocheat))
|
||||||
|
pushScreen(linepatterns::showMenu);
|
||||||
|
|
||||||
else if(uni == 'f') {
|
else if(uni == 'f') {
|
||||||
dialog::edit_string(color_formula, "formula",
|
dialog::edit_string(color_formula, "formula",
|
||||||
XLAT(
|
XLAT(
|
||||||
@ -1705,14 +1720,6 @@ namespace patterns {
|
|||||||
|
|
||||||
dialog::addBoolItem(XLAT("display pattern codes (full)"), displaycodes, 'd');
|
dialog::addBoolItem(XLAT("display pattern codes (full)"), displaycodes, 'd');
|
||||||
|
|
||||||
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");
|
|
||||||
|
|
||||||
if(!needConfirmation()) dialog::addItem(XLAT("predesigned patterns"), 'r');
|
if(!needConfirmation()) dialog::addItem(XLAT("predesigned patterns"), 'r');
|
||||||
else dialog::addInfo("start a new game to use predesigned patterns");
|
else dialog::addInfo("start a new game to use predesigned patterns");
|
||||||
|
|
||||||
@ -1767,15 +1774,8 @@ namespace patterns {
|
|||||||
REMAP_TEXTURE;
|
REMAP_TEXTURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
else if(uni == '6' || uni == '7' || uni == '8' || uni == '9') {
|
|
||||||
if(whichShape == uni) whichShape = 0;
|
|
||||||
else whichShape = uni;
|
|
||||||
}
|
|
||||||
else if(uni == 'd') displaycodes = !displaycodes;
|
else if(uni == 'd') displaycodes = !displaycodes;
|
||||||
|
|
||||||
else if(uni == 'l' && (cheater || autocheat))
|
|
||||||
pushScreen(linepatterns::showMenu);
|
|
||||||
|
|
||||||
else if(uni == 'r' && !needConfirmation()) pushScreen(showPrePattern);
|
else if(uni == 'r' && !needConfirmation()) pushScreen(showPrePattern);
|
||||||
|
|
||||||
else if(doexiton(sym, uni)) popScreen();
|
else if(doexiton(sym, uni)) popScreen();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user