1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-21 21:42:07 +00:00

rewritten shvid using OOP

This commit is contained in:
Zeno Rogue
2021-06-12 23:34:50 +02:00
parent 8d18946450
commit 42fc2c44a7
8 changed files with 44 additions and 27 deletions
+4
View File
@@ -801,6 +801,10 @@ struct hrmap_arbi : hrmap {
transmatrix adj(cell *c, int dir) override { return adj(c->master, dir); }
ld spin_angle(cell *c, int d) override { return SPIN_NOT_AVAILABLE; }
int shvid(cell *c) override {
return id_of(c->master);
}
};
EX hrmap *new_map() { return new hrmap_arbi; }