1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 06:16:00 +00:00

An option to play on a disk (and use bounded space rules). Also renamed 'bounded' flag to 'closed' or similar, and improved Halloween

This commit is contained in:
Zeno Rogue
2022-05-21 13:08:42 +02:00
parent 9bc0623022
commit 793148729b
40 changed files with 218 additions and 171 deletions

View File

@@ -139,7 +139,7 @@ transmatrix hrmap_standard::relative_matrixh(heptagon *h2, heptagon *h1, const h
steps++; if(steps > 10000) {
println(hlog, "not found"); return Id;
}
if(bounded) {
if(closed_manifold) {
transmatrix T;
ld bestdist = 1e9;
for(int d=0; d<S7; d++) {
@@ -817,7 +817,7 @@ EX bool exhaustive_distance_appropriate() {
if(asonov::in() && asonov::period_xy && asonov::period_xy <= 256) return true;
#endif
if(bounded) return true;
if(closed_manifold) return true;
return false;
}