mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-08 03:36:43 +00:00
display tilebox tile counts, and current cash
This commit is contained in:
parent
a9e19ce2a3
commit
ff372d9fc4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user