Esempio n. 1
0
static void
look_around(void)
{
	int	i;

	for (i = 0; i < NUMDIRECTIONS; i++) {
		ottolook(i, &flbr[i]);
	}
}
Esempio n. 2
0
File: otto.c Progetto: PSR-hunt/hunt
/**
 * Looks around in all the possible directions from the otto-matic player.
 * [PSR]
 */
STATIC void look_around() {
	int i;

	for (i = 0; i < NUMDIRECTIONS; i++) {
		ottolook(i, &flbr[i]);
# ifdef	DEBUG
		fprintf(debug, " ottolook(%c)=%c(%d)(0x%x)",
				RELCHARS[i], flbr[i].what, flbr[i].distance, flbr[i].flags);
# endif
	}
}