mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-09-29 22:21:40 +00:00
hall ceiling fixup: disable in other models
This commit is contained in:
@@ -5074,7 +5074,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
|||||||
if(!wmblack) for(int d=0; d<c->type; d++) {
|
if(!wmblack) for(int d=0; d<c->type; d++) {
|
||||||
inmirrorcount+=d;
|
inmirrorcount+=d;
|
||||||
queuepolyat(V2 * spin(d*M_PI/S3), shHalfFloor[2], darkena(fcol, fd, 0xFF), PPR::FLOORa);
|
queuepolyat(V2 * spin(d*M_PI/S3), shHalfFloor[2], darkena(fcol, fd, 0xFF), PPR::FLOORa);
|
||||||
if(GDIM == 3 && camera_level > geom3::WALL)
|
if(GDIM == 3 && camera_level > geom3::WALL && pmodel == mdPerspective)
|
||||||
queuepolyat(V2 * spin(d*M_PI/S3), shHalfFloor[5], darkena(fcol, fd, 0xFF), PPR::FLOORa);
|
queuepolyat(V2 * spin(d*M_PI/S3), shHalfFloor[5], darkena(fcol, fd, 0xFF), PPR::FLOORa);
|
||||||
inmirrorcount-=d;
|
inmirrorcount-=d;
|
||||||
}
|
}
|
||||||
@@ -5096,11 +5096,11 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
|
|||||||
if(!wmblack) {
|
if(!wmblack) {
|
||||||
inmirrorcount++;
|
inmirrorcount++;
|
||||||
queuepolyat(mirrorif(V2, !onleft), shHalfFloor[ct6], darkena(fcol, fd, 0xFF), PPR::FLOORa);
|
queuepolyat(mirrorif(V2, !onleft), shHalfFloor[ct6], darkena(fcol, fd, 0xFF), PPR::FLOORa);
|
||||||
if(GDIM == 3 && camera_level > geom3::WALL)
|
if(GDIM == 3 && camera_level > geom3::WALL && pmodel == mdPerspective)
|
||||||
queuepolyat(mirrorif(V2, !onleft), shHalfFloor[ct6+3], darkena(fcol, fd, 0xFF), PPR::FLOORa);
|
queuepolyat(mirrorif(V2, !onleft), shHalfFloor[ct6+3], darkena(fcol, fd, 0xFF), PPR::FLOORa);
|
||||||
inmirrorcount--;
|
inmirrorcount--;
|
||||||
queuepolyat(mirrorif(V2, onleft), shHalfFloor[ct6], darkena(fcol, fd, 0xFF), PPR::FLOORa);
|
queuepolyat(mirrorif(V2, onleft), shHalfFloor[ct6], darkena(fcol, fd, 0xFF), PPR::FLOORa);
|
||||||
if(GDIM == 3 && camera_level > geom3::WALL)
|
if(GDIM == 3 && camera_level > geom3::WALL && pmodel == mdPerspective)
|
||||||
queuepolyat(mirrorif(V2, onleft), shHalfFloor[ct6+3], darkena(fcol, fd, 0xFF), PPR::FLOORa);
|
queuepolyat(mirrorif(V2, onleft), shHalfFloor[ct6+3], darkena(fcol, fd, 0xFF), PPR::FLOORa);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user