1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-23 17:41:21 +00:00

rogueviz:: remove visible_from_help, it just displays a list

This commit is contained in:
Zeno Rogue
2022-11-13 13:39:28 +01:00
parent 06523e063e
commit b7aae63b90
3 changed files with 29 additions and 29 deletions

View File

@@ -1163,12 +1163,13 @@ int readArgs() {
if(0) ;
else if(argis("-sagmin")) {
shift_arg_formula(default_edgetype.visible_from);
default_edgetype.visible_from_hi = default_edgetype.visible_from;
default_edgetype.visible_from_help = default_edgetype.visible_from;
auto& ed = sag_edge ? *sag_edge : default_edgetype;
shift_arg_formula(ed.visible_from);
ed.visible_from_hi = ed.visible_from;
}
else if(argis("-sagminhi")) {
shift_arg_formula(default_edgetype.visible_from_hi);
auto& ed = sag_edge ? *sag_edge : default_edgetype;
shift_arg_formula(ed.visible_from_hi);
}
else if(argis("-sag_gdist")) {
shift(); sag::gdist_prec = argi();
@@ -1213,9 +1214,6 @@ int readArgs() {
if(method == smMatch) prepare_graph();
}
else if(argis("-sagminhelp")) {
shift_arg_formula(default_edgetype.visible_from_help);
}
else if(argis("-sagformat")) {
shift(); informat = argi();
}