Lines Matching defs:left_col
212 short left_col, right_col, top_row, bottom_row;
217 left_col = right_col = top_row = bottom_row = 0;
220 left_col = 0;
226 left_col = COL1+1;
232 left_col = COL2+1;
238 left_col = 0;
244 left_col = COL1+1;
250 left_col = COL2+1;
256 left_col = 0;
262 left_col = COL1+1;
268 left_col = COL2+1;
276 left_col = get_rand(0, 10);
282 width = get_rand(7, (right_col - left_col - 2));
285 col_offset = get_rand(0, ((right_col - left_col) - width + 1));
290 left_col += col_offset;
291 right_col = left_col + width - 1;
300 for (j = left_col; j <= right_col; j++) {
304 ((j == left_col) || (j == right_col))) {
315 rooms[rn].left_col = left_col;
329 (rooms[room1].left_col > rooms[room2].right_col)) {
334 (rooms[room2].left_col > rooms[room1].right_col)) {
405 *col = get_rand(rm->left_col+wall_width,
411 *col = (dir == LEFT) ? rm->left_col : rm->right_col;
501 get_rand(rooms[j].left_col+1, rooms[j].right_col-1),
503 rooms[j].left_col, rooms[j].right_col);
504 hide_boxed_passage(rooms[j].top_row, rooms[j].left_col,
560 tunnel_dir = (rooms[rn].left_col < rooms[target_room].left_col) ?
573 scol = (rooms[rn].left_col + rooms[rn].right_col) / 2;
613 dcol = (rooms[de].left_col + rooms[de].right_col) / 2;
615 tunnel_dir = (rooms[rn].left_col < rooms[de].left_col) ?
633 for (j = rooms[rn].left_col; j <= rooms[rn].right_col; j++) {