Symbol: rel_dir
games/atc/input.c
114
static const char *rel_dir(int);
games/atc/input.c
157
{ 'w', 4, " 0", rel_dir },
games/atc/input.c
158
{ 'e', 4, " 45", rel_dir },
games/atc/input.c
159
{ 'd', 4, " 90", rel_dir },
games/atc/input.c
160
{ 'c', 4, " 135", rel_dir },
games/atc/input.c
161
{ 'x', 4, " 180", rel_dir },
games/atc/input.c
162
{ 'z', 4, " 225", rel_dir },
games/atc/input.c
163
{ 'a', 4, " 270", rel_dir },
games/atc/input.c
164
{ 'q', 4, " 315", rel_dir },
games/hunt/hunt/otto.c
262
ottolook(int rel_dir, struct item *itemp)
games/hunt/hunt/otto.c
272
switch (direction(facing, rel_dir)) {
games/hunt/hunt/otto.c
376
face_and_move_direction(int rel_dir, int distance)
games/hunt/hunt/otto.c
382
cmd = DIRKEYS[facing = direction(facing, rel_dir)];
games/hunt/hunt/otto.c
384
if (rel_dir != FRONT) {
games/hunt/hunt/otto.c
412
attack(int rel_dir, struct item *itemp)
games/hunt/hunt/otto.c
415
face_and_move_direction(rel_dir, 0);
games/hunt/hunt/otto.c
421
face_and_move_direction(rel_dir, 2);
games/hunt/hunt/otto.c
424
face_and_move_direction(rel_dir, 1);
games/hunt/hunt/otto.c
426
rel_dir = LEFT;
games/hunt/hunt/otto.c
428
rel_dir = RIGHT;
games/hunt/hunt/otto.c
429
face_and_move_direction(rel_dir, 0);
games/hunt/hunt/otto.c
438
duck(int rel_dir)
games/hunt/hunt/otto.c
442
switch (dir = direction(facing, rel_dir)) {
games/hunt/hunt/otto.c
489
int i, rel_dir, dist;
games/hunt/hunt/otto.c
491
rel_dir = -1;
games/hunt/hunt/otto.c
495
rel_dir = i;
games/hunt/hunt/otto.c
499
if (rel_dir == -1)
games/hunt/hunt/otto.c
502
if (!(flbr[rel_dir].flags & ON_SIDE)
games/hunt/hunt/otto.c
503
|| flbr[rel_dir].distance > 1) {
games/hunt/hunt/otto.c
506
face_and_move_direction(rel_dir, dist);
games/hunt/hunt/otto.c
515
int i, j, rel_dir, dir_mask, dir_count;
games/hunt/hunt/otto.c
545
rel_dir = ffs(dir_mask) - 1;
games/hunt/hunt/otto.c
547
if (rel_dir == FRONT)
games/hunt/hunt/otto.c
552
face_and_move_direction(rel_dir, 1);