From 304e9373a93418c1df83df4bb6a8e2d308380514 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 4 Dec 2018 02:44:50 +0100 Subject: [PATCH] east values now shown only with -ceast --- crystal.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crystal.cpp b/crystal.cpp index 85d0db05..c9a05ee2 100644 --- a/crystal.cpp +++ b/crystal.cpp @@ -20,6 +20,7 @@ bool pure() { } bool view_coordinates = false; +bool view_east = false; const int MAXDIM = 7; @@ -510,7 +511,7 @@ bool crystal_cell(cell *c, transmatrix V) { if(geometry != gCrystal) return false; - if(view_coordinates && cheater) { + if(view_east && cheater) { int d = dist_alt(c); queuestr(V, 0.3, its(d), 0xFFFFFF, 1); } @@ -959,6 +960,9 @@ int readArgs() { else if(argis("-cview")) { view_coordinates = true; } + else if(argis("-ceast")) { + view_east = true; + } else if(argis("-cprob")) { PHASEFROM(2); shift_arg_formula(compass_probability); }