pub fn regions(size: usize, types: &[CellType]) -> Vec<u16>
Label connected walkable cells in scan order, starting at 1 (0 = none).
Original: FUN_1400a1950.
FUN_1400a1950