From 18e1912884c74a380e032ed503e7a32fa05be4b7 Mon Sep 17 00:00:00 2001 From: Jacob Mandelson Date: Fri, 26 Aug 2022 10:04:52 -0700 Subject: [PATCH] Show golem in Orb of Life. --- geometry.cpp | 2 +- graph.cpp | 13 ++++++++++--- polygons.cpp | 1 + 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/geometry.cpp b/geometry.cpp index a1b99d16..b686b4ba 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -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, diff --git a/graph.cpp b/graph.cpp index 43f09001..8cc2a98a 100644 --- a/graph.cpp +++ b/graph.cpp @@ -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); } diff --git a/polygons.cpp b/polygons.cpp index 677b5f3d..751f1a39 100644 --- a/polygons.cpp +++ b/polygons.cpp @@ -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);