mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-17 11:30:09 +00:00
dont_face_pc commandline option
This commit is contained in:
parent
afdca24041
commit
2dbfc6a4ec
@ -155,6 +155,9 @@ int arg::readCommon() {
|
|||||||
printf("m = %s q = %d\n", dnameof(m), q);
|
printf("m = %s q = %d\n", dnameof(m), q);
|
||||||
restoreGolems(q, m, 7);
|
restoreGolems(q, m, 7);
|
||||||
}
|
}
|
||||||
|
else if(argis("-dont_face_pc")) {
|
||||||
|
dont_face_pc = true;
|
||||||
|
}
|
||||||
else if(argis("-MK")) {
|
else if(argis("-MK")) {
|
||||||
PHASE(3) cheater++; timerghost = false;
|
PHASE(3) cheater++; timerghost = false;
|
||||||
shift(); eMonster m = readMonster(args());
|
shift(); eMonster m = readMonster(args());
|
||||||
|
@ -1802,6 +1802,8 @@ void drawWormSegments() {
|
|||||||
last_wormsegment = -1;
|
last_wormsegment = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool dont_face_pc = false;
|
||||||
|
|
||||||
bool drawMonster(const transmatrix& Vparam, int ct, cell *c, int col) {
|
bool drawMonster(const transmatrix& Vparam, int ct, cell *c, int col) {
|
||||||
|
|
||||||
bool darkhistory = conformal::includeHistory && eq(c->aitmp, sval);
|
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
|
// 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) ||
|
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(c->monst == moKrakenH) Vs = Vb, nospins = nospinb;
|
||||||
if(!nospins) Vs = Vs * ddspin(c, c->mondir, S42);
|
if(!nospins) Vs = Vs * ddspin(c, c->mondir, S42);
|
||||||
if(c->monst == moPair) Vs = Vs * xpush(-.12);
|
if(c->monst == moPair) Vs = Vs * xpush(-.12);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user