From 3a95b5f8d5e6c504f6566bcbb65aed68f6878795 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 17 Sep 2022 12:11:03 +0200 Subject: [PATCH] made some item icons larger --- hud.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hud.cpp b/hud.cpp index 6810aa24..28d27c07 100644 --- a/hud.cpp +++ b/hud.cpp @@ -215,11 +215,19 @@ bool displayglyph(int cx, int cy, int buttonsize, char glyph, color_t color, int else { eItem it = eItem(id); double bsize = buttonsize / 2; - if(glyph =='*') bsize *= 2; + if(glyph == '*') bsize *= 2; + if(glyph == '%') bsize *= 2; + if(glyph == '!') bsize *= 2; + if(glyph == '?') bsize *= 2; + if(glyph == ';') bsize *= 2; if(glyph == '$') bsize = (bsize*5+2)/3; if(glyph == 'o') bsize = (bsize*3+1)/2; + if(glyph == 'c') bsize = (bsize*3+1)/2; if(glyph == 't') bsize = bsize*5/2; if(glyph == '(') bsize = bsize*2.5; + if(glyph == '/') bsize = bsize*2; + if(glyph == ']') bsize = bsize*1.5; + if(glyph == 'x') bsize = bsize*1.5; if(it == itWarning) bsize *= 2; if(it == itBombEgg || it == itTrollEgg || it == itDodeca) bsize = bsize*3/2; int icol = color;