1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-20 12:20:01 +00:00

in fake geometries, show all edges

This commit is contained in:
Zeno Rogue 2020-05-31 03:30:40 +02:00
parent 4a830f469b
commit b0e82dd515

View File

@ -843,7 +843,7 @@ void celldrawer::draw_grid() {
if(!bt::in() && c->move(t) < c) continue;
dynamicval<color_t> g(poly_outline, gridcolor(c, c->move(t)));
if(fat_edges && reg3::in()) {
for(int i=0; i<S7; i++) if(c < c->move(i)) {
for(int i=0; i<S7; i++) if(c < c->move(i) || fake::in()) {
for(int j=0; j<cgi.face; j++) {
int jj = j == cgi.face-1 ? 0 : j+1;
int jjj = jj == cgi.face-1 ? 0 : jj+1;
@ -897,7 +897,7 @@ void celldrawer::draw_grid() {
}
else {
for(int t=0; t<c->type; t++)
if(c->move(t) && (c->move(t) < c || isWarped(c->move(t))))
if(c->move(t) && (c->move(t) < c || isWarped(c->move(t)) || fake::in()))
gridline(V, get_corner_position(c, t%c->type), get_corner_position(c, (t+1)%c->type), gridcolor(c, c->move(t)), prec);
}
}