1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

Goldberg linepatterns now available in INVERSE

This commit is contained in:
Zeno Rogue 2020-09-16 18:48:45 +02:00
parent dd113c0f46
commit b17cfbe4bc

View File

@ -2723,7 +2723,7 @@ EX namespace linepatterns {
} }
) )
); );
linepattern patGoldbergTree("Goldberg tree", 0x8438A400, [] { return GOLDBERG; }, linepattern patGoldbergTree("Goldberg tree", 0x8438A400, [] { return GOLDBERG || INVERSE; },
ALLCELLS( ALLCELLS(
if(c->master->c7 != c) if(c->master->c7 != c)
gridlinef(V, C0, V*currentmap->adj(c,0), C0, gridlinef(V, C0, V*currentmap->adj(c,0), C0,
@ -2771,7 +2771,7 @@ EX namespace linepatterns {
} }
) )
); );
linepattern patGoldbergSep("Goldberg", 0xFFFF0000, [] { return GOLDBERG; }, linepattern patGoldbergSep("Goldberg", 0xFFFF0000, [] { return GOLDBERG || INVERSE; },
ALLCELLS( ALLCELLS(
forCellIdEx(c2, i, c) if(c2->master != c->master) forCellIdEx(c2, i, c) if(c2->master != c->master)
gridlinef(V, C0, V*currentmap->adj(c, i), C0, gridlinef(V, C0, V*currentmap->adj(c, i), C0,