1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-30 20:41:24 +00:00

increased MAX_EDGE

This commit is contained in:
Zeno Rogue
2019-04-29 03:36:28 +02:00
parent e14ac8b321
commit be2ac7654a
3 changed files with 25 additions and 33 deletions

View File

@@ -62,9 +62,10 @@ 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 fixdistance = COMPUTE) {
heptagon *buildHeptagon1(heptagon *h, heptagon *parent, int d, hstate s, int pard = 0, int zv = 0) {
h->alt = NULL;
h->s = s;
h->zebraval = zv;
h->c.connect(pard, parent, d, false);
h->cdata = NULL;
return h;