From 61edff4f134a4297a14b96ea7a20e6658e72ae05 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 6 Mar 2025 13:25:30 +0100 Subject: [PATCH] rogueviz::seuphorica::darken letters correctly --- rogueviz/seuphorica.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rogueviz/seuphorica.cpp b/rogueviz/seuphorica.cpp index 089a00e0..811cffc5 100644 --- a/rogueviz/seuphorica.cpp +++ b/rogueviz/seuphorica.cpp @@ -406,8 +406,8 @@ void render_tile(shiftmatrix V, tile& t, cell *c, vector* origbox, int box auto V2 = V1; if(c) V2 = V2 * ddspin(c,cw.spin,0); - write_in_space(V2, 72, gigscale, t.letter, darkena(gsp(t).text_color, 0, 0xFF), 0, 8); - write_in_space(V2 * xpush(cgi.scalefactor*.2*gigscale) * ypush(cgi.scalefactor*.2*gigscale), 72, 0.4 * gigscale, its(t.value), darkena(gsp(t).text_color, 0, 0xFF), 0, 8); + write_in_space(V2, 72, gigscale, t.letter, darkena(darkened(gsp(t).text_color), 0, 0xFF), 0, 8); + write_in_space(V2 * xpush(cgi.scalefactor*.2*gigscale) * ypush(cgi.scalefactor*.2*gigscale), 72, 0.4 * gigscale, its(t.value), darkena(darkened(gsp(t).text_color), 0, 0xFF), 0, 8); if(!c && origbox) { auto h1 = inverse_shift_any(atscreenpos(0, 0), V * eupoint(-gigscale, -gigscale));