mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
13b6d4d534
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).
34 lines
1.0 KiB
TOML
34 lines
1.0 KiB
TOML
[package]
|
|
name = "veloren-world"
|
|
version = "0.6.0"
|
|
authors = ["Joshua Barretto <joshua.s.barretto@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
bincode = "1.2.0"
|
|
common = { package = "veloren-common", path = "../common" }
|
|
bitvec = "0.17.4"
|
|
fxhash = "0.2.1"
|
|
image = { version = "0.22.5", default-features = false, features = ["png"] }
|
|
itertools = "0.9"
|
|
vek = { version = "0.11.0", features = ["serde"] }
|
|
noise = { version = "0.6.0", default-features = false }
|
|
num = "0.2"
|
|
ordered-float = "1.0"
|
|
hashbrown = { version = "0.7.2", features = ["rayon", "serde", "nightly"] }
|
|
lazy_static = "1.4.0"
|
|
tracing = { version = "0.1", default-features = false }
|
|
rand = "0.7"
|
|
rand_chacha = "0.2.1"
|
|
arr_macro = "0.1.2"
|
|
packed_simd = "0.3.3"
|
|
rayon = "^1.3.0"
|
|
serde = { version = "1.0.110", features = ["derive"] }
|
|
ron = { version = "0.6", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.3"
|
|
pretty_env_logger = "0.3.0"
|
|
tracing-subscriber = { version = "0.2.3", default-features = false, features = ["fmt", "chrono", "ansi", "smallvec"] }
|
|
minifb = "0.14.0"
|