mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-14 19:54:30 +00:00
arb/rulegen:: trees can now be defined in tes files
This commit is contained in:
1 parent
0559fce5fb
commit
fa03033c99
3 files changed
+65
-12
No files matched your search
@@ -68,7 +68,7 @@ struct hrmap_testproto : hrmap {
|
||||
}
|
||||
|
||||
transmatrix adj(heptagon *h, int dir) override {
|
||||
return arb::get_adj(arb::current_or_slided(), shvid(h->c7), dir, h->c.move(dir) ? h->c.spin(dir) : -1);
|
||||
return arb::get_adj(arb::current_or_slided(), shvid(h->c7), dir, -1, h->c.move(dir) ? h->c.spin(dir) : -1);
|
||||
}
|
||||
|
||||
int shvid(cell *c) override {
|
||||
|
||||
Reference in new issue
Block a user