Home
last modified time | relevance | path

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

/minix/games/rogue/
H A Dtrap.c220 for (i = 0; i < DROWS; i++) { in show_traps()
240 if ((row < MIN_ROW) || (row >= (DROWS-1)) || in search()
254 if ((row < MIN_ROW) || (row >= (DROWS-1)) || in search()
H A Dhit.c394 if (allow_off_screen || (*row < (DROWS-2))) { in get_dir_rc()
421 if (allow_off_screen || ((*row < (DROWS-2)) && (*col < (DCOLS-1)))) { in get_dir_rc()
427 if (allow_off_screen || ((*row < (DROWS-2)) && (*col > 0))) { in get_dir_rc()
H A Dinit.c120 if ((LINES < DROWS) || (COLS < DCOLS)) { in init()
202 move(DROWS-1, 0); in clean_up()
H A Dlevel.c259 bottom_row = DROWS - 2; in make_room()
265 bottom_row = DROWS - 2; in make_room()
271 bottom_row = DROWS - 2; in make_room()
275 bottom_row = get_rand(DROWS-7, DROWS-2); in make_room()
381 for (i = 0; i < DROWS; i++) { in clear_level()
H A Dmessage.c247 int row = DROWS - 1; in print_stats()
329 for (i = 0; i < DROWS; i++) { in save_screen()
H A Dthrow.c212 if ((row < 0) || (row >= DROWS) || (col < 0) || (col >= DCOLS)) in flop_weapon()
217 if ((row > (DROWS-2)) || (row < MIN_ROW) || in flop_weapon()
H A Droom.c141 i_end = (row < (DROWS-2)) ? 1 : 0; in light_passage()
259 r = get_rand(MIN_ROW, DROWS-2); in gr_row_col()
379 for (i = 0; i < DROWS; i++) { in draw_magic_map()
H A Drogue.h178 #define DROWS 24 macro
342 extern unsigned short dungeon[DROWS][DCOLS];
H A Dmove.c231 if ((row < MIN_ROW) || (row > (DROWS - 2)) || (col < 0) || in is_passable()
254 i_end = (rogue.row < (DROWS-2)) ? 1 : 0; in next_to_something()
H A Dinventory.c259 for (row = 0; ((row <= i) && (row < DROWS)); row++) { in inventory()
280 for (j = 1; ((j <= i) && (j < DROWS)); j++) { in inventory()
H A Dmonster.c432 monster->trow = get_rand(1, (DROWS - 2)); in mv_1_monster()
685 (row < MIN_ROW) || (row > (DROWS-2)) || in create_monster()
H A Duse.c446 if ((row < MIN_ROW) || (row > (DROWS-2)) || (col < 0) || in hold_monster()
H A Dsave.c300 for (i = 0; i < DROWS; i++) { in rw_dungeon()
H A Dspec_hit.c293 (row > (DROWS-2)) || (col < 0) || (col>(DCOLS-1))) { in try_to_cough()
H A Dscore.c543 if (row < DROWS) { in sell_pack()
H A Dobject.c59 unsigned short dungeon[DROWS][DCOLS];