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:
parent
e15f0f381f
commit
abd5a0b943
@ -222,7 +222,7 @@ void geometry_information::bshape(hpcshape& sh, PPR prio, double shzoom, int sha
|
|||||||
while(polydata[whereis + 2*qty] != NEWSHAPE) qty++;
|
while(polydata[whereis + 2*qty] != NEWSHAPE) qty++;
|
||||||
double shzoomx = shzoom;
|
double shzoomx = shzoom;
|
||||||
double shzoomy = 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.shPikeBody) shzoomx *= 1.1, shzoomy *= 1.5;
|
||||||
if(&sh == &cgi.shPikeEye) shzoomx *= 1.1, shzoomy *= 1.5;
|
if(&sh == &cgi.shPikeEye) shzoomx *= 1.1, shzoomy *= 1.5;
|
||||||
int rots2 = rots;
|
int rots2 = rots;
|
||||||
@ -527,9 +527,9 @@ void geometry_information::procedural_shapes() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bshape(shEgg, PPR::ITEM);
|
bshape(shEgg, PPR::ITEM);
|
||||||
|
|
||||||
RING(i)
|
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);
|
bshape(shRing, PPR::ITEM);
|
||||||
RING(i)
|
RING(i)
|
||||||
|
Loading…
Reference in New Issue
Block a user