1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-11 18:00:34 +00:00

nilv:: get_heptagon_at

This commit is contained in:
Zeno Rogue 2020-02-13 11:09:27 +01:00
parent e133fffd5d
commit a241a3df61

View File

@ -955,6 +955,8 @@ EX namespace nilv {
EX mvec get_coord(heptagon *h) { return ((hrmap_nil*)currentmap)->coords[h]; }
EX heptagon *get_heptagon_at(mvec m) { return ((hrmap_nil*)currentmap)->get_at(m); }
EX void set_flags() {
int coords = 0;
for(int a=0; a<3; a++) if(nilperiod[a]) coords++;