mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
pseudohept in Field534
This commit is contained in:
parent
ac7c902f0b
commit
7e65ea23ea
@ -1297,7 +1297,7 @@ bool pseudohept(cell *c) {
|
|||||||
#endif
|
#endif
|
||||||
#if MAXMDIM == 4
|
#if MAXMDIM == 4
|
||||||
if(DIM == 3) {
|
if(DIM == 3) {
|
||||||
if(quotient) return false;
|
if(geometry == gField435) return false;
|
||||||
else if(euclid) return euclid3::pseudohept(c);
|
else if(euclid) return euclid3::pseudohept(c);
|
||||||
else return reg3::pseudohept(c);
|
else return reg3::pseudohept(c);
|
||||||
}
|
}
|
||||||
|
2
reg3.cpp
2
reg3.cpp
@ -827,6 +827,8 @@ bool pseudohept(cell *c) {
|
|||||||
// chessboard pattern in 534
|
// chessboard pattern in 534
|
||||||
if(geometry == gSpace534)
|
if(geometry == gSpace534)
|
||||||
return c->master->distance & 1;
|
return c->master->distance & 1;
|
||||||
|
if(geometry == gField534)
|
||||||
|
return hr::celldistance(c, currentmap->gamestart()) & 1;
|
||||||
if(hyperbolic) {
|
if(hyperbolic) {
|
||||||
heptagon *h = m->reg_gmatrix[c->master].first;
|
heptagon *h = m->reg_gmatrix[c->master].first;
|
||||||
return (h->zebraval == 1) && (h->distance & 1);
|
return (h->zebraval == 1) && (h->distance & 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user