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:
18
rulegen.cpp
18
rulegen.cpp
@@ -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 }
|
||||
}
|
||||
|
Reference in New Issue
Block a user