1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-05-07 01:34:07 +00:00

Flash shape for the Orb of Flash.

This commit is contained in:
Jacob Mandelson 2022-08-28 10:55:09 -07:00
parent 20a6876763
commit c4a7776977
3 changed files with 9 additions and 1 deletions

View File

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

View File

@ -1120,6 +1120,7 @@ EX bool drawItemType(eItem it, cell *c, const shiftmatrix& V, color_t icol, int
(it == itOrbChoice || it == itOrbMirror || it == itOrbMagnetism) ? cgi.shEccentricDisk : (it == itOrbChoice || it == itOrbMirror || it == itOrbMagnetism) ? cgi.shEccentricDisk :
(it == itOrbWinter) ? cgi.shSnowflake : (it == itOrbWinter) ? cgi.shSnowflake :
(it == itOrbLuck) ? cgi.shSmallerDodeca : (it == itOrbLuck) ? cgi.shSmallerDodeca :
(it == itOrbFlash) ? cgi.shFlash :
cgi.shDisk; cgi.shDisk;
queuepolyat(Vit, shape, dark, prio); queuepolyat(Vit, shape, dark, prio);
if (it == itOrbSide1 || it == itOrbChoice || it == itOrbMirror || it == itOrbMagnetism) if (it == itOrbSide1 || it == itOrbChoice || it == itOrbMirror || it == itOrbMagnetism)

View File

@ -551,6 +551,13 @@ void geometry_information::procedural_shapes() {
if(t != S84) hpcpush(ddi(t+3, zhexf*.6) * C0); if(t != S84) hpcpush(ddi(t+3, zhexf*.6) * C0);
} }
bshape(shFlash, PPR::ITEM);
for(int t=0; t<S84+SD6; t+=SD6) {
hpcpush(ddi(t, zhexf*.25) * C0);
hpcpush(ddi(t+3, zhexf*.4) * C0);
}
hpcpush(ddi(3, zhexf*.4) * C0);
bshape(shDaisy, PPR::ITEM); bshape(shDaisy, PPR::ITEM);
for(int t=0; t<=SD6; t++) { for(int t=0; t<=SD6; t++) {
hpcpush(ddi(t*S14, zhexf*.8*3/4) * C0); hpcpush(ddi(t*S14, zhexf*.8*3/4) * C0);