Searched refs:Y_FIELDSIZE (Results 1 - 7 of 7) sorted by relevance

/openbsd-current/games/robots/
H A Dinit_field.c81 for (i = 1; i < Y_FIELDSIZE; i++) {
85 move(Y_FIELDSIZE, 0);
96 for (i = 1; i < Y_FIELDSIZE; i++) {
H A Drnd_pos.c47 pos.y = rnd(Y_FIELDSIZE - 1) + 1;
H A Drobots.h42 #define Y_FIELDSIZE 23 macro
52 #define Y_PROMPT (Y_FIELDSIZE - 1)
89 extern char Cnt_move, Field[Y_FIELDSIZE][X_FIELDSIZE], *Next_move,
H A Dextern.c53 char Field[Y_FIELDSIZE][X_FIELDSIZE]; /* the playing field itself */
H A Dmake_level.c49 for (i = 1; i < Y_FIELDSIZE; i++)
64 Min.y = Y_FIELDSIZE;
H A Dmove_robs.c59 else if (rp->y >= Y_FIELDSIZE)
60 rp->y = Y_FIELDSIZE - 1;
68 Min.y = Y_FIELDSIZE;
H A Dmove.c245 if (newpos.y <= 0 || newpos.y >= Y_FIELDSIZE)
271 if (newpos.y <= 0 || newpos.y >= Y_FIELDSIZE ||
305 if (y <= 0 || y >= Y_FIELDSIZE)

Completed in 76 milliseconds