1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-29 21:13:00 +00:00

introduced rulegen.cpp which generates strict_tree_rules for arb

This commit is contained in:
Zeno Rogue
2021-07-29 14:07:30 +02:00
parent bb3fbc5256
commit c53270ca16
7 changed files with 1594 additions and 7 deletions

View File

@@ -3535,6 +3535,9 @@ EX bool placeSidewall(cell *c, int i, int sidepar, const shiftmatrix& V, color_t
if(arcm::in() && !PURE)
i = gmod(i + arcm::parent_index_of(c->master)/DUALMUL, c->type);
#endif
if(currentmap->strict_tree_rules()) {
i = rulegen::get_arb_dir(c, i);
}
draw_shapevec(c, V2, qfi.fshape->gpside[sidepar][i], col, prio);
return false;
}