1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

auto-disabling of Escher if it does not look well

This commit is contained in:
Zeno Rogue 2018-05-04 12:50:04 +02:00
parent e3c3a4202e
commit 447470814f
2 changed files with 3 additions and 1 deletions

View File

@ -470,7 +470,6 @@ namespace gp {
area = ((2*x+y) * (2*x+y) + y*y*3) / 4;
next = hpxyz(x+y/2., -y * sqrt(3) / 2, 0);
scale = 1 / hypot2(next);
if(sphere) scale *= .7;
crossf *= scale;
hepvdist *= scale;
rhexf *= scale;

View File

@ -5276,6 +5276,9 @@ void drawthemap() {
wmascii = vid.wallmode == 0;
wmblack = vid.wallmode == 1;
if(wmescher && gp::on && S7 == 4 && gp::scale < .3)
wmescher = false, wmplain = true;
mmitem = vid.monmode >= 1;
mmmon = vid.monmode >= 2;
mmhigh = vid.monmode == 3 || vid.monmode == 5;