1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-19 21:53:04 +00:00

rulegen:: used EX

This commit is contained in:
Zeno Rogue 2021-11-01 17:18:06 +01:00
parent 045dc90378
commit 78d33ec573

View File

@ -161,9 +161,6 @@ twalker addstep(twalker x) {
return x + wstep;
}
void connect_and_check(twalker p1, twalker p2);
void unify(twalker pw1, twalker pw2);
tcell *gen_tcell(int id) {
int d = isize(arb::current.shapes[id].connections);
auto c = tailored_alloc<tcell> (d);
@ -250,7 +247,7 @@ void check_loops(twalker pw) {
}
}
void connect_and_check(twalker p1, twalker p2) {
EX void connect_and_check(twalker p1, twalker p2) {
ufind(p1); ufind(p2);
p1.at->c.connect(p1.spin, p2.at, p2.spin, false);
fix_queue.push([=] { check_loops(p1); });