1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

crystal::get_dim()

This commit is contained in:
Zeno Rogue 2019-10-21 22:44:18 +02:00
parent bb7e96a3d0
commit 423a1fae39

View File

@ -605,6 +605,8 @@ EX heptagon *get_heptagon_at(coord c) { return crystal_map()->get_heptagon_at(c,
EX coord get_coord(heptagon *h) { return crystal_map()->hcoords[h]; } EX coord get_coord(heptagon *h) { return crystal_map()->hcoords[h]; }
EX ldcoord get_ldcoord(cell *c) { return crystal_map()->get_coord(c); } EX ldcoord get_ldcoord(cell *c) { return crystal_map()->get_coord(c); }
EX int get_dim() { retrun crystal_map()->cs.dim; }
#if MAXMDIM >= 4 #if MAXMDIM >= 4
EX transmatrix get_adj(heptagon *h, int d) { return crystal_map()->adj(h, d); } EX transmatrix get_adj(heptagon *h, int d) { return crystal_map()->adj(h, d); }
#endif #endif