ModernMap

Type Alias ModernMap 

Source
pub type ModernMap = WorldMap_0_7_0;
Expand description

Data for the most recent map type. Update this when you add a new map version.

Aliased Type§

#[repr(C)]
pub struct ModernMap { pub map_size_lg: Vec2<u32>, pub continent_scale_hack: f64, pub alt: Box<[f64]>, pub basement: Box<[f64]>, }

Fields§

§map_size_lg: Vec2<u32>

Saved map size.

§continent_scale_hack: f64

Saved continent_scale hack, to try to better approximate the correct seed according to varying map size.

TODO: Remove when generating new maps becomes more principled.

§alt: Box<[f64]>

Saved altitude height map.

§basement: Box<[f64]>

Saved basement height map.