1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 18:07:41 +00:00

added missing CAP_COMMANDLINE guards, and other fixes for non-CAP_COMMANDLINE

This commit is contained in:
Zeno Rogue
2021-05-29 12:15:50 +02:00
parent 83070fe50c
commit 334bf12292
4 changed files with 9 additions and 5 deletions

View File

@@ -865,8 +865,10 @@ EX namespace bt {
ld co = vid.binary_width / log(2) / 8;
return point3(log(2) + log(-h[0]), h[1] / co, h[2] / co);
}
#if CAP_COMMANDLINE
auto bt_config = arg::add2("-btwidth", [] {arg::shift_arg_formula(vid.binary_width); });
#endif
EX bool pseudohept(cell *c) {
if(WDIM == 2)