mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 18:30:34 +00:00
2d3d:: trap markers
This commit is contained in:
parent
5de099e921
commit
be032e0f03
@ -5269,7 +5269,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
|||||||
|
|
||||||
case waArrowTrap:
|
case waArrowTrap:
|
||||||
if(c->wparam >= 1)
|
if(c->wparam >= 1)
|
||||||
queuepoly(V, shDisk, darkena(trapcol[c->wparam&3], 0, 0xFF));
|
queuepoly(mscale(V, geom3::FLOOR), shDisk, darkena(trapcol[c->wparam&3], 0, 0xFF));
|
||||||
if(isCentralTrap(c)) arrowtraps.push_back(c);
|
if(isCentralTrap(c)) arrowtraps.push_back(c);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -5277,7 +5277,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
|||||||
draw_floorshape(c, V, shMFloor, darkena(0xC00000, 0, 0xFF));
|
draw_floorshape(c, V, shMFloor, darkena(0xC00000, 0, 0xFF));
|
||||||
draw_floorshape(c, V, shMFloor2, darkena(0x600000, 0, 0xFF));
|
draw_floorshape(c, V, shMFloor2, darkena(0x600000, 0, 0xFF));
|
||||||
if(c->wparam >= 1)
|
if(c->wparam >= 1)
|
||||||
queuepoly(V, shDisk, darkena(trapcol[c->wparam&3], 0, 0xFF));
|
queuepoly(mscale(V, geom3::FLOOR), shDisk, darkena(trapcol[c->wparam&3], 0, 0xFF));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case waGiantRug:
|
case waGiantRug:
|
||||||
|
Loading…
Reference in New Issue
Block a user