mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
fixed rose
This commit is contained in:
parent
8a1ca8e05d
commit
101707e2ad
18
graph.cpp
18
graph.cpp
@ -5245,16 +5245,18 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
|||||||
// floor
|
// floor
|
||||||
bool eoh = euclid || !BITRUNCATED;
|
bool eoh = euclid || !BITRUNCATED;
|
||||||
|
|
||||||
if(c->wall == waChasm || chaosmode || c->land != laRose) {
|
if(DIM == 2 && (c->land != laRose || chaosmode)) {
|
||||||
|
int rd = rosedist(c);
|
||||||
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(c->wall == waChasm) {
|
||||||
zcol = 0;
|
zcol = 0;
|
||||||
int rd = rosedist(c);
|
int rd = rosedist(c);
|
||||||
if(chaosmode || c->land != laRose) {
|
if(DIM == 2) {
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user