--- deliantra/server/random_maps/random_map.h 2010/07/03 03:09:27 1.41 +++ deliantra/server/random_maps/random_map.h 2010/07/03 13:14:36 1.42 @@ -88,6 +88,7 @@ LAYOUT_SNAKE, LAYOUT_SQUARE_SPIRAL, LAYOUT_CAVE, + LAYOUT_CASTLE, LAYOUT_MULTIPLE, NROFLAYOUTS, }; @@ -194,10 +195,14 @@ MTH void fill_rand (int perc); // makes sure all areas are connected - MTH void isolation_remover (); + // perturb = 0 - very horz/vert tunnels + // perturb = 1 - straight but round + // perturb = 2 - snaky tunnels + MTH void isolation_remover (int perturb = 2); // generates a cave, subtype 0 is a rough cave, randomly open or closed MTH void gen_cave (int subtype); + MTH void gen_castle (); // generates straightish structures // helper functions to modify the maze MTH void erode_1_2 (int c1, int c2 = -1, int repeat = 1);