Lines Matching defs:beacon
81 static const char *beacon(int);
190 state9[] = { { 'b', 5, " beacon #", NULL },
191 { '*', 5, " beacon #", NULL },
195 state11[] = { { 'b', 8, " beacon #", beacon },
196 { '*', 8, " beacon #", beacon },
486 return ("Unknown beacon");
487 xdiff = sp->beacon[bn].x - p.xpos;
489 ydiff = sp->beacon[bn].y - p.ypos;
499 xdiff = sp->beacon[dest_no].x - sp->beacon[bn].x;
500 ydiff = sp->beacon[dest_no].y - sp->beacon[bn].y;
503 xdiff = sp->exit[dest_no].x - sp->beacon[bn].x;
504 ydiff = sp->exit[dest_no].y - sp->beacon[bn].y;
507 xdiff = sp->airport[dest_no].x - sp->beacon[bn].x;
508 ydiff = sp->airport[dest_no].y - sp->beacon[bn].y;
524 beacon(int c __unused)
617 return ("Unknown beacon");
618 p.new_dir = DIR_FROM_DXDY(sp->beacon[n].x - p.xpos,
619 sp->beacon[n].y - p.ypos);