New formula to calculate drawn map sizes, now every FeatureSize leads to an unique size
It works by using 4 hardcoded map sizes and the rest is simply interpolated.
Size 1: 1024×512
Size 6: 2048×1024
Size 12: 4096×2048 (default, compatible with pre-1.0.0)
Size 25: 8192×4096
[package]
name = "hwphysics"
version = "0.1.0"
authors = ["Hedgewars Project"]
edition = "2018"
[dependencies]
fpnum = { path = "../fpnum" }
integral-geometry = { path = "../integral-geometry" }
land2d = { path = "../land2d" }