mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-19 09:30:31 +00:00
added CAP_EXTFONT for when font textures are not available (i.e., mobile devices)
This commit is contained in:
@@ -1229,6 +1229,7 @@ EX namespace dice {
|
||||
|
||||
queuecurve(V1, 0xFFFFFFFF, color & 0xFFFFFF9F, PPR::WALL);
|
||||
|
||||
#if !CAP_EXTFONT
|
||||
pointfunction pf = [&] (ld x, ld y) {
|
||||
hyperpoint hs;
|
||||
dynamicval<eGeometry> g(geometry, gSpace534);
|
||||
@@ -1242,6 +1243,7 @@ EX namespace dice {
|
||||
else if(fid == 9) s = "9.";
|
||||
else s = its(fid);
|
||||
write_in_space(V1, max_glfont_size, dw->faces < 10 ? -1.2 : -.75, s, 0xFFFFFFFF, 0, 8, PPR::WALL, pf);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user