1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-23 13:43:19 +00:00

Heptagon + heptagram for the Orb of Summoning.

This commit is contained in:
Jacob Mandelson 2022-09-14 21:32:36 -07:00
parent df6f9eb86a
commit d0273d3ed6
3 changed files with 12 additions and 0 deletions

View File

@ -254,6 +254,7 @@ hpcshape
shCross, shGiantStar[2], shLake, shMirror,
shHalfFloor[6], shHalfMirror[3],
shGem[2], shStar, shFlash, shDisk, shHalfDisk, shDiskT, shDiskS, shDiskM, shDiskSq, shEccentricDisk, shDiskSegment,
shHeptagon, shHeptagram,
shTinyBird, shTinyShark,
shEgg, shSmallEgg,
shRing, shSpikedRing, shTargetRing, shSawRing, shGearRing, shPeaceRing,

View File

@ -1116,6 +1116,10 @@ EX bool drawItemType(eItem it, cell *c, const shiftmatrix& V, color_t icol, int
queuepolyat(Vit, cgi.shFlash, dark, prio);
else if (it == itOrbMatter || it == itOrbStone)
queuepolyat(Vit, cgi.shDiskSq, dark, prio);
else if (it == itOrbSummon) {
queuepolyat(Vit, cgi.shHeptagon, dark, prio);
queuepolyat(Vit, cgi.shHeptagram, dark, prio);
}
else {
auto shape = (it == itOrbFriend) ? &cgi.shTinyBird :
(it == itOrbSide1) ? &cgi.shSmallPSword :

View File

@ -581,6 +581,13 @@ void geometry_information::procedural_shapes() {
for(ld d: {0, 90, -90, 0})
hpcpush(xspinpush0(d*degree, zhexf*.2));
bshape(shHeptagon, PPR::ITEM);
for(int i=0; i<=S84; i+=S12)
hpcpush(ddi(i, orbsize * .2) * C0);
bshape(shHeptagram, PPR::ITEM);
for(int i=0, skip=3; i<=S84*skip; i+=S12*skip)
hpcpush(ddi(i, orbsize * .2) * C0);
bshape(shDisk, PPR::ITEM);
for(int i=0; i<=S84; i+=SD3)
hpcpush(ddi(i, orbsize * .2) * C0);