mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-04 11:37:55 +00:00
fixed binary tiling
This commit is contained in:
@@ -62,17 +62,16 @@ hstate transition(hstate s, int dir) {
|
||||
#define COMPUTE -1000000
|
||||
|
||||
// create a new heptagon
|
||||
heptagon *buildHeptagon1(heptagon *h, heptagon *parent, int d, hstate s, int pard = 0, int zv = 0) {
|
||||
heptagon *buildHeptagon1(heptagon *h, heptagon *parent, int d, hstate s, int pard = 0) {
|
||||
h->alt = NULL;
|
||||
h->s = s;
|
||||
h->zebraval = zv;
|
||||
h->c.connect(pard, parent, d, false);
|
||||
h->cdata = NULL;
|
||||
return h;
|
||||
}
|
||||
|
||||
heptagon *buildHeptagon(heptagon *parent, int d, hstate s, int pard = 0, int fixdistance = COMPUTE) {
|
||||
heptagon *h = buildHeptagon1(tailored_alloc<heptagon> (S7), parent, d, s, pard, fixdistance);
|
||||
heptagon *h = buildHeptagon1(tailored_alloc<heptagon> (S7), parent, d, s, pard);
|
||||
if(binarytiling || archimedean) return h;
|
||||
if(parent->c7) {
|
||||
#if CAP_IRR
|
||||
|
Reference in New Issue
Block a user