1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-31 15:00:17 +00:00

simplified ddspin/iddspin/cellgfxdist, replaced cellrelmatrix with adj/iadj

This commit is contained in:
Zeno Rogue
2019-11-14 00:27:59 +01:00
parent ef9e2236ba
commit 109dd9823c
6 changed files with 48 additions and 35 deletions

View File

@@ -34,6 +34,8 @@ struct hrmap {
virtual struct transmatrix relative_matrix(cell *c2, cell *c1, const struct hyperpoint& point_hint) {
return relative_matrix(c2->master, c1->master);
}
virtual struct transmatrix adj(cell *c, int i);
virtual struct transmatrix iadj(cell *c, int i) { return adj(c->cmove(i), c->c.spin(i)); }
virtual void draw() {
printf("undrawable\n");
}