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

fake:: works with coxeter

This commit is contained in:
Zeno Rogue
2021-07-13 02:34:24 +02:00
parent 3560bcc3db
commit 81ea3d75f5
3 changed files with 31 additions and 9 deletions

View File

@@ -717,6 +717,11 @@ EX namespace reg3 {
int id = local_id.at(cw.at).first;
return cellwalker(cw.at->cmove(j), strafe_data[id][j][cw.spin]);
}
const vector<int>& get_move_seq(cell *c, int i) override {
int id = local_id.at(c).first;
return move_sequences[id][i];
}
};
struct hrmap_quotient3 : hrmap_closed3 { };
@@ -2022,6 +2027,11 @@ EX namespace reg3 {
if(PURE && res1 != res2) println(hlog, "h3: ", res1, " vs ", res2);
return res2;
}
const vector<int>& get_move_seq(cell *c, int i) override {
int aid = cell_id.at(c);
return quotient_map->get_move_seq(quotient_map->acells[aid], i);
}
};
struct hrmap_h3_rule_alt : hrmap {