… | |
… | |
776 | else |
776 | else |
777 | make_wall (*this, dx, dy, 1); |
777 | make_wall (*this, dx, dy, 1); |
778 | } |
778 | } |
779 | } |
779 | } |
780 | |
780 | |
|
|
781 | //-GPL |
|
|
782 | |
781 | ///////////////////////////////////////////////////////////////////////////// |
783 | ///////////////////////////////////////////////////////////////////////////// |
782 | |
784 | |
783 | // inspired mostly by http://www.jimrandomh.org/misc/caves.txt |
785 | // inspired mostly by http://www.jimrandomh.org/misc/caves.txt |
784 | void |
786 | void |
785 | layout::gen_cave (int subtype) |
787 | layout::gen_cave (int subtype) |
… | |
… | |
879 | delete &rp; |
881 | delete &rp; |
880 | |
882 | |
881 | maze.border (); |
883 | maze.border (); |
882 | maze.isolation_remover (); |
884 | maze.isolation_remover (); |
883 | } |
885 | } |
|
|
886 | |
|
|
887 | //+GPL |
884 | |
888 | |
885 | /* function selects the maze function and gives it whatever |
889 | /* function selects the maze function and gives it whatever |
886 | arguments it needs. */ |
890 | arguments it needs. */ |
887 | void |
891 | void |
888 | layout::generate (random_map_params *RP) |
892 | layout::generate (random_map_params *RP) |