mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	Flash shape for the Orb of Flash.
This commit is contained in:
		| @@ -253,7 +253,7 @@ hpcshape | ||||
|   shTriheptaSpecial[14],  | ||||
|   shCross, shGiantStar[2], shLake, shMirror, | ||||
|   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, | ||||
|   shEgg, | ||||
|   shRing, shSpikedRing, shTargetRing, shSawRing, shGearRing, shPeaceRing, | ||||
|   | ||||
| @@ -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 == itOrbWinter) ? cgi.shSnowflake : | ||||
|                      (it == itOrbLuck) ? cgi.shSmallerDodeca : | ||||
|                      (it == itOrbFlash) ? cgi.shFlash : | ||||
|                         cgi.shDisk; | ||||
|         queuepolyat(Vit, shape, dark, prio); | ||||
|         if (it == itOrbSide1 || it == itOrbChoice || it == itOrbMirror || it == itOrbMagnetism) | ||||
|   | ||||
| @@ -551,6 +551,13 @@ void geometry_information::procedural_shapes() { | ||||
|     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); | ||||
|   for(int t=0; t<=SD6; t++) { | ||||
|     hpcpush(ddi(t*S14, zhexf*.8*3/4) * C0); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jacob Mandelson
					Jacob Mandelson