introduced rulegen.cpp which generates strict_tree_rules for arb

This commit is contained in:
Zeno Rogue committed 2021-07-31 15:13:44 +02:00
1 parent bb3fbc5256
commit c53270ca16
7 files changed
+1594 -7

No files matched your search

+2 -2
View File
@@ -140,6 +140,7 @@ EX bool grailWasFound(cell *c) {
}
EX int default_levs() {
if(arb::in()) return 2;
if(IRREGULAR)
return 1;
if(S3 >= OINF)
@@ -1376,7 +1377,7 @@ EX int wallchance(cell *c, bool deepOcean) {
/** \brief should we generate the horocycles in the current geometry? */
EX bool horo_ok() {
if(INVERSE) return false;
if(currentmap->strict_tree_rules()) return false;
if(currentmap->strict_tree_rules()) return true;
return hyperbolic && !bt::in() && !arcm::in() && !kite::in() && !experimental && !hybri && !arb::in() && !quotient;
}
@@ -1931,7 +1932,6 @@ EX void gen_temple(cell *c) {
}
EX void moreBigStuff(cell *c) {
if(currentmap->strict_tree_rules()) return;
if((bearsCamelot(c->land) && !euclid && !quotient && !nil) || c->land == laCamelot)
if(have_alt(c)) if(!(bt::in() && specialland != laCamelot))