Home
last modified time | relevance | path

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

/netbsd-src/games/trek/
H A Dmove.c136 Sect[Ship.sectx][Ship.secty] = EMPTY; in move()
137 x = Ship.sectx + 0.5; in move()
158 dx = Ship.quadx * NSECTS + Ship.sectx + dx * xn; in move()
172 Ship.sectx = x; in move()
180 Ship.sectx = ix % NSECTS; in move()
217 dx = Ship.sectx - ix; in move()
225 Ship.sectx = ix; in move()
228 Sect[Ship.sectx][Ship.secty] = Ship.ship; in move()
H A Dabandon.c141 Sect[Ship.sectx][Ship.secty] = EMPTY; in abandon()
143 Ship.sectx = Etc.starbase.x + ranf(3) - 1; in abandon()
144 if (Ship.sectx < 0 || Ship.sectx >= NSECTS) in abandon()
149 if (Sect[Ship.sectx][Ship.secty] == EMPTY) { in abandon()
150 Sect[Ship.sectx][Ship.secty] = QUEENE; in abandon()
H A Dvisual.c82 ix = Ship.sectx + v->x; in visual()
90 ix = Ship.sectx + v->x; in visual()
98 ix = Ship.sectx + v->x; in visual()
H A Ddock.c73 for (i = Ship.sectx - 1; i <= Ship.sectx + 1 && !ok; i++) { in dock()
H A Dhelp.c126 Sect[Ship.sectx][Ship.secty] = EMPTY; in help()
151 Ship.sectx = dx; in help()
H A Dcomputer.c214 Ship.quadx, Ship.quady, Ship.sectx, Ship.secty, in computer()
325 dx = (Ship.quadx + Ship.sectx / quadsize) - (tqx + tsx / quadsize); in kalc()
H A Dphaser.c226 dx = Ship.sectx - k->x; in phaser()
328 dx = Ship.sectx - k->x; in phaser()
H A Ddumpme.c67 Ship.sectx = ranf(NSECTS); in dumpme()
H A Dcompkl.c70 dx = Ship.sectx - Etc.klingon[i].x; in compkldist()
H A Dsnova.c112 dx = ix - Ship.sectx; in snova()
H A Dinitquad.c94 Sect[Ship.sectx][Ship.secty] = Ship.ship; in initquad()
H A Dsrscan.c124 Ship.quady, Ship.sectx, Ship.secty); in srscan()
H A Dtorped.c143 x = Ship.sectx + 0.5; in torped()
H A Dklmove.c96 dx = Ship.sectx - k->x + ranf(3) - 1; in klmove()
H A Dtrek.h231 int sectx; /* sector x coord */ member
H A Dsetup.c217 Ship.sectx = ranf(NSECTS); in setup()
H A Devents.c175 Ship.sectx = ranf(NSECTS); in events()