44e914599b
types: fix new clippy lint
2024-03-03 23:55:59 +01:00
bccd6d6cb4
README.md: some rewording
2024-03-03 23:44:56 +01:00
Myrddin Emrys
00eea45375
Improve README.md instructions.
...
Added instructions that would have made my initial attempts to use the tool less confusing.
2024-02-14 18:01:25 -06:00
9fd3989a95
minedmap 2.1.0
2024-01-27 14:16:03 +01:00
d6716a598b
minedmap-resource 0.3.0
2024-01-27 14:15:28 +01:00
f186681b41
release: move commit message configuration to workspace
2024-01-27 14:14:48 +01:00
3d84e9c9e4
CHANGELOG.md: mention --sign-transform
2024-01-27 14:08:42 +01:00
7009dd791d
Merge pull request #45 from neocturne/sign-transform
...
Sign text transformation support
2024-01-26 23:00:07 +01:00
8a1a26c13c
core: add support for sign text transformations
...
Add support for regexp replacement patterns, which can be useful when
the text matched by --sign-filter or --sign-prefix should not be
displayed.
2024-01-26 22:40:19 +01:00
a99a734df8
Update dependencies
2024-01-25 19:44:37 +01:00
3ceb7ae188
Merge pull request #40 from neocturne/sign-marker
...
Display markers for signs
2024-01-11 12:59:32 +01:00
e18761a3e4
resource: extract.py: pass directory of unpacked Minecraft JAR, not full path to assets
...
Make the script easier to use, and more consistent with sign_textures.py.
2024-01-11 12:44:42 +01:00
05d8faeb5c
resource: README.md: sign-related updates
2024-01-11 12:44:42 +01:00
6299c871a9
CHANGELOG.md: add sign layer
2024-01-11 00:02:25 +01:00
03521684b9
README.md: add description of sign feature
2024-01-10 23:57:23 +01:00
643035eaed
viewer: switch to modern fetch API, do not cache metadata and entity files
2024-01-10 22:56:33 +01:00
3d024c6cd8
viewer: update opened marker popup on URL hash change
2024-01-10 22:56:33 +01:00
08f84fa339
viewer: do not show sign layer when the feature is disabled
2024-01-10 22:56:32 +01:00
625f2a13a3
core/metadata_writer: add enabled features to metadata
...
Only consider sign support enabled when at least one pattern is
configured.
2024-01-10 22:56:32 +01:00
7daddd6bbc
viewer: include open marker in URL
...
Allow sharing URLs that reference a marker.
2024-01-10 22:56:32 +01:00
7b3ac8647e
viewer: store URL paramters in a 'params' variable
2024-01-10 22:56:32 +01:00
76df56c9ce
viewer: sort signs at the same x/z coordinates from top to bottom
2024-01-10 22:56:32 +01:00
31de0dc0bd
viewer: sign popup styling
2024-01-10 22:56:31 +01:00
ac0fd06b16
viewer: add icon shadows
2024-01-10 22:56:31 +01:00
989428f78d
viewer: use sign icons instead of default markers
2024-01-10 22:56:31 +01:00
43d7dc751e
viewer: allow zooming to level 5
...
Allow zooming in far enough so neighboring signs don't overlap.
2024-01-10 22:56:31 +01:00
7834315dd3
viewer: add sign images
2024-01-10 22:56:31 +01:00
dca9c394f2
viewer: display markers for signs
...
Still needs better styling. It might also be nice to include the currently
opened marker in the URL.
2024-01-10 22:56:30 +01:00
87d4371922
core/metadata_writer: implement filtering for signs
2024-01-10 22:56:30 +01:00
a1dd77c8fd
world/sign: implement Display for SignText
2024-01-10 22:56:30 +01:00
9fd5689ebb
core: add sign pattern command line argument handling
2024-01-10 22:56:30 +01:00
6da921cca3
core: wrap long help texts
2024-01-10 22:56:30 +01:00
fb361145eb
world: add sign position and material information to block entities
2024-01-10 22:56:29 +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
d29c0df25d
core/metadata_writer: write entity list for viewer
2024-01-10 22:56:28 +01:00
cde6a4b6e6
core: merge entity data for all regions into one file
...
Introduce the EntityCollector, using the TileCollector and TileMerger
traits.
2024-01-10 22:56:28 +01:00
1143396068
core: use debug format for logging errors
...
Show the full cause stack.
2024-01-10 22:56:28 +01:00
0f308788ef
core: split TileMerger out of TileMipmapper
...
Reusable mipmap-style tile merging
2024-01-10 22:56:28 +01:00
7740ce0522
core/region_processor: sort processed block entities
...
Make the block entity list more reproducible when the stored chunk order
changes.
2024-01-10 22:56:27 +01:00
e36ae4601d
world: add Eq + Ord to all block entity types
2024-01-10 22:56:27 +01:00
825cf70e51
core: split TileCollector trait out of TileMipmapper
...
Make mipmap-style recursive processing of tiles reusable.
2024-01-10 22:56:27 +01:00
7297c03567
core/region_processor: store processed block entities for each region
2024-01-10 22:56:27 +01:00
c44f6ab859
io/storage: add JSON support
...
Bincode can't deal with a number of serde's features that would be
desirable if we're using the same Serialize impls for generating JSON
data for the viewer.
2024-01-10 22:56:27 +01:00
5d40d061a4
io/storage: split out inner part of read/write
...
Allow reusing the read/write logic without requiring control over the file
open.
2024-01-10 22:56:26 +01:00
f0e0db63d3
world: process sign data, prepare for serialization
2024-01-10 22:56:26 +01:00
638d5046c9
world/chunk: change Chunk into a struct
...
The version-specific part is extracted as an enum ChunkInner.
2024-01-10 22:56:26 +01:00