1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-23 15:36:59 +00:00

we can show a bit more in Rogueviz web

This commit is contained in:
Zeno Rogue 2018-09-05 03:51:42 +02:00
parent 2938ea20d0
commit 52d188ac5e

View File

@ -1126,9 +1126,14 @@ bool drawVertex(const transmatrix &V, cell *c, shmup::monster *m) {
} }
if(hilite || hiliteclick) alpha = (alpha + 256) / 2; if(hilite || hiliteclick) alpha = (alpha + 256) / 2;
if((svg::in || ISWEB) && alpha < 16) continue; if(svg::in && alpha < 16) continue;
if(ISWEB) alpha |= 15; if(ISWEB) {
if(alpha >= 128) alpha |= 15;
else if(alpha >= 64) alpha |= 7;
else if(alpha >= 32) alpha |= 3;
else if(alpha >= 16) alpha |= 1;
}
transmatrix gm1 = transmatrix gm1 =
multidraw ? V * memo_relative_matrix(vd1.m->base, c) : multidraw ? V * memo_relative_matrix(vd1.m->base, c) :