1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-28 11:00:34 +00:00

correct world sizes for rotspaces, also number of levels shown

This commit is contained in:
Zeno Rogue 2019-08-27 21:42:23 +02:00
parent 46dfd50a40
commit 88c1e0444b

View File

@ -567,6 +567,8 @@ EX void showEuclideanMenu() {
nom *= euler;
denom *= 2;
if(hybri && !prod) nom *= cgi.steps, denom *= cgi.single_step;
int g = gcd(nom, denom);
if(g) {
nom /= g;
@ -655,6 +657,9 @@ EX void showEuclideanMenu() {
dialog::editNumber(vid.plevel_factor, 0, 2, 0.1, 0.7, XLAT("Z-level height factor"), "");
});
}
else if(hybri) {
dialog::addSelItem(XLAT("number of levels"), its(cgi.steps / cgi.single_step), 0);
}
else if(ts == 6 && tv == 3)
dialog::addSelItem(XLAT("variations"), XLAT("does not matter"), 'v');
else if(binarytiling) {
@ -791,7 +796,7 @@ EX void showEuclideanMenu() {
binarytiling ? fts(8 * M_PI * sqrt(2) * log(2) / pow(vid.binary_width, WDIM-1), 4) + " exp(∞)" :
#endif
#if CAP_ARCM
archimedean ? arcm::current.world_size() :
archimedean && (WDIM == 2) ? arcm::current.world_size() :
(archimedean && sphere) ? its(isize(currentmap->allcells())) :
#endif
#if CAP_CRYSTAL