From 2dbfc6a4ec495879e10dc26adfe04bc784c46c23 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 31 Jan 2018 00:10:44 +0100 Subject: [PATCH] dont_face_pc commandline option --- commandline.cpp | 3 +++ graph.cpp | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/commandline.cpp b/commandline.cpp index 925fd57e..da6c51a8 100644 --- a/commandline.cpp +++ b/commandline.cpp @@ -155,6 +155,9 @@ int arg::readCommon() { printf("m = %s q = %d\n", dnameof(m), q); restoreGolems(q, m, 7); } + else if(argis("-dont_face_pc")) { + dont_face_pc = true; + } else if(argis("-MK")) { PHASE(3) cheater++; timerghost = false; shift(); eMonster m = readMonster(args()); diff --git a/graph.cpp b/graph.cpp index 9409fe1b..b7cf8d99 100644 --- a/graph.cpp +++ b/graph.cpp @@ -1802,6 +1802,8 @@ void drawWormSegments() { last_wormsegment = -1; } +bool dont_face_pc = false; + bool drawMonster(const transmatrix& Vparam, int ct, cell *c, int col) { bool darkhistory = conformal::includeHistory && eq(c->aitmp, sval); @@ -2095,7 +2097,7 @@ bool drawMonster(const transmatrix& Vparam, int ct, cell *c, int col) { // also whatever in the lineview mode, and whatever in the quotient geometry else if(isFriendly(c) || isBug(c) || (c->monst && conformal::on) || c->monst == moKrakenH || (isBull(c->monst) && c->mondir != NODIR) || c->monst == moButterfly || isMagneticPole(c->monst) || - isSwitch(c->monst) || c->monst == moPair || (c->monst && (quotient || torus))) { + isSwitch(c->monst) || c->monst == moPair || (c->monst && (quotient || torus || dont_face_pc))) { if(c->monst == moKrakenH) Vs = Vb, nospins = nospinb; if(!nospins) Vs = Vs * ddspin(c, c->mondir, S42); if(c->monst == moPair) Vs = Vs * xpush(-.12);