mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-25 02:47:40 +00:00
changed chamfered to bitruncated
This commit is contained in:
12
game.cpp
12
game.cpp
@@ -2136,7 +2136,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 && !nonchamfered) for(int j=0; j<c2->type; j++)
|
||||
if(c2 && !nonbitrunc) for(int j=0; j<c2->type; j++)
|
||||
if(c2->mov[j] && c2->mov[j]->item == itCompass)
|
||||
toomany = true;
|
||||
}
|
||||
@@ -2684,7 +2684,7 @@ void buildRosemap() {
|
||||
|
||||
}
|
||||
|
||||
int getDistLimit() { return ginf[geometry].distlimit[nonchamfered]; }
|
||||
int getDistLimit() { return ginf[geometry].distlimit[nonbitrunc]; }
|
||||
|
||||
bool nogoSlow(cell *to, cell *from) {
|
||||
if(cellEdgeUnstable(to) && gravityLevel(to) >= gravityLevel(from)) return true;
|
||||
@@ -3084,7 +3084,7 @@ void toggleGates(cell *ct, eWall type, int rad) {
|
||||
void toggleGates(cell *ct, eWall type) {
|
||||
playSound(ct, "click");
|
||||
numgates = 0;
|
||||
if(type == waClosePlate && nonchamfered)
|
||||
if(type == waClosePlate && nonbitrunc)
|
||||
toggleGates(ct, type, 2);
|
||||
else
|
||||
toggleGates(ct, type, 3);
|
||||
@@ -6786,11 +6786,11 @@ ld circlesizeD[10000];
|
||||
int lastsize;
|
||||
|
||||
void computeSizes() {
|
||||
lastsize = nonchamfered ? 44 : 76;
|
||||
lastsize = nonbitrunc ? 44 : 76;
|
||||
|
||||
circlesize[0] = 1;
|
||||
|
||||
if(!nonchamfered) {
|
||||
if(!nonbitrunc) {
|
||||
circlesize[1] = 1*7;
|
||||
circlesize[2] = 2*7;
|
||||
circlesize[3] = 4*7;
|
||||
@@ -7542,7 +7542,7 @@ bool movepcto(int d, int subdir, bool checkonly) {
|
||||
if(checkonly) return false;
|
||||
if(nonAdjacent(cwt.c,c2))
|
||||
addMessage(XLAT(
|
||||
nonchamfered ?
|
||||
nonbitrunc ?
|
||||
"You cannot move between the cells without dots here!" :
|
||||
"You cannot move between the triangular cells here!"
|
||||
));
|
||||
|
||||
Reference in New Issue
Block a user