1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-08 02:30:15 +00:00

on-demand building of plainshapes

This commit is contained in:
Zeno Rogue
2018-05-04 12:20:50 +02:00
parent abe16f6bd3
commit 1c07230f88
4 changed files with 98 additions and 56 deletions

View File

@@ -3218,11 +3218,11 @@ void placeSidewall(cell *c, int i, int sidepar, const transmatrix& V, bool warp,
flagtype f = qfi.shape->flags;
if(gp::on && !mirr) {
if((f & POLY_GP) && !mirr) {
if(f & POLY_FULL)
queuepolyat(V, shFullFloorSideGP[sidepar][DRAW_INDICES][i], col, prio);
queuepolyat(V, gp::get_plainshape().shFullFloorSide[sidepar][i], col, prio);
if(f & POLY_PLAIN)
queuepolyat(V, shFloorSideGP[sidepar][DRAW_INDICES][i], col, prio);
queuepolyat(V, gp::get_plainshape().shFloorSide[sidepar][i], col, prio);
return;
}