mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-16 02:04:48 +00:00
fixed display-only inverse operators
This commit is contained in:
parent
1f1e7d9bbf
commit
1774f59462
@ -395,6 +395,12 @@ void geometry_information::generate_floorshapes_for(int id, cell *c, int siid, i
|
|||||||
if(!siid) {
|
if(!siid) {
|
||||||
for(int i=0; i<cor; i++) cornerlist.push_back(hpxy(0,0));
|
for(int i=0; i<cor; i++) cornerlist.push_back(hpxy(0,0));
|
||||||
}
|
}
|
||||||
|
else if(geosupport_chessboard()) {
|
||||||
|
for(int i=0; i<cor; i++) {
|
||||||
|
hyperpoint nc = nearcorner(c, i);
|
||||||
|
cornerlist.push_back(mid_at(hpxy(0,0), nc, .94));
|
||||||
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
for(int i=0; i<cor; i++) {
|
for(int i=0; i<cor; i++) {
|
||||||
int ri = i;
|
int ri = i;
|
||||||
|
15
pattern2.cpp
15
pattern2.cpp
@ -1979,9 +1979,18 @@ EX namespace patterns {
|
|||||||
dialog::addBreak(100);
|
dialog::addBreak(100);
|
||||||
|
|
||||||
dialog::addBoolItem_action(XLAT("display the inner walls"), innerwalls, '5');
|
dialog::addBoolItem_action(XLAT("display the inner walls"), innerwalls, '5');
|
||||||
dialog::addBoolItem(XLAT("display only hexagons"), (whichShape == '6'), '6');
|
|
||||||
dialog::addBoolItem(XLAT("display only heptagons"), (whichShape == '7'), '7');
|
if(geosupport_threecolor() == 2) {
|
||||||
dialog::addBoolItem(XLAT("display the triheptagonal grid"), (whichShape == '8'), '8');
|
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');
|
||||||
|
}
|
||||||
|
|
||||||
|
if(geosupport_chessboard()) {
|
||||||
|
dialog::addBoolItem(XLAT("display only chessboard white"), (whichShape == '6'), '6');
|
||||||
|
dialog::addBoolItem(XLAT("display only chessboard black"), (whichShape == '7'), '7');
|
||||||
|
}
|
||||||
|
|
||||||
dialog::addBoolItem(XLAT("display full floors"), (whichShape == '9'), '9');
|
dialog::addBoolItem(XLAT("display full floors"), (whichShape == '9'), '9');
|
||||||
dialog::addSelItem(XLAT("floor type"), XLATN(winf[canvas_default_wall].name), 'i');
|
dialog::addSelItem(XLAT("floor type"), XLATN(winf[canvas_default_wall].name), 'i');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user