Searched refs:yincr (Results 1 – 1 of 1) sorted by relevance
163 static int yincr[8] = { 0, 1, 1, 1, 0, -1, -1, -1 }; variable347 int newy = ss->y + l * yincr[ss->dir]; in placeship()692 yend = y + yincr[i]; in collidecheck()708 yend = ss->y + (ss->length - 1) * yincr[ss->dir]; in checkplace()729 if(collidecheck(b, ss->y+l*yincr[ss->dir], ss->x+l*xincr[ss->dir])) in checkplace()793 int by = ss->y + j * yincr[(ss->dir + 2) % 8]; in hitship()800 y1 = by + i * yincr[ss->dir]; in hitship()819 int y1 = ss->y + i * yincr[ss->dir]; in hitship()936 y1 = y + yincr[direction]; in cpushipcanfit()941 y1 += yincr[direction]; in cpushipcanfit()[all …]