mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-20 08:27:39 +00:00
introduced rulegen.cpp which generates strict_tree_rules for arb
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user