1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-07 04:19:02 +00:00

Show golem in Orb of Life.

This commit is contained in:
Jacob Mandelson
2022-08-26 10:04:52 -07:00
parent 446b23f83d
commit 18e1912884
3 changed files with 12 additions and 4 deletions

View File

@@ -1047,9 +1047,16 @@ EX bool drawItemType(eItem it, cell *c, const shiftmatrix& V, color_t icol, int
if(xch == 'c')
queuepolyat(Vit * spinptick(500, 0), cgi.shMoonDisk, darkena(0x801080, 0, hidden ? 0x20 : 0xC0), prio);
else {
auto shape = (it == itOrbFriend) ? cgi.shTinyBird : cgi.shDisk;;
queuepolyat(Vit, shape, darkena(icol1, 0, inice ? 0x80 : hidden ? 0x20 : 0xC0), prio);
}
auto dark = darkena(icol1, 0, inice ? 0x80 : hidden ? 0x20 : 0xC0);
if (it == itOrbLife) {
queuepolyat(Vit, cgi.shSmallPBody, dark, prio);
queuepolyat(Vit, cgi.shDiskM, dark, prio);
}
else {
auto shape = (it == itOrbFriend) ? cgi.shTinyBird : cgi.shDisk;
queuepolyat(Vit, shape, dark, prio);
}
}
queue_ring(Vit * spinptick(1500, 0), orbshape(iinf[it].orbshape), col, prio);
}