mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 01:20:37 +00:00
don't show useless options in Conformal menu in non-hyperbolic
This commit is contained in:
parent
5b7314764f
commit
b2673ba0b3
@ -588,7 +588,7 @@ namespace conformal {
|
|||||||
dialog::addSelItem(XLAT("degree of the approximation"), its(polygonal::deg), 'n');
|
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(on) dialog::addSelItem(XLAT("animation speed"), fts(lvspeed), 'a');
|
||||||
|
|
||||||
#if CAP_SDL
|
#if CAP_SDL
|
||||||
@ -596,7 +596,7 @@ namespace conformal {
|
|||||||
if(autoband)
|
if(autoband)
|
||||||
dialog::addBoolItem(XLAT("include history when auto-rendering"), (autobandhistory), 'j');
|
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) {
|
if(renderable || autoband) {
|
||||||
dialog::addSelItem(XLAT("band width"), "2*"+its(bandhalf), 'd');
|
dialog::addSelItem(XLAT("band width"), "2*"+its(bandhalf), 'd');
|
||||||
dialog::addSelItem(XLAT("length of a segment"), its(bandsegment), 's');
|
dialog::addSelItem(XLAT("length of a segment"), its(bandsegment), 's');
|
||||||
|
Loading…
Reference in New Issue
Block a user