… | |
… | |
79 | int i, j; |
79 | int i, j; |
80 | int cx, cy; |
80 | int cx, cy; |
81 | int tx, ty; |
81 | int tx, ty; |
82 | |
82 | |
83 | /* generate and allocate a doorless, centered onion */ |
83 | /* generate and allocate a doorless, centered onion */ |
84 | char **maze = map_gen_onion (xsize, ysize, OPT_CENTERED | OPT_NO_DOORS, 0); |
84 | char **maze = map_gen_onion (xsize, ysize, RMOPT_CENTERED | RMOPT_NO_DOORS, 0); |
85 | |
85 | |
86 | /* find the layout center. */ |
86 | /* find the layout center. */ |
87 | cx = 0; |
87 | cx = 0; |
88 | cy = 0; |
88 | cy = 0; |
89 | for (i = 0; i < xsize; i++) |
89 | for (i = 0; i < xsize; i++) |