mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-22 23:17:04 +00:00
made some item icons larger
This commit is contained in:
parent
cb839ed895
commit
3a95b5f8d5
10
hud.cpp
10
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;
|
||||
|
Loading…
Reference in New Issue
Block a user