mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-09 01:44:08 +00:00
world size in new variations
This commit is contained in:
parent
7a9f6fa830
commit
f90cd66710
18
geom-exp.cpp
18
geom-exp.cpp
@ -620,11 +620,27 @@ EX void showEuclideanMenu() {
|
|||||||
int denom = (2*ts + 2*tv - ts * tv);
|
int denom = (2*ts + 2*tv - ts * tv);
|
||||||
|
|
||||||
#if CAP_GP
|
#if CAP_GP
|
||||||
if(GOLDBERG) {
|
|
||||||
ld area = PIU(cgi.gpdata->area);
|
ld area = PIU(cgi.gpdata->area);
|
||||||
|
|
||||||
|
if(GOLDBERG || WARPED) {
|
||||||
nom = 2 * (2*tv + (S3-2) * ts * (area-1));
|
nom = 2 * (2*tv + (S3-2) * ts * (area-1));
|
||||||
}
|
}
|
||||||
|
else if(UNRECTIFIED) {
|
||||||
|
if((gp::param.first + gp::param.second) % 2 == 0)
|
||||||
|
nom = ts * 2 * area;
|
||||||
|
else
|
||||||
|
nom = (2*tv + (S3-2) * ts * (area-1));
|
||||||
|
}
|
||||||
|
else if(UNTRUNCATED) {
|
||||||
|
if((gp::param.first - gp::param.second) % 3 == 0) {
|
||||||
|
nom = ts * 4 * area;
|
||||||
|
denom *= 3;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
nom = 2 * (2*tv + (S3-2) * ts * (area-1));
|
||||||
|
denom *= 3;
|
||||||
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int worldsize;
|
int worldsize;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user