1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 01:50:36 +00:00

hat:: disable horo and use clueless just in case

This commit is contained in:
Zeno Rogue 2023-03-24 23:19:53 +01:00
parent 9fa2ba72fe
commit fa9365466c
2 changed files with 2 additions and 0 deletions

View File

@ -1370,6 +1370,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(hat::in()) return false;
if(currentmap->strict_tree_rules()) return true;
if(reg3::in_hrmap_h3() && !PURE) return false;
return mhyperbolic && !bt::in() && !arcm::in() && !kite::in() && !experimental && !mhybrid && !arb::in() && !quotient;

View File

@ -598,6 +598,7 @@ EX int celldist(cell *c) {
if(mhybrid)
return hybrid::celldistance(c, currentmap->gamestart());
if(nil && !quotient) return DISTANCE_UNKNOWN;
if(hat::in()) return clueless_celldistance(currentmap->gamestart(), c);
if(euc::in()) return celldistance(currentmap->gamestart(), c);
if(sphere || bt::in() || WDIM == 3 || cryst || sn::in() || aperiodic || closed_manifold) return celldistance(currentmap->gamestart(), c);
#if CAP_IRR