mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
configurable -btwidth via commandline
This commit is contained in:
parent
3081773f86
commit
fc06397ccc
@ -203,5 +203,16 @@ namespace binary {
|
|||||||
}
|
}
|
||||||
return gm * where;
|
return gm * where;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto bt_config = addHook(hooks_args, 0, [] () {
|
||||||
|
using namespace arg;
|
||||||
|
if(argis("-btwidth")) {
|
||||||
|
shift(); vid.binary_width = argf();
|
||||||
|
need_reset_geometry = true;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return 1;
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user