1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-05 13:46:17 +00:00

more visible rose waves

This commit is contained in:
Zeno Rogue 2019-06-01 20:19:35 +02:00
parent d235540647
commit a848617991

View File

@ -5245,13 +5245,21 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
// floor // floor
bool eoh = euclid || !BITRUNCATED; bool eoh = euclid || !BITRUNCATED;
if(c->wall == waChasm) { if(c->wall == waChasm || chaosmode || c->land != laRose) {
zcol = 0; zcol = 0;
int rd = rosedist(c); int rd = rosedist(c);
if(chaosmode || c->land != laRose) {
if(rd == 1)
draw_floorshape(c, mmscale(V, cgi.SLEV[2]), cgi.shRoseFloor, 0x80406040, PPR::LIZEYE);
if(rd == 2)
draw_floorshape(c, mmscale(V, cgi.SLEV[2]), cgi.shRoseFloor, 0x80406080, PPR::LIZEYE);
}
else {
if(rd == 1) if(rd == 1)
draw_floorshape(c, V, cgi.shRoseFloor, 0x80406020); draw_floorshape(c, V, cgi.shRoseFloor, 0x80406020);
if(rd == 2) if(rd == 2)
draw_floorshape(c, V, cgi.shRoseFloor, 0x80406040); draw_floorshape(c, V, cgi.shRoseFloor, 0x80406040);
}
if(c->land == laZebra) fd++; if(c->land == laZebra) fd++;
if(c->land == laHalloween && !wmblack) { if(c->land == laHalloween && !wmblack) {
transmatrix Vdepth = wmspatial ? mscale(V, cgi.BOTTOM) : V; transmatrix Vdepth = wmspatial ? mscale(V, cgi.BOTTOM) : V;