veloren/common
Joshua Yanovski 13b6d4d534 Removing WORLD_SIZE, part 1.
Erased almost every instance of WORLD_SIZE and replaced it with a local
power of two, map_size_lg (which respects certain invariants; see
common/src/terrain/map.rs for more details about MapSizeLg).  This also
means we can avoid a dependency on the world crate from client, as
desired.

Now that the rest of the code is not expecting a fixed WORLD_SIZE, the
next step is to arrange for maps to store their world size, and to use
that world size as a basis prior to loading the map (as well, probably,
as prior to configuring some of the noise functions).
2020-07-28 10:55:48 +02:00
..
benches apply new rustfmt - touching alot of files 2020-02-01 21:39:39 +01:00
src Removing WORLD_SIZE, part 1. 2020-07-28 10:55:48 +02:00
build.rs nix: Switch to crate2nix, and niv for dependency management 2020-06-23 20:51:32 +03:00
Cargo.toml Removing WORLD_SIZE, part 1. 2020-07-28 10:55:48 +02:00