1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-06 12:27:57 +00:00

moved genhoneycomb to rulegen3

This commit is contained in:
Zeno Rogue
2022-07-13 18:59:04 +02:00
parent 5ef8092af2
commit 94a243a825
3 changed files with 155 additions and 125 deletions

View File

@@ -2581,5 +2581,23 @@ EX void show() {
dialog::display();
}
#if CAP_COMMANDLINE
int readRuleArgs() {
using namespace arg;
if(0) ;
else if(argis("-ruleflag")) {
shift();
rulegen::flags ^= Flag(argi());
}
else return 1;
return 0;
}
auto hook = addHook(hooks_args, 100, readRuleArgs);
#endif
EX }
}