1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-17 19:48:06 +00:00

options to disable apeirogon_consistent_coloring and apeirogon_hide_grid_edges

This commit is contained in:
Zeno Rogue
2022-04-26 16:17:01 +02:00
parent 61c3e41e8a
commit b9c76d8162
4 changed files with 12 additions and 2 deletions

View File

@@ -1767,7 +1767,7 @@ EX namespace patterns {
int i = callhandlers(-1, hooks_generate_canvas, c);
if(i != -1) return i;
if(arb::is_apeirogonal(c)) {
if(arb::apeirogon_consistent_coloring && arb::is_apeirogonal(c)) {
for(cell *c1: {c->move(c->type-1), c->move(c->type-2), c->cmove(c->type-1)->move(c->type-1), c->cmove(c->type-2)->move(c->type-2)})
if(c1 && c1->mpdist <= BARLEV) return c1->landparam;
}