Lines Matching refs:occupant
43 to = occupant[(from->posy+from->vely+ydir+YSIZE00)%YSIZE]
136 if ((obj = occupant[cury][curx]) != NULL) {
469 size && (!occupant[y][x]||(skipping && occupant[y][x]->type==Star));
496 if (occupant[y][x])
497 qaddc(occupant[y][x]->image);
511 assert(occupant[y][x]);
512 img = occupant[y][x]->image;
513 if (occupant[y][x]->type == Crusher) {
517 occupant[y][x]->image =
518 (occupant[y][x]->velx *= -1) < 0 ? '>' : '<';
522 else if (occupant[y][x]->flags & FRIENDLY)
534 if (occupant[y][x] == nuke) {
544 *filler = occupant[y][x]->flags & PIRATE ? 'P' : 'R';
545 occupant[y][x]->image = *filler;
546 occupant[y][x]->strategy = 0;
553 occupant[y][x]->image = img;
559 occupant[y][x]->strategy = 0;
574 y = (occupant[oldy][oldx]->posy + occupant[oldy][oldx]->vely +
576 x = (occupant[oldy][oldx]->posx + occupant[oldy][oldx]->velx +
578 if (occupant[y][x] && occupant[y][x]->type == Star) {
579 y = occupant[oldy][oldx]->posy;
580 x = occupant[oldy][oldx]->posx;
619 size && (!occupant[y][x]);
632 tractee = occupant[y][x];