1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-14 01:16:50 +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
bool eoh = euclid || !BITRUNCATED;
if(c->wall == waChasm) {
if(c->wall == waChasm || chaosmode || c->land != laRose) {
zcol = 0;
int rd = rosedist(c);
if(rd == 1)
draw_floorshape(c, V, cgi.shRoseFloor, 0x80406020);
if(rd == 2)
draw_floorshape(c, V, cgi.shRoseFloor, 0x80406040);
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)
draw_floorshape(c, V, cgi.shRoseFloor, 0x80406020);
if(rd == 2)
draw_floorshape(c, V, cgi.shRoseFloor, 0x80406040);
}
if(c->land == laZebra) fd++;
if(c->land == laHalloween && !wmblack) {
transmatrix Vdepth = wmspatial ? mscale(V, cgi.BOTTOM) : V;