Module mapgen::filter

source ·
Expand description

Generators for dungeon type maps.

Re-exports

pub use bsp_interior::BspInterior;
pub use bsp_rooms::BspRooms;
pub use cellular_automata::CellularAutomata;
pub use cull_unreachable::CullUnreachable;
pub use distant_exit::DistantExit;
pub use drunkard::DrunkardsWalk;
pub use maze::MazeBuilder;
pub use noise_generator::NoiseGenerator;
pub use simple_rooms::SimpleRooms;
pub use rooms_corridors_nearest::NearestCorridors;
pub use starting_point::AreaStartingPosition;
pub use starting_point::XStart;
pub use starting_point::YStart;
pub use voronoi::VoronoiHive;

Modules

Random rooms map generator.
Random rooms map generator.
Cellular automata map filter.
Remove unreachable areas from the map.
Add exit point to the map
Example generator usage:
Example generator usage:
Apply noise to the map. Each cell will be set to Floor with the given probabilty.
Connect nearest rooms on the map with corridors
Random rooms map generator.
Add starting point to the map
Example generator usage: