1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +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

@ -276,7 +276,7 @@ hpcshape
shWolf1, shWolf2, shWolf3,
shRatEye1, shRatEye2, shRatEye3,
shDogStripes,
shPBody, shPSword, shPKnife,
shPBody, shSmallPBody, shPSword, shPKnife,
shFerocityM, shFerocityF,
shHumanFoot, shHumanLeg, shHumanGroin, shHumanNeck, shSkeletalFoot, shYetiFoot,
shMagicSword, shMagicShovel, shSeaTentacle, shKrakenHead, shKrakenEye, shKrakenEye2,

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);
}

View File

@ -1349,6 +1349,7 @@ void geometry_information::prepare_shapes() {
bshape(shFrogJumpLeg, PPR::MONSTER_FOOT, scalefactor, 404);
bshape(shPBody, PPR::MONSTER_BODY, scalefactor, 85);
bshape(shSmallPBody, PPR::MONSTER_BODY, scalefactor/2, 85);
bshape(shYeti, PPR::MONSTER_BODY, scalefactor, 86);
bshape(shPSword, PPR::MONSTER_WPN, scalefactor, 90);
bshape(shFerocityM, PPR::MONSTER_WPN, scalefactor, 361);