1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-11 06:45:59 +00:00

fieldval_uniq moved to virtual method pattern_value

This commit is contained in:
Zeno Rogue
2024-10-11 12:31:34 +02:00
parent 2e2dc2aac0
commit 08d73c507f
9 changed files with 88 additions and 41 deletions

View File

@@ -1625,6 +1625,8 @@ struct hrmap_arbi : hrmap {
return id_of(c->master);
}
int pattern_value(cell *c) override { return id_of(c->master); }
hyperpoint get_corner(cell *c, int cid, ld cf) override {
auto& sh = arb::current_or_slided().shapes[arb::id_of(c->master)];
int id = gmod(cid, c->type);