1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-02 05:11:22 +00:00

inforder basics

This commit is contained in:
Zeno Rogue
2019-10-10 13:08:06 +02:00
parent e799f76e5d
commit b5f6e6f3f5
10 changed files with 66 additions and 5 deletions

View File

@@ -257,6 +257,7 @@ EX void initcells() {
#if CAP_BT
else if(binarytiling) currentmap = binary::new_map();
#endif
else if(S3 >= OINF) currentmap = inforder::new_map();
else currentmap = new hrmap_hyperbolic;
allmaps.push_back(currentmap);
@@ -1034,6 +1035,8 @@ EX int celldistance(cell *c1, cell *c2) {
return DISTANCE_UNKNOWN;
}
if(S3 >= OINF) return inforder::celldistance(c1, c2);
#if CAP_BT && MAXMDIM >= 4
if(binarytiling && WDIM == 3)