1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-25 20:33:32 +00:00

renamed mdSolPerspective to mdGeodesic

This commit is contained in:
Zeno Rogue
2019-08-06 16:48:01 +02:00
parent 4f27b12ca2
commit 9350053c49
7 changed files with 16 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ int detaillevel = 0;
bool first_cell_to_draw = true;
bool in_perspective() {
return among(pmodel, mdPerspective, mdSolPerspective);
return among(pmodel, mdPerspective, mdGeodesic);
}
bool hide_player() {
@@ -5057,7 +5057,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
}
noclipped++;
}
if(pmodel == mdSolPerspective) {
if(pmodel == mdGeodesic) {
using namespace hyperpoint_vec;
hyperpoint H = tC0(V);
if(abs(H[0]) <= 2 && abs(H[1]) <= 2 && abs(H[2]) <= 2) ;
@@ -6042,7 +6042,7 @@ void drawcell(cell *c, transmatrix V, int spinv, bool mirrored) {
firelimit++;
}
else if(c->wall == waMineOpen) {
if(pmodel == mdSolPerspective && hdist0(tC0(V)) < 1e-3) {
if(pmodel == mdGeodesic && hdist0(tC0(V)) < 1e-3) {
}
else {
int mines = countMinesAround(c);