mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 06:50:27 +00:00
dice:: CAP_EXTFONT-version of dice numbers
This commit is contained in:
parent
50a9c78343
commit
e41d4e7912
13
complex2.cpp
13
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; i<si; i++) {
|
||||
int d = dir + c->type * 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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user