mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +00:00
3d:: hororec:: better pseudohept pattern
This commit is contained in:
parent
cb9513dd0d
commit
8de98056ff
@ -551,7 +551,9 @@ auto bt_config = addHook(hooks_args, 0, [] () {
|
|||||||
bool pseudohept(cell *c) {
|
bool pseudohept(cell *c) {
|
||||||
if(DIM == 2)
|
if(DIM == 2)
|
||||||
return c->type & c->master->distance & 1;
|
return c->type & c->master->distance & 1;
|
||||||
else if(among(geometry, gHoroTris, gHoroRec))
|
else if(geometry == gHoroRec)
|
||||||
|
return c->c.spin(S7-1) == 0 && (c->master->distance & 1) && c->comve(S7-1)->c.spin(S7-1) == 0;
|
||||||
|
else if(geometry == gHoroTris)
|
||||||
return c->c.spin(S7-1) == 0 && (c->master->distance & 1);
|
return c->c.spin(S7-1) == 0 && (c->master->distance & 1);
|
||||||
else
|
else
|
||||||
return (c->master->zebraval == 1) && (c->master->distance & 1);
|
return (c->master->zebraval == 1) && (c->master->distance & 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user