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:
parent
d235540647
commit
a848617991
10
graph.cpp
10
graph.cpp
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user