7686996fd3
resource: make seagrass opaque
...
See changelog for rationale.
2025-02-28 16:16:29 +01:00
f8c8ca78ba
Switch from zlib-ng to zlib-rs
...
zlib-rs provides the same performance as zlib-ng with minedmap, while
reducing the amount of C code and avoiding the external build dependency
on CMake.
2025-02-28 12:43:47 +01:00
40bc6cd2a9
Update dependencies
2025-02-28 11:55:42 +01:00
1d9be9a41c
Add jemalloc and jemalloc-auto features
...
Introduce the new features jemalloc (set jemalloc global allocator
unconditionally) and jemalloc-auto (set jemalloc global allocator on
musl-based targets to fix multithreaded performance, see [1]).
Because cargo does not support target-specific features or feature
defaults, the default is handled using a helper crate
minedmap-default-alloc.
[1] https://nickb.dev/blog/default-musl-allocator-considered-harmful-to-performance/
2025-02-12 20:34:09 +01:00
a10151a4f3
resource, world: implement fallback to plains for unknown biomes
...
Closes #63
2025-02-11 23:00:21 +01:00
0bf1d46aad
minedmap-types 0.1.4
2025-01-11 01:53:05 +01:00
28a191a23a
resource: ignore array size clippy warning
...
The const is used only once, so there is no reason not to inline it.
2025-01-09 21:09:48 +01:00
52572a9e81
Update dependencies
2025-01-09 20:57:12 +01:00
a67bdb3b67
minedmap-resource 0.6.0
2025-01-06 21:25:20 +01:00
9375af8d54
resource: impl Ord for Color
...
Allow using Color in FormattedText.
2025-01-06 20:30:32 +01:00
941cd16337
minedmap-resource 0.5.0
2025-01-02 13:41:56 +01:00
8f408e78a0
resource: codegen biome list
2025-01-02 01:31:26 +01:00
7b98954c80
resource: add comments to generated file
2025-01-02 01:31:26 +01:00
00216341ca
resource: separate current biome data from aliases/legacy IDs
...
Prepare for automatic generation of current biome data.
2025-01-02 01:31:26 +01:00
9b3b345318
resource: update block types and biomes for 1.21.4
2024-12-31 12:21:09 +01:00
feaf90c96c
Update dependencies
2024-12-17 00:31:38 +01:00
269f08d356
minedmap-resource 0.4.0
2024-06-23 11:30:41 +02:00
f1bc18add1
minedmap-types 0.1.3
2024-06-23 11:30:20 +02:00
414ad5a493
resource: add Minecraft 1.21 block types
2024-06-23 01:24:07 +02:00
7f3e47fcb4
treewide: update dependencies
2024-06-23 01:21:58 +02:00
44e914599b
types: fix new clippy lint
2024-03-03 23:55:59 +01:00
d6716a598b
minedmap-resource 0.3.0
2024-01-27 14:15:28 +01:00
9aacd9cc2b
resource: make regular signs transparent
...
For consistency with other sign types. Signs will be shown on a separate
layer.
2024-01-10 22:56:29 +01:00
48a6e242ea
resource: add WallSign flag to block types
...
Allow to distinguish wall signs from freestanding or -hanging signs.
2024-01-10 22:56:29 +01:00
abf87e75ee
resource: add sign material to block types
2024-01-10 22:56:29 +01:00
8814dcff89
resource: split BlockType in Copy and !Copy parts
...
Preparation for actually adding !Copy fields to BlockType.
Only the Copy parts are added to the processed data, avoiding .clone()
for the most part.
2024-01-10 22:56:29 +01:00
1874d3082d
resource: fix typo in doc comment
2024-01-10 22:56:28 +01:00
96c60b048e
minedmap-nbt 0.1.1
2024-01-07 22:26:12 +01:00
b48cde7ba8
minedmap-types 0.1.2
2024-01-07 22:23:45 +01:00
e856800c3d
minedmap-resource 0.2.0
2024-01-07 22:21:46 +01:00
997d807dc7
resource: add short_grass block type
...
Besides adding a number of experimental block types for the 1.21 preview,
Minecraft 1.20.3 also renamed the "grass" block to "short grass"
internally. Add the new block name to avoid warnings during generation.
2024-01-05 21:54:17 +01:00
1812e5c6d6
Add type alias for f32 colors to minedmap-resource
...
Allow removing the dependency on a specific glam version from the main
crate.
2023-12-29 20:13:03 +01:00
1432df7c93
Update dependencies
2023-12-29 20:06:52 +01:00
5f2dea6b4f
minedmap-types 0.1.1
2023-11-18 18:59:54 +01:00
2c1c8c17ef
Update dependencies
2023-11-18 18:49:25 +01:00
c010ee9194
Prepare for crates.io release
2023-08-21 21:51:01 +02:00
8e369f33fd
Add license and repository info to all crates
2023-08-21 21:50:57 +02:00
4f3b43e4a4
Add missing serde derive feature to Cargo.toml
2023-08-21 17:07:03 +02:00
2544ee9e80
Move nbtdump and regiondump examples to minedmap-nbt crate
2023-08-21 15:01:48 +02:00
228f31c568
Move resource module to a separate crate
...
The resource module does not depend on any other part of MinedMap.
2023-08-20 17:00:10 +02:00
248a641035
Restructure crates
...
Get rid of the arbitrary bin/lib split and instead move as much as
possible into the bin crate, which becomes the main crate again.
The types and NBT handling are moved into separate crates, so they can
be reused by nbtdump and regiondump.
2023-08-20 17:00:10 +02:00