… | |
… | |
292 | } |
292 | } |
293 | |
293 | |
294 | } |
294 | } |
295 | } |
295 | } |
296 | |
296 | |
297 | void |
297 | static void |
298 | make_doors (char **maze, float *xlocations, float *ylocations, int layers, int options) |
298 | make_doors (char **maze, float *xlocations, float *ylocations, int layers, int options) |
299 | { |
299 | { |
300 | int freedoms; /* number of different walls on which we could place a door */ |
300 | int freedoms; /* number of different walls on which we could place a door */ |
301 | int which_wall; /* left, 1, top, 2, right, 3, bottom 4 */ |
301 | int which_wall; /* left, 1, top, 2, right, 3, bottom 4 */ |
302 | int l, x1 = 0, x2, y1 = 0, y2; |
302 | int l, x1 = 0, x2, y1 = 0, y2; |