From 7dbbbb2dd92fdf6b396ea466c8f32868c12bbc6d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 16 Jun 2024 16:59:15 +0200 Subject: [PATCH] fixed ref to jmap in rogueviz/rewriting --- rogueviz/rewriting.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rogueviz/rewriting.cpp b/rogueviz/rewriting.cpp index 6f9989fa..2fd7188e 100644 --- a/rogueviz/rewriting.cpp +++ b/rogueviz/rewriting.cpp @@ -103,12 +103,14 @@ struct hrmap_rewrite : hrmap_hyperbolic { }; +colortable labels = {0x100FFFF, 0x100FF00, 0x1FFFF00, 0x1FF8000, 0x1FF0000, 0x1FF00FF}; + bool labeller(cell* c, const shiftmatrix& V) { auto m = dynamic_cast (currentmap); if(m) { string s = m->asg[c->master].second; cgi.scalefactor = 1; - queuestr(V, 0.5, s, ccolor::jmap.ctab[c->master->distance+1]); + queuestr(V, 0.5, s, labels[c->master->distance+1]); } return false; }