1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-14 12:47:10 +00:00

rulegen:: generalize to work with other maps than arbi

This commit is contained in:
Zeno Rogue
2022-07-11 12:18:58 +02:00
parent fb9bf4263a
commit c775936970
2 changed files with 43 additions and 28 deletions

View File

@@ -74,6 +74,9 @@ public:
/** \brief the sequence of heptagon movement direction to get from c->master to c->move(i)->master; implemented only for reg3 */
virtual const vector<int>& get_move_seq(cell *c, int i);
/** generate a new map that is disconnected from what we already have, disconnected from the map we have so far */
virtual cell* gen_extra_origin(int fv) { throw hr_exception("gen_extra_origin not supported on this map"); }
};
/** hrmaps which are based on regular non-Euclidean 2D tilings, possibly quotient