1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 02:07:57 +00:00

rulegen:: numerical-fix, known-structure and known-distances

This commit is contained in:
Zeno Rogue
2021-11-01 17:24:54 +01:00
parent e36a8970f4
commit 78298432da
2 changed files with 128 additions and 5 deletions

View File

@@ -7,6 +7,8 @@
namespace hr {
namespace rulegen {
EX flagtype sub_rulegen_flags;
string testroot = "devmods/rulegen-tests/";
string testdir = testroot;
@@ -937,6 +939,9 @@ int testargs() {
shift();
rulegen::flags ^= Flag(argi());
}
else if(argis("-ruleflag-sub")) {
swap(rulegen::flags, sub_rulegen_flags);
}
else if(argis("-view-debug"))
view_debug();
else if(argis("-print-rules"))