Home | History | Annotate | Download | only in rogue

Lines Matching refs:get_rand

124 	must_1 = get_rand(0, 5);
274 top_row = get_rand(MIN_ROW, MIN_ROW+5);
275 bottom_row = get_rand(DROWS-7, DROWS-2);
276 left_col = get_rand(0, 10);
277 right_col = get_rand(DCOLS-11, DCOLS-1);
281 height = get_rand(4, (bottom_row - top_row + 1));
282 width = get_rand(7, (right_col - left_col - 2));
284 row_offset = get_rand(0, ((bottom_row - top_row) - height + 1));
285 col_offset = get_rand(0, ((right_col - left_col) - width + 1));
405 *col = get_rand(rm->left_col+wall_width,
413 *row = get_rand(rm->top_row+wall_width,
438 middle = get_rand(col1+1, col2-1);
453 middle = get_rand(row1+1, row2-1);
489 start = get_rand(0, (MAXROOMS-1));
500 make_maze(get_rand(rooms[j].top_row+1, rooms[j].bottom_row-1),
501 get_rand(rooms[j].left_col+1, rooms[j].right_col-1),
506 get_rand(0, 2));
544 srow = get_rand(0, 3);
545 scol = get_rand(0, 3);
661 t1 = get_rand(0, 3);
662 t2 = get_rand(0, 3);
732 row = get_rand(row1 + row_cut, row2 - row_cut);
733 col = get_rand(col1 + col_cut, col2 - col_cut);
865 hp = (wizard ? 10 : get_rand(3, 10));
895 x = get_rand(0, (MAXROOMS-1));
896 y = get_rand(0, (MAXROOMS-1));