├── .github └── workflows │ └── rust.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── README.md ├── assets └── tex_atlas.png └── src ├── blocks ├── block.rs ├── block_type.rs └── mod.rs ├── chunk.rs ├── collision.rs ├── effects.rs ├── macros.rs ├── main.rs ├── material.rs ├── persistence.rs ├── pipeline.rs ├── pipelines ├── highlight_selected.rs ├── main.rs ├── mod.rs ├── pipeline_manager.rs ├── translucent.rs └── ui.rs ├── player.rs ├── shaders ├── highlight.wgsl ├── shader.wgsl ├── ui_shader.wgsl └── water_shader.wgsl ├── state.rs ├── structures ├── mod.rs └── tree.rs ├── utils.rs └── world.rs /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/Cargo.toml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/README.md -------------------------------------------------------------------------------- /assets/tex_atlas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/assets/tex_atlas.png -------------------------------------------------------------------------------- /src/blocks/block.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/blocks/block.rs -------------------------------------------------------------------------------- /src/blocks/block_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/blocks/block_type.rs -------------------------------------------------------------------------------- /src/blocks/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/blocks/mod.rs -------------------------------------------------------------------------------- /src/chunk.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/chunk.rs -------------------------------------------------------------------------------- /src/collision.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/collision.rs -------------------------------------------------------------------------------- /src/effects.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/effects.rs -------------------------------------------------------------------------------- /src/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/macros.rs -------------------------------------------------------------------------------- /src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/main.rs -------------------------------------------------------------------------------- /src/material.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/material.rs -------------------------------------------------------------------------------- /src/persistence.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/persistence.rs -------------------------------------------------------------------------------- /src/pipeline.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/pipeline.rs -------------------------------------------------------------------------------- /src/pipelines/highlight_selected.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/pipelines/highlight_selected.rs -------------------------------------------------------------------------------- /src/pipelines/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/pipelines/main.rs -------------------------------------------------------------------------------- /src/pipelines/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/pipelines/mod.rs -------------------------------------------------------------------------------- /src/pipelines/pipeline_manager.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/pipelines/pipeline_manager.rs -------------------------------------------------------------------------------- /src/pipelines/translucent.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/pipelines/translucent.rs -------------------------------------------------------------------------------- /src/pipelines/ui.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/pipelines/ui.rs -------------------------------------------------------------------------------- /src/player.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/player.rs -------------------------------------------------------------------------------- /src/shaders/highlight.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/shaders/highlight.wgsl -------------------------------------------------------------------------------- /src/shaders/shader.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/shaders/shader.wgsl -------------------------------------------------------------------------------- /src/shaders/ui_shader.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/shaders/ui_shader.wgsl -------------------------------------------------------------------------------- /src/shaders/water_shader.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/shaders/water_shader.wgsl -------------------------------------------------------------------------------- /src/state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/state.rs -------------------------------------------------------------------------------- /src/structures/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/structures/mod.rs -------------------------------------------------------------------------------- /src/structures/tree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/structures/tree.rs -------------------------------------------------------------------------------- /src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/utils.rs -------------------------------------------------------------------------------- /src/world.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dandn9/RustyCraft/HEAD/src/world.rs --------------------------------------------------------------------------------