voronoi, and starting on wfc

This commit is contained in:
Llywelwyn 2023-07-20 15:26:51 +01:00
parent 09bafa4d1f
commit 7f775b80dd
10 changed files with 301 additions and 4 deletions

View file

@ -69,7 +69,7 @@ pub fn roll_hit_dice(ecs: &mut World, n: i32, d: i32) -> i32 {
}
// Consts
const MAX_ENTITIES: i32 = 4;
const MAX_ENTITIES: i32 = 2;
#[allow(clippy::map_entry)]
pub fn spawn_room(ecs: &mut World, room: &Rect, map_depth: i32) {