1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

fixed the graphical sizes of wolves and orbs

This commit is contained in:
Zeno Rogue 2020-07-03 15:21:39 +02:00
parent e15f0f381f
commit abd5a0b943

View File

@ -222,7 +222,7 @@ void geometry_information::bshape(hpcshape& sh, PPR prio, double shzoom, int sha
while(polydata[whereis + 2*qty] != NEWSHAPE) qty++;
double shzoomx = shzoom;
double shzoomy = shzoom;
if(shzoom == WOLF) shzoomx = 1.5 * (!BITRUNCATED && !arcm::in() ? scalefactor : 1), shzoomy = 1.6 * (!BITRUNCATED && !arcm::in() ? scalefactor : 1);
if(shzoom == WOLF) shzoomx = 1.5 * scalefactor, shzoomy = 1.6 * scalefactor;
if(&sh == &cgi.shPikeBody) shzoomx *= 1.1, shzoomy *= 1.5;
if(&sh == &cgi.shPikeEye) shzoomx *= 1.1, shzoomy *= 1.5;
int rots2 = rots;
@ -529,7 +529,7 @@ void geometry_information::procedural_shapes() {
bshape(shEgg, PPR::ITEM);
RING(i)
hpcpush(hpxy(sin(i*2*M_PI/S84)*.15, cos(i*2*M_PI/S84)*.11));
hpcpush(hpxy(sin(i*2*M_PI/S84)*0.242 * orbsize, cos(i*2*M_PI/S84)*0.177*orbsize));
bshape(shRing, PPR::ITEM);
RING(i)