Home
last modified time | relevance | path

Searched refs:xincr (Results 1 – 1 of 1) sorted by relevance

/dragonfly/games/bs/
H A Dbs.c87 static int xincr[8] = {1, 1, 0, -1, -1, -1, 0, 1}; variable
276 int newx = ss->x + l * xincr[ss->dir]; in placeship()
608 xend = x + xincr[i]; in collidecheck()
703 int bx = ss->x + j * xincr[(ss->dir + 2) % 8]; in hitship()
709 cx = bx + i * xincr[ss->dir]; in hitship()
732 int dx = ss->x + i * xincr[ss->dir]; in hitship()
977 x = ts.x + xincr[d*2]; y = ts.y + yincr[d*2]; in cputurn()
994 x = ts.x + xincr[d*2]; in cputurn()
1010 x = ts.x + xincr[ts.dir]; in cputurn()
1023 x = ts.x + ts.hits * xincr[d]; in cputurn()
[all …]