f9fc9efe8d
Revert "minedmap: store region list in BTreeSet"
...
This reverts commit b53d34da3d
.
With the change of the mipmapper data structure, we need a conversion
step anyways, so we can keep using the Vec before mipmapping.
2023-07-02 22:19:35 +02:00
b63a18ad6f
tile_mipmapper: store tile coordinates in nested map/set
...
Use the same data structure as the frontend.
2023-07-02 22:15:25 +02:00
216aa6ceec
minedmap: add mipmapping
2023-07-02 21:32:40 +02:00
86382772c3
minedmap/tile_renderer: print tile path relative to output directory
...
We will use strings of the same format for mipmap tile paths.
2023-07-02 20:05:57 +02:00
b1f7f759f1
minedmap: introduce generic tile path function, pass mipmap level
2023-07-02 18:58:08 +02:00
b53d34da3d
minedmap: store region list in BTreeSet
...
We want to have a sorted list in the end anyways to make metadata
generation deterministic, and we don't have to worry about deduplication
of coordinates when generating mipmap tile lists.
2023-07-02 18:16:35 +02:00
e5c96ecb99
minedmap: replace TileCoords type alias with a struct
2023-07-02 18:08:54 +02:00
007ce010d4
minedmap: rename RegionCoords to TileCoords
...
With mipmapping, coords will not always correspond to regions anymore.
2023-07-02 15:11:16 +02:00
17a02dc74c
minedmap: use fs helpers
2023-06-01 23:14:35 +02:00
587db0464c
io/storage: use fs::create_with_tmpfile() helper
2023-06-01 23:10:47 +02:00
31eb92864c
Split up BlockInfo type
...
By storing block types and depth values separately, the processed world
data can be compressed better, decreasing data size by ~10%.
2023-05-06 00:52:40 +02:00
2d5eec13c2
world/layer: move Option into BlockInfo struct
...
Preparation for top_layer() cleanup.
2023-05-05 23:29:57 +02:00
924ee01f91
world/layer: introduce LayerData struct to fix clippy type complexity warning
2023-05-05 23:08:39 +02:00
25710bb1ed
Move block_color() to new module
2023-05-04 22:18:15 +02:00
2dd9283d95
minedmap: move some internal functions out of impl blocks
2023-05-01 17:51:38 +02:00
1a5e8894fe
minedmap: split up main module
2023-04-30 11:07:47 +02:00
61fb23b94b
Move main source file to bin subdirectory
2023-04-30 10:46:56 +02:00
b2d849081d
io/region: allow stopping foreach_chunk early
...
Errors returned from the callback stop the loop early.
2023-02-26 01:01:37 +01:00
3cdafa7be9
Fix clippy warnings
2023-01-27 23:01:01 +01:00
48e03aa266
Introduce ChunkCoords type
2023-01-27 22:01:41 +01:00
5e96be3fda
Refactor logic from new dump tools into library crate
2023-01-25 21:42:16 +01:00
5a364e2434
Add new regiondump implemention
2023-01-25 21:41:34 +01:00
ddd78079dc
Add new nbtdump util
2023-01-25 03:00:07 +01:00