mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-20 03:49:43 +00:00
renamed 'truncated' to 'chamfered'
This commit is contained in:
12
game.cpp
12
game.cpp
@@ -2129,7 +2129,7 @@ void killMonster(cell *c, eMonster who, flagtype deathflags) {
|
||||
for(int i=0; i<c->type; i++) {
|
||||
cell *c2 = c->mov[i];
|
||||
if(c2 && c2->item == itCompass) toomany = true;
|
||||
if(c2 && !nontruncated) for(int j=0; j<c2->type; j++)
|
||||
if(c2 && !nonchamfered) for(int j=0; j<c2->type; j++)
|
||||
if(c2->mov[j] && c2->mov[j]->item == itCompass)
|
||||
toomany = true;
|
||||
}
|
||||
@@ -2677,7 +2677,7 @@ void buildRosemap() {
|
||||
|
||||
}
|
||||
|
||||
int getDistLimit() { return ginf[geometry].distlimit[nontruncated]; }
|
||||
int getDistLimit() { return ginf[geometry].distlimit[nonchamfered]; }
|
||||
|
||||
bool nogoSlow(cell *to, cell *from) {
|
||||
if(cellEdgeUnstable(to) && gravityLevel(to) >= gravityLevel(from)) return true;
|
||||
@@ -3077,7 +3077,7 @@ void toggleGates(cell *ct, eWall type, int rad) {
|
||||
void toggleGates(cell *ct, eWall type) {
|
||||
playSound(ct, "click");
|
||||
numgates = 0;
|
||||
if(type == waClosePlate && nontruncated)
|
||||
if(type == waClosePlate && nonchamfered)
|
||||
toggleGates(ct, type, 2);
|
||||
else
|
||||
toggleGates(ct, type, 3);
|
||||
@@ -6771,11 +6771,11 @@ ld circlesizeD[10000];
|
||||
int lastsize;
|
||||
|
||||
void computeSizes() {
|
||||
lastsize = nontruncated ? 44 : 76;
|
||||
lastsize = nonchamfered ? 44 : 76;
|
||||
|
||||
circlesize[0] = 1;
|
||||
|
||||
if(!nontruncated) {
|
||||
if(!nonchamfered) {
|
||||
circlesize[1] = 1*7;
|
||||
circlesize[2] = 2*7;
|
||||
circlesize[3] = 4*7;
|
||||
@@ -7523,7 +7523,7 @@ bool movepcto(int d, int subdir, bool checkonly) {
|
||||
if(checkonly) return false;
|
||||
if(nonAdjacent(cwt.c,c2))
|
||||
addMessage(XLAT(
|
||||
nontruncated ?
|
||||
nonchamfered ?
|
||||
"You cannot move between the cells without dots here!" :
|
||||
"You cannot move between the triangular cells here!"
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user