2019-06-09 10:24:18 +00:00
|
|
|
pub struct Config {
|
|
|
|
pub sea_level: f32,
|
|
|
|
pub mountain_scale: f32,
|
2019-06-11 18:39:25 +00:00
|
|
|
pub snow_temp: f32,
|
2019-07-07 15:56:36 +00:00
|
|
|
pub tropical_temp: f32,
|
2019-06-11 18:39:25 +00:00
|
|
|
pub desert_temp: f32,
|
2019-08-18 16:35:27 +00:00
|
|
|
pub desert_hum: f32,
|
|
|
|
pub forest_hum: f32,
|
|
|
|
pub jungle_hum: f32,
|
2019-06-09 10:24:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pub const CONFIG: Config = Config {
|
2019-06-10 16:28:02 +00:00
|
|
|
sea_level: 140.0,
|
2019-07-07 23:50:23 +00:00
|
|
|
mountain_scale: 1000.0,
|
2019-06-11 18:39:25 +00:00
|
|
|
snow_temp: -0.4,
|
2019-07-07 15:56:36 +00:00
|
|
|
tropical_temp: 0.25,
|
|
|
|
desert_temp: 0.45,
|
2019-08-19 17:20:54 +00:00
|
|
|
desert_hum: 0.35,
|
|
|
|
forest_hum: 0.5,
|
|
|
|
jungle_hum: 0.6,
|
2019-06-09 10:24:18 +00:00
|
|
|
};
|