display tilebox tile counts, and current cash

This commit is contained in:
Zeno Rogue committed 2025-03-08 16:39:44 +01:00
1 parent a9e19ce2a3
commit ff372d9fc4
1 file changed
+4
+4
View File
@@ -307,6 +307,10 @@ struct tilebox {
wider wid(5);
queuecurve(ASP, darkena(col, 0, 0xFF), darkena(col, 0, 0x80), PPR::ZERO);
write_in_space(ASP * eupush(*x2 - 10, *y1 + 20), 72, 50, title, darkena(col, 0, 0xFF), 16, 16);
if(isize(*ptset))
write_in_space(ASP * eupush(*x2 - 10, *y1 + 40), 72, 25, its(isize(*ptset)), darkena(col, 0, 0xFF), 16, 16);
if(ptset == &shop)
write_in_space(ASP * eupush(*x2 - 10, *y2 - 10), 72, 50, its(cash) + "$", darkena(col, 0, 0xFF), 16, 16);
}
int idx = 0;