1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-15 02:32:07 +00:00

debug_voronoi option

This commit is contained in:
Zeno Rogue
2023-09-14 17:36:31 +02:00
parent 78b75baf3a
commit 3670be5700
3 changed files with 8 additions and 0 deletions
+5
View File
@@ -2105,6 +2105,11 @@ void celldrawer::draw_cellstat() {
queuestr(V * rgpushxto0(mid(currentmap->get_corner(c, i, 4), currentmap->get_corner(c, i+1, 5))), .2, its(i), 0xFFFFFFFF, 1);
}
}
if(debug_voronoi && ls::voronoi_structure() && mod_allowed()) {
auto p = get_voronoi_winner(c);
queuestr(V, .2, its(p.second), index_pointer_int(p.first) * 0x7F3015, 1);
}
if(cmode & sm::TORUSCONFIG) {
auto p = euc::coord_display(V, c);