From e41d4e7912a4d5193e162610d6066978914c5c20 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 31 May 2021 20:44:10 +0200 Subject: [PATCH] dice:: CAP_EXTFONT-version of dice numbers --- complex2.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/complex2.cpp b/complex2.cpp index 291d740c..6e740265 100644 --- a/complex2.cpp +++ b/complex2.cpp @@ -1196,6 +1196,19 @@ EX namespace dice { } } } + #if CAP_EXTFONT + else if(!lmouseover_distant || !on(lmouseover_distant)) { + queuestr(V, .5, its(val+1), 0xFFFFFFFF); + auto& side = dw->sides[val]; + for(int i=0; itype * i / isize(side); + d = gmod(d, c->type); + hyperpoint nxt = tC0(currentmap->adj(c, d)); + hyperpoint mid = normalize(C0 * 1.3 + nxt * -.3); + queuestr(V * rgpushxto0(mid), .25, its(side[i]+1), 0xFFFFFFFF); + } + } + #endif shiftmatrix V1 = V * ddspin(c, dir) * spin(M_PI);