1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-16 22:57:38 +00:00

highlight buttons on overview/PTM screens; improved zoom feature; fixed a bug with zoom spilling to the inventory screen

This commit is contained in:
Zeno Rogue
2018-07-22 12:54:05 +02:00
parent 329a2fa783
commit 5b41f5d157
5 changed files with 64 additions and 53 deletions

View File

@@ -712,16 +712,16 @@ namespace tactic {
if(unlocked) col = linf[l].color; else col = 0x202020;
if(displayfrZ(xr*1, i0, 1, vf-4, XLAT1(linf[l].name), col, 0) && unlocked) {
if(displayfrZH(xr*1, i0, 1, vf-4, XLAT1(linf[l].name), col, 0) && unlocked) {
getcstat = 1000 + i1;
}
if(unlocked || autocheat) {
for(int ii=0; ii<ch; ii++)
if(displayfrZ(xr*(24+2*ii), i0, 1, (vf-4)*4/5, lsc[xc][l][ii] > 0 ? its(lsc[xc][l][ii]) : "-", col, 16))
if(displayfrZH(xr*(24+2*ii), i0, 1, (vf-4)*4/5, lsc[xc][l][ii] > 0 ? its(lsc[xc][l][ii]) : "-", col, 16))
getcstat = 1000 + i1;
if(displayfrZ(xr*(24+2*10), i0, 1, (vf-4)*4/5,
if(displayfrZH(xr*(24+2*10), i0, 1, (vf-4)*4/5,
its(recordsum[xc][l]) + " x" + its(tacmultiplier(l)), col, 0))
getcstat = 1000 + i1;
}