1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-24 06:26:02 +00:00

reg3:: hrmap_reg3_rule (alt not working correctly yet)

This commit is contained in:
Zeno Rogue
2020-01-26 01:23:10 +01:00
parent 891fd3b0aa
commit 00262e8f6a
7 changed files with 235 additions and 2 deletions

View File

@@ -145,7 +145,11 @@ EX cell *newCell(int type, heptagon *master) {
EX hrmap *currentmap;
EX vector<hrmap*> allmaps;
EX hrmap *newAltMap(heptagon *o) { return new hrmap_hyperbolic(o); }
EX hrmap *newAltMap(heptagon *o) {
if(reg3::geometry_has_tree_structure())
return reg3::new_alt_map(o);
return new hrmap_hyperbolic(o);
}
// --- hyperbolic geometry ---
EX heptagon* hyperbolic_origin() {