1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 06:03:23 +00:00

dont generate horos in hrmap_h3

This commit is contained in:
Zeno Rogue 2022-08-25 01:05:58 +02:00
parent ae0425038b
commit a439b16602
2 changed files with 6 additions and 1 deletions

View File

@ -1369,8 +1369,9 @@ 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(INVERSE) return false;
if(currentmap->strict_tree_rules()) return true;
if(reg3::in_hrmap_h3() && !PURE) return false;
return hyperbolic && !bt::in() && !arcm::in() && !kite::in() && !experimental && !hybri && !arb::in() && !quotient;
}

View File

@ -2485,6 +2485,10 @@ hrmap_h3* hypmap() {
return ((hrmap_h3*) currentmap);
}
EX bool in_hrmap_h3() {
return dynamic_cast<hrmap_h3*> (currentmap);
}
EX int quotient_count() {
return isize(hypmap()->quotient_map->allh);
}