From ff372d9fc424364fa1b691f50068c1ca09149753 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 3 Mar 2025 23:53:26 +0100 Subject: [PATCH] display tilebox tile counts, and current cash --- rogueviz/seuphorica.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rogueviz/seuphorica.cpp b/rogueviz/seuphorica.cpp index 57afd222..72cc95fa 100644 --- a/rogueviz/seuphorica.cpp +++ b/rogueviz/seuphorica.cpp @@ -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;