1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-19 19:54:47 +00:00

more improvements to scaling in syntetic

This commit is contained in:
Zeno Rogue 2018-08-19 13:46:22 +02:00
parent 90b959c1d2
commit 29a9980fc3

View File

@ -1326,6 +1326,7 @@ usershape *usershapes[USERSHAPEGROUPS][USERSHAPEIDS];
void drawTentacle(hpcshape &h, ld rad, ld var, ld divby) {
double tlength = max(crossf, hexhexdist * gp::scale * irr::scale);
if(syntetic) tlength = synt::edgelength;
int max = int(20 * pow(2, vid.linequality));
for(ld i=0; i<=max; i++)
hpcpush(ddi(S21, rad + var * sin(i * M_PI/divby)) * ddi(0, tlength * i/max) * C0);
@ -1633,7 +1634,8 @@ void buildpolys() {
goldbf = 1;
scalef = synt::edgelength / hcrossf7;
floorrad0 = floorrad1 = triangleside * .45;
xcrossf = synt::edgelength * .4;
xcrossf = synt::edgelength;
zhexf = xcrossf * .55;
}
// sidewall parameters for the 3D mode