1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

don't show useless options in Conformal menu in non-hyperbolic

This commit is contained in:
Zeno Rogue 2017-11-07 16:46:58 +01:00
parent 5b7314764f
commit b2673ba0b3

View File

@ -588,7 +588,7 @@ namespace conformal {
dialog::addSelItem(XLAT("degree of the approximation"), its(polygonal::deg), 'n');
}
dialog::addBoolItem(XLAT("prepare the line animation"), (on), 'e');
if(!bounded && !euclid) dialog::addBoolItem(XLAT("prepare the line animation"), (on), 'e');
if(on) dialog::addSelItem(XLAT("animation speed"), fts(lvspeed), 'a');
#if CAP_SDL
@ -596,7 +596,7 @@ namespace conformal {
if(autoband)
dialog::addBoolItem(XLAT("include history when auto-rendering"), (autobandhistory), 'j');
bool renderable = on && pmodel == 2;
bool renderable = on && pmodel == 2 && !euclid && !sphere;
if(renderable || autoband) {
dialog::addSelItem(XLAT("band width"), "2*"+its(bandhalf), 'd');
dialog::addSelItem(XLAT("length of a segment"), its(bandsegment), 's');