Compare commits

...

41 commits

Author SHA1 Message Date
3e31d79107
Add shell.nix
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
2022-08-22 21:47:49 +02:00
9259003354 Add generated textures to repo for now
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
2021-07-03 13:36:37 +02:00
869598dc98
Remove assets from git
Some checks failed
continuous-integration/drone/push Build is failing
2021-06-21 16:50:07 +02:00
f850d50b47
Update CI image
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-19 12:46:19 +02:00
7d7ff71d6d
Allow for loading texture atlases, use this for water animation
Some checks failed
continuous-integration/drone/push Build is failing
2021-06-19 12:31:50 +02:00
a86eaa33bd
Update to latest Rust release 2021-06-19 12:31:27 +02:00
669d2552e8
Implement block coloring 2021-06-18 10:34:31 +02:00
5252da6ccb
Add oak planks and oak logs
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-16 23:25:55 +02:00
8ecb9ea813
Switch to fxhash from ahash
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-11 17:39:59 +02:00
0e96293fe8
Update .gitignore
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-11 17:02:35 +02:00
1d840e8d85
Remove unused PlainVertex 2021-06-11 17:02:11 +02:00
bba3c52228
Make hotbar blocks 3D
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-11 16:59:48 +02:00
59e4172083
Implement based occlusion culling
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 21:57:23 +02:00
03781e3dc8
Fix player movement 2021-06-10 21:56:33 +02:00
307cb748d5
Move GeometryBuffers to its own file
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 18:29:15 +02:00
1960da95df
Use Point3::map where possible 2021-06-10 18:28:13 +02:00
f6bb14ba4b
Fix mid-air jumping
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 17:00:44 +02:00
d006c6f9ef
Reorder fields in State
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 16:43:20 +02:00
6c50c6ac70
Remove things from WorldState to State and World
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 16:37:12 +02:00
aa8d7aed83
Move hud_state stuff into own "renderables"
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-10 13:18:50 +02:00
11348f8086
First efforts towards removing world_state and hud_state
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-08 22:36:26 +02:00
ec6978fee9
Allow for selecting a block to place
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-08 20:26:58 +02:00
6c2151ffb9
Change GUI textures to Minecraft ones
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 19:17:04 +02:00
6794213f7d
🦀 collision detection bugs are gone 🦀
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 19:06:16 +02:00
191f9b1f28
make collision detection not suck
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 04:14:27 +02:00
c8e02c6f86
Fix saving
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 02:26:28 +02:00
5d7101ae0b
rm -rf unused imports 2021-06-07 01:39:08 +02:00
4a56bc5a24
Improve collision
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 01:24:38 +02:00
b13be0ebc1
Merge branch 'main' of ssh://git.sijman.nl:221/_/minecrab
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-06 13:37:27 +02:00
0e53db6ffc
Update more than 1 chunk per frame if the framerate allows 2021-06-06 13:34:57 +02:00
9fb640c4e0 Replace a very ugly float comparison with integer logic
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-04 02:38:51 +02:00
67f275b2fc Move update_chunk_geometry into Chunk
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-04 02:23:26 +02:00
1b91fa94c0 Big project structure reorder
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-04 01:45:51 +02:00
4bba01058b
Implement chunk unloading, frustrum culling and some other minor optimisations
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-03 16:34:42 +02:00
206f7857fa
Make Geometry indices generic, make The Crab use it
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-03 12:13:24 +02:00
bd54a1bc14
Move some more world-related stuff to World 2021-06-03 11:59:39 +02:00
0ca35638fc
Move chunk loading/saving logic to World, sort chunk loading based on distance to camera
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-03 04:06:59 +02:00
a8936d9046
Merge branch 'serialize-chunks'
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-03 00:26:29 +02:00
f64ccd087e
ci ye
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-03 00:10:31 +02:00
11b6abb0d4
Implement chunk loading and saving
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-06-03 00:08:49 +02:00
15247d12d4
Allow for chunks with negative coordinates
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-02 19:45:29 +02:00
867 changed files with 2865 additions and 4238 deletions

View file

@ -3,7 +3,7 @@ type: docker
name: frontend
steps:
- name: dependencies
image: rust:slim
- name: build
image: rust:1.53.0-slim
commands:
- cargo doc
- cargo build

17
.gitignore vendored
View file

@ -1,4 +1,21 @@
/target/
/generated/
/GPUCache/
/flamegraph.svg
/perf.data*
/chunks/
/assets/*
!/assets/grass_block_*.png
!/assets/font
/assets/font/*
!/assets/font/ascii_shadow.png
/release/
profile.txt
callgrind.out.*
build.rs
shell.sh

447
Cargo.lock generated
View file

@ -1,5 +1,11 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "ab_glyph_rasterizer"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9fe5e32de01730eb1f6b7f5b51c17e03e2325bf40a74f754f04f130043affff"
[[package]]
name = "adler"
version = "1.0.2"
@ -18,17 +24,6 @@ version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "739f4a8db6605981345c5654f3a85b056ce52f37a39d34da03f25bf2151ea16e"
[[package]]
name = "ahash"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43bb833f0bf979d8475d38fbf09ed3b8a55e1885fe93ad3f93239fc6a4f17b98"
dependencies = [
"getrandom 0.2.3",
"once_cell",
"version_check",
]
[[package]]
name = "aho-corasick"
version = "0.7.18"
@ -38,6 +33,19 @@ dependencies = [
"memchr",
]
[[package]]
name = "andrew"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c4afb09dd642feec8408e33f92f3ffc4052946f6b20f32fb99c1f58cd4fa7cf"
dependencies = [
"bitflags",
"rusttype",
"walkdir",
"xdg",
"xml-rs",
]
[[package]]
name = "anyhow"
version = "1.0.40"
@ -65,7 +73,7 @@ version = "0.32.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06063a002a77d2734631db74e8f4ce7148b77fe522e6bca46f2ae7774fd48112"
dependencies = [
"libloading",
"libloading 0.7.0",
]
[[package]]
@ -150,6 +158,16 @@ version = "1.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
[[package]]
name = "calloop"
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b036167e76041694579972c28cf4877b4f92da222560ddb49008937b6a6727c"
dependencies = [
"log",
"nix 0.18.0",
]
[[package]]
name = "cc"
version = "1.0.68"
@ -406,7 +424,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "091ed1b25fe47c7ff129fc440c23650b6114f36aa00bc7212cc8041879294428"
dependencies = [
"bitflags",
"libloading",
"libloading 0.7.0",
"winapi",
]
@ -472,6 +490,30 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b"
[[package]]
name = "dlib"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b11f15d1e3268f140f68d390637d5e76d849782d971ae7063e0da69fe9709a76"
dependencies = [
"libloading 0.6.7",
]
[[package]]
name = "dlib"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac1b7517328c04c2aa68422fc60a41b92208182142ed04a25879c26c8f878794"
dependencies = [
"libloading 0.7.0",
]
[[package]]
name = "downcast-rs"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
[[package]]
name = "either"
version = "1.6.1"
@ -518,6 +560,16 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]]
name = "fs2"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213"
dependencies = [
"libc",
"winapi",
]
[[package]]
name = "futures"
version = "0.3.15"
@ -629,18 +681,7 @@ checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
dependencies = [
"cfg-if 1.0.0",
"libc",
"wasi 0.9.0+wasi-snapshot-preview1",
]
[[package]]
name = "getrandom"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
dependencies = [
"cfg-if 1.0.0",
"libc",
"wasi 0.10.2+wasi-snapshot-preview1",
"wasi",
]
[[package]]
@ -664,7 +705,7 @@ dependencies = [
"bitflags",
"gfx-auxil",
"gfx-hal",
"libloading",
"libloading 0.7.0",
"log",
"parking_lot",
"range-alloc",
@ -722,7 +763,7 @@ dependencies = [
"glow",
"js-sys",
"khronos-egl",
"libloading",
"libloading 0.7.0",
"log",
"naga",
"parking_lot",
@ -799,6 +840,12 @@ dependencies = [
"weezl",
]
[[package]]
name = "glob"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
[[package]]
name = "glow"
version = "0.9.0"
@ -893,7 +940,7 @@ version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"
dependencies = [
"ahash 0.4.7",
"ahash",
]
[[package]]
@ -965,9 +1012,24 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61124eeebbd69b8190558df225adf7e4caafce0d743919e5d6b19652314ec5ec"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
"wasm-bindgen",
"web-sys",
]
[[package]]
name = "itertools"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b"
dependencies = [
"either",
]
[[package]]
name = "itertools"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37d572918e350e82412fe766d24b15e6682fb2ed2bbe018280caa810397cb319"
dependencies = [
"either",
]
[[package]]
@ -1016,7 +1078,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c2352bd1d0bceb871cb9d40f24360c8133c11d7486b68b5381c1dd1a32015e3"
dependencies = [
"libc",
"libloading",
"libloading 0.7.0",
]
[[package]]
@ -1031,6 +1093,16 @@ version = "0.2.95"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "789da6d93f1b866ffe175afc5322a4d76c038605a1c3319bb57b06967ca98a36"
[[package]]
name = "libloading"
version = "0.6.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "351a32417a12d5f7e82c368a66781e307834dae04c6ce0cd4456d52989229883"
dependencies = [
"cfg-if 1.0.0",
"winapi",
]
[[package]]
name = "libloading"
version = "0.7.0"
@ -1080,6 +1152,15 @@ version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
[[package]]
name = "memmap2"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9b70ca2a6103ac8b665dc150b142ef0e4e89df640c9e6cf295d189c3caebe5a"
dependencies = [
"libc",
]
[[package]]
name = "memoffset"
version = "0.6.4"
@ -1107,17 +1188,22 @@ dependencies = [
name = "minecrab"
version = "0.1.0"
dependencies = [
"ahash 0.7.4",
"anyhow",
"bytemuck",
"cgmath",
"env_logger",
"futures",
"fxhash",
"gltf",
"image",
"itertools 0.10.0",
"log",
"noise",
"rayon",
"rmp-serde",
"serde",
"serde_repr",
"sled",
"wgpu",
"winit",
]
@ -1237,6 +1323,30 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c44922cb3dbb1c70b5e5f443d63b64363a898564d739ba5198e3a9138442868d"
[[package]]
name = "nix"
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "83450fe6a6142ddd95fb064b746083fc4ef1705fe81f64a64e1d4b39f54a1055"
dependencies = [
"bitflags",
"cc",
"cfg-if 0.1.10",
"libc",
]
[[package]]
name = "nix"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa9b4819da1bc61c0ea48b63b7bc8604064dd43013e7cc325df098d49cd7c18a"
dependencies = [
"bitflags",
"cc",
"cfg-if 1.0.0",
"libc",
]
[[package]]
name = "noise"
version = "0.7.0"
@ -1248,6 +1358,16 @@ dependencies = [
"rand_xorshift",
]
[[package]]
name = "nom"
version = "6.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2"
dependencies = [
"memchr",
"version_check",
]
[[package]]
name = "ntapi"
version = "0.3.6"
@ -1355,6 +1475,15 @@ version = "1.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3"
[[package]]
name = "owned_ttf_parser"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f923fb806c46266c02ab4a5b239735c144bdeda724a50ed058e5226f594cde3"
dependencies = [
"ttf-parser",
]
[[package]]
name = "parking_lot"
version = "0.11.1"
@ -1483,7 +1612,7 @@ version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
dependencies = [
"getrandom 0.1.16",
"getrandom",
"libc",
"rand_chacha",
"rand_core",
@ -1506,7 +1635,7 @@ version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
dependencies = [
"getrandom 0.1.16",
"getrandom",
]
[[package]]
@ -1593,12 +1722,58 @@ version = "0.6.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
[[package]]
name = "rmp"
version = "0.8.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f55e5fa1446c4d5dd1f5daeed2a4fe193071771a2636274d0d7a3b082aa7ad6"
dependencies = [
"byteorder",
"num-traits",
]
[[package]]
name = "rmp-serde"
version = "0.15.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "839395ef53057db96b84c9238ab29e1a13f2e5c8ec9f66bef853ab4197303924"
dependencies = [
"byteorder",
"rmp",
"serde",
]
[[package]]
name = "rusttype"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc7c727aded0be18c5b80c1640eae0ac8e396abf6fa8477d96cb37d18ee5ec59"
dependencies = [
"ab_glyph_rasterizer",
"owned_ttf_parser",
]
[[package]]
name = "ryu"
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
[[package]]
name = "same-file"
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
dependencies = [
"winapi-util",
]
[[package]]
name = "scoped-tls"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
[[package]]
name = "scoped_threadpool"
version = "0.1.9"
@ -1616,6 +1791,9 @@ name = "serde"
version = "1.0.126"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
@ -1639,12 +1817,40 @@ dependencies = [
"serde",
]
[[package]]
name = "serde_repr"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "98d0516900518c29efa217c298fa1f4e6c6ffc85ae29fd7f4ee48f176e1a9ed5"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "slab"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527"
[[package]]
name = "sled"
version = "0.34.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d0132f3e393bcb7390c60bb45769498cf4550bcb7a21d7f95c02b69f6362cdc"
dependencies = [
"crc32fast",
"crossbeam-epoch",
"crossbeam-utils",
"fs2",
"fxhash",
"libc",
"log",
"parking_lot",
"zstd",
]
[[package]]
name = "slotmap"
version = "0.4.0"
@ -1657,6 +1863,25 @@ version = "1.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
[[package]]
name = "smithay-client-toolkit"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4750c76fd5d3ac95fa3ed80fe667d6a3d8590a960e5b575b98eea93339a80b80"
dependencies = [
"andrew",
"bitflags",
"calloop",
"dlib 0.4.2",
"lazy_static",
"log",
"memmap2",
"nix 0.18.0",
"wayland-client",
"wayland-cursor",
"wayland-protocols",
]
[[package]]
name = "spirv_cross"
version = "0.23.1"
@ -1759,6 +1984,12 @@ dependencies = [
"serde",
]
[[package]]
name = "ttf-parser"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e5d7cd7ab3e47dda6e56542f4bbf3824c15234958c6e1bd6aaa347e93499fdc"
[[package]]
name = "unicode-width"
version = "0.1.8"
@ -1777,18 +2008,23 @@ version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"
[[package]]
name = "walkdir"
version = "2.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
dependencies = [
"same-file",
"winapi",
"winapi-util",
]
[[package]]
name = "wasi"
version = "0.9.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
[[package]]
name = "wasi"
version = "0.10.2+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
[[package]]
name = "wasm-bindgen"
version = "0.2.74"
@ -1855,6 +2091,79 @@ version = "0.2.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7cff876b8f18eed75a66cf49b65e7f967cb354a7aa16003fb55dbfd25b44b4f"
[[package]]
name = "wayland-client"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06ca44d86554b85cf449f1557edc6cc7da935cc748c8e4bf1c507cbd43bae02c"
dependencies = [
"bitflags",
"downcast-rs",
"libc",
"nix 0.20.0",
"scoped-tls",
"wayland-commons",
"wayland-scanner",
"wayland-sys",
]
[[package]]
name = "wayland-commons"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8bd75ae380325dbcff2707f0cd9869827ea1d2d6d534cff076858d3f0460fd5a"
dependencies = [
"nix 0.20.0",
"once_cell",
"smallvec",
"wayland-sys",
]
[[package]]
name = "wayland-cursor"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b37e5455ec72f5de555ec39b5c3704036ac07c2ecd50d0bffe02d5fe2d4e65ab"
dependencies = [
"nix 0.20.0",
"wayland-client",
"xcursor",
]
[[package]]
name = "wayland-protocols"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95df3317872bcf9eec096c864b69aa4769a1d5d6291a5b513f8ba0af0efbd52c"
dependencies = [
"bitflags",
"wayland-client",
"wayland-commons",
"wayland-scanner",
]
[[package]]
name = "wayland-scanner"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "389d680d7bd67512dc9c37f39560224327038deb0f0e8d33f870900441b68720"
dependencies = [
"proc-macro2",
"quote",
"xml-rs",
]
[[package]]
name = "wayland-sys"
version = "0.28.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2907bd297eef464a95ba9349ea771611771aa285b932526c633dc94d5400a8e2"
dependencies = [
"dlib 0.5.0",
"lazy_static",
"pkg-config",
]
[[package]]
name = "web-sys"
version = "0.3.50"
@ -1987,8 +2296,8 @@ dependencies = [
"percent-encoding",
"raw-window-handle",
"scopeguard",
"wasm-bindgen",
"web-sys",
"smithay-client-toolkit",
"wayland-client",
"winapi",
"x11-dl",
]
@ -2013,3 +2322,55 @@ dependencies = [
"maybe-uninit",
"pkg-config",
]
[[package]]
name = "xcursor"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a9a231574ae78801646617cefd13bfe94be907c0e4fa979cfd8b770aa3c5d08"
dependencies = [
"nom",
]
[[package]]
name = "xdg"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d089681aa106a86fade1b0128fb5daf07d5867a509ab036d99988dec80429a57"
[[package]]
name = "xml-rs"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b07db065a5cf61a7e4ba64f29e67db906fb1787316516c4e6e5ff0fea1efcd8a"
[[package]]
name = "zstd"
version = "0.5.4+zstd.1.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69996ebdb1ba8b1517f61387a883857818a66c8a295f487b1ffd8fd9d2c82910"
dependencies = [
"zstd-safe",
]
[[package]]
name = "zstd-safe"
version = "2.0.6+zstd.1.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "98aa931fb69ecee256d44589d19754e61851ae4769bf963b385119b1cc37a49e"
dependencies = [
"libc",
"zstd-sys",
]
[[package]]
name = "zstd-sys"
version = "1.4.18+zstd.1.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1e6e8778706838f43f771d80d37787cb2fe06dafe89dd3aebaf6721b9eaec81"
dependencies = [
"cc",
"glob",
"itertools 0.9.0",
"libc",
]

View file

@ -6,19 +6,24 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
gltf = "0.16"
ahash = "0.7.4"
anyhow = "1.0.40"
bytemuck = { version = "1.5.1", features = ["derive"] }
cgmath = "0.18.0"
env_logger = "0.8.3"
futures = "0.3.15"
fxhash = "0.2.1"
gltf = "0.16"
image = "0.23.14"
itertools = "0.10.0"
log = "0.4.14"
noise = "0.7.0"
rayon = "1.5.1"
rmp-serde = "0.15.4"
serde = { version = "1.0.126", features = ["derive"] }
serde_repr = "0.1.7"
sled = { version = "0.34.6", features = ["compression"] }
wgpu = "0.8.1"
winit = { version = "0.25.0", default_features = false, features = ["x11", "web-sys"] }
winit = { version = "0.25.0" }
[profile.release]
debug = true

BIN
assets/block/acacia_door_bottom.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/acacia_door_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/acacia_leaves.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/acacia_log.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/acacia_log_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/acacia_planks.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/acacia_sapling.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/acacia_trapdoor.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/activator_rail.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/activator_rail_on.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/allium.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/ancient_debris_side.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/ancient_debris_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/andesite.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/anvil.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/anvil_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/attached_melon_stem.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/attached_pumpkin_stem.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/azure_bluet.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bamboo_large_leaves.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bamboo_singleleaf.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bamboo_small_leaves.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bamboo_stage0.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bamboo_stalk.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/barrel_bottom.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/barrel_side.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/barrel_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/barrel_top_open.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/basalt_side.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/basalt_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/beacon.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bedrock.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bee_nest_bottom.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bee_nest_front.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bee_nest_front_honey.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bee_nest_side.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bee_nest_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/beehive_end.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/beehive_front.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/beehive_front_honey.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/beehive_side.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/beetroots_stage0.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/beetroots_stage1.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/beetroots_stage2.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/beetroots_stage3.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bell_bottom.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bell_side.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bell_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/birch_door_bottom.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/birch_door_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/birch_leaves.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/birch_log.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/birch_log_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/birch_planks.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/birch_sapling.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/birch_trapdoor.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/black_concrete.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/black_concrete_powder.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/black_glazed_terracotta.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/black_shulker_box.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/black_stained_glass.png (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
assets/block/black_terracotta.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/black_wool.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blackstone.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blackstone_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blast_furnace_front.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blast_furnace_front_on.png (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
assets/block/blast_furnace_side.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blast_furnace_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blue_concrete.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blue_concrete_powder.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blue_glazed_terracotta.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blue_ice.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blue_orchid.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blue_shulker_box.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blue_stained_glass.png (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
assets/block/blue_terracotta.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/blue_wool.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bone_block_side.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bone_block_top.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bookshelf.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/brain_coral.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/brain_coral_block.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/brain_coral_fan.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/brewing_stand.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/brewing_stand_base.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/bricks.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/brown_concrete.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/brown_concrete_powder.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/brown_glazed_terracotta.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/brown_mushroom.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/brown_mushroom_block.png (Stored with Git LFS)

Binary file not shown.

BIN
assets/block/brown_shulker_box.png (Stored with Git LFS)

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more