… | |
… | |
33 | |
33 | |
34 | /* the outsize interface routine: accepts sizes, returns a char |
34 | /* the outsize interface routine: accepts sizes, returns a char |
35 | ** maze. option is a flag for either a sparse or a full maze. Sparse |
35 | ** maze. option is a flag for either a sparse or a full maze. Sparse |
36 | mazes have sizable rooms. option = 1, full, 0, sparse.*/ |
36 | mazes have sizable rooms. option = 1, full, 0, sparse.*/ |
37 | void |
37 | void |
38 | maze_gen (Maze maze, int option) |
38 | maze_gen (Layout maze, int option) |
39 | { |
39 | { |
40 | maze->clear (); |
40 | maze->clear (); |
41 | maze->border (); |
41 | maze->border (); |
42 | |
42 | |
43 | /* find how many free wall spots there are */ |
43 | /* find how many free wall spots there are */ |