mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
in fake geometries, show all edges
This commit is contained in:
parent
4a830f469b
commit
b0e82dd515
@ -843,7 +843,7 @@ void celldrawer::draw_grid() {
|
|||||||
if(!bt::in() && c->move(t) < c) continue;
|
if(!bt::in() && c->move(t) < c) continue;
|
||||||
dynamicval<color_t> g(poly_outline, gridcolor(c, c->move(t)));
|
dynamicval<color_t> g(poly_outline, gridcolor(c, c->move(t)));
|
||||||
if(fat_edges && reg3::in()) {
|
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++) {
|
for(int j=0; j<cgi.face; j++) {
|
||||||
int jj = j == cgi.face-1 ? 0 : j+1;
|
int jj = j == cgi.face-1 ? 0 : j+1;
|
||||||
int jjj = jj == cgi.face-1 ? 0 : jj+1;
|
int jjj = jj == cgi.face-1 ? 0 : jj+1;
|
||||||
@ -897,7 +897,7 @@ void celldrawer::draw_grid() {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
for(int t=0; t<c->type; t++)
|
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);
|
gridline(V, get_corner_position(c, t%c->type), get_corner_position(c, (t+1)%c->type), gridcolor(c, c->move(t)), prec);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user