From 85d5ca04cf211566f37f6b5e4f27a4037a3b0a9a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 10 Apr 2018 08:01:39 +0200 Subject: [PATCH] fixed Lost Mountain on spheres --- bigstuff.cpp | 2 +- graph.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bigstuff.cpp b/bigstuff.cpp index ff55e758..212102b5 100644 --- a/bigstuff.cpp +++ b/bigstuff.cpp @@ -740,7 +740,7 @@ void setLandSphere(cell *c) { if(specialland == laCrossroads3 && c->type != 6 && c->master->fiftyval == 1) c->wall = waBigTree; } - if(specialland == laIvoryTower || specialland == laEndorian || specialland == laDungeon || specialland == laOcean) { + if(specialland == laIvoryTower || specialland == laEndorian || specialland == laDungeon || specialland == laOcean || specialland == laMountain) { int d = celldist(c); if(d <= 0) c->land = laCrossroads4; diff --git a/graph.cpp b/graph.cpp index 16da2ac1..785317fc 100644 --- a/graph.cpp +++ b/graph.cpp @@ -2716,7 +2716,7 @@ void setcolors(cell *c, int& wcol, int &fcol) { fcol = gradient(0x008000, 0x800000, 0, c->landparam, 10); break; case laMountain: - if(euclid || c->master->alt) + if(euclid || sphere || c->master->alt) fcol = celldistAlt(c) & 1 ? 0x604020 : 0x302010; else fcol = 0; if(c->wall == waPlatform) wcol = 0xF0F0A0; @@ -4833,7 +4833,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) { int prec = sphere ? 3 : 1; if(gp::on) { - vid.linewidth *= gp::scale; + vid.linewidth *= gp::scale * 2; if(isWarped(c) && has_nice_dual()) { if(pseudohept(c)) for(int t=0; ttype; t++) queueline(V * gp::get_corner_position(c, t%c->type, 2), @@ -4845,7 +4845,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) { queueline(V * gp::get_corner_position(c, t), V * gp::get_corner_position(c, (t+1)%c->type), gridcolor(c, c->mov[t]), prec); - vid.linewidth /= gp::scale; + vid.linewidth /= gp::scale * 2; } else if(nonbitrunc) { double x = hcrossf;