mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 02:47:40 +00:00
3d:: pseudohept specified
This commit is contained in:
@@ -343,6 +343,13 @@ auto bt_config = addHook(hooks_args, 0, [] () {
|
||||
});
|
||||
#endif
|
||||
|
||||
bool pseudohept(cell *c) {
|
||||
if(DIM == 2)
|
||||
return c->type & c->master->distance & 1;
|
||||
else
|
||||
return (c->master->zebraval == 1) && (c->master->distance & 1);
|
||||
}
|
||||
|
||||
int celldistance3(cell *c1, cell *c2) { // [untested]
|
||||
int steps = 0;
|
||||
int d1 = celldistAlt(c1);
|
||||
|
||||
Reference in New Issue
Block a user