ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/maze_gen.C
(Generate patch)

Comparing deliantra/server/random_maps/maze_gen.C (file contents):
Revision 1.9 by root, Mon Apr 14 22:41:17 2008 UTC vs.
Revision 1.10 by root, Tue Apr 15 03:00:24 2008 UTC

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
36mazes have sizable rooms. option = 1, full, 0, sparse.*/ 36mazes have sizable rooms. option = 1, full, 0, sparse.*/
37void 37void
38maze_gen (Maze maze, int option) 38maze_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 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines