|
Crossfire Server, Branches 1.12
R18729
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| char ** | maze_gen (int xsize, int ysize, int option) |
| char** maze_gen | ( | int | xsize, |
| int | ysize, | ||
| int | option | ||
| ) |
This function generates a random blocked maze with the property that there is only one path from one spot to any other, and there is always a path from one spot to any other.
| xsize | |
| ysize | wanted map size. |
| option | if 0, maze will be sparse (sizeable rooms), else totally filled. |
Definition at line 68 of file maze_gen.c.