mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
nicer Greatwall grid lines
This commit is contained in:
parent
d35221e849
commit
998abd2f77
@ -758,11 +758,14 @@ void celldrawer::draw_boat() {
|
||||
|
||||
void celldrawer::draw_grid() {
|
||||
|
||||
int prec = sphere ? 3 : 1;
|
||||
prec += vid.linequality;
|
||||
|
||||
if(vid.grid && c->bardir != NODIR && c->bardir != NOBARRIERS && c->land != laHauntedWall &&
|
||||
c->barleft != NOWALLSEP_USED && GDIM == 2) {
|
||||
color_t col = darkena(0x505050, 0, 0xFF);
|
||||
queueline(tC0(V), V*tC0(cgi.heptmove[c->bardir]), col, 2 + vid.linequality);
|
||||
queueline(tC0(V), V*tC0(cgi.hexmove[c->bardir]), col, 2 + vid.linequality);
|
||||
gridline(V, C0, tC0(cgi.heptmove[c->bardir]), col, prec+1);
|
||||
gridline(V, C0, tC0(cgi.hexmove[c->bardir]), col, prec+1);
|
||||
}
|
||||
|
||||
if(inmirrorcount) return;
|
||||
@ -782,9 +785,6 @@ void celldrawer::draw_grid() {
|
||||
// hyper heptagonal: 0.6150
|
||||
// hyper: 0.3798
|
||||
|
||||
int prec = sphere ? 3 : 1;
|
||||
prec += vid.linequality;
|
||||
|
||||
if(0);
|
||||
#if MAXMDIM == 4
|
||||
else if(WDIM == 3) {
|
||||
|
Loading…
Reference in New Issue
Block a user