Home
last modified time | relevance | path

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

/dflybsd-src/games/rogue/
H A Dmove.c54 static boolean can_turn(short, short);
609 can_turn(short nrow, short ncol) in can_turn() function
623 if ((dir != 'h') && can_turn(crow, ccol + 1)) { in turn_passage()
627 if ((dir != 'l') && can_turn(crow, ccol - 1)) { in turn_passage()
631 if ((dir != 'k') && can_turn(crow + 1, ccol)) { in turn_passage()
635 if ((dir != 'j') && can_turn(crow - 1, ccol)) { in turn_passage()