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
61d456846a
world: implement decoding raw JSON text into a linear list of formatted strings
2024-01-10 22:56:26 +01:00
f78dd795ca
world/de: add deserialization of sign block entities
2024-01-10 22:56:26 +01:00
0988ebe095
core/tile_mipmapper: fix file meta version for mipmap tiles
...
The meta version should only change when the outputs must be regenerated
even if the inputs stay the same. This should never be the case for
mipmap tiles, so we separate the meta version from map/lightmap tiles.
2024-01-10 22:56:26 +01:00
f79edb462c
core/common: add better explanation to file meta version definitions
2024-01-10 22:56:25 +01:00
e5d9c813ba
docs/images: add screenshot for sign marker documentation
2024-01-10 22:55:42 +01:00
7b12c4aea3
README.md: some improvements to the "How to use" and "Installation" sections
2024-01-10 22:42:58 +01:00
2e6a200c6c
README.md: reference screenshot by commit ID
2024-01-10 22:07:20 +01:00
f08acd06e2
Merge pull request #44 from neocturne/hide-unknown-warnings
...
Hide unknown block/biome type warnings by default
2024-01-10 13:14:59 +01:00
e8165aa47d
world: hide unknown block/biome type warnings by default
...
While using MinedMap with modded Minecraft version is not officially
supported, it should still work reasonably well if you're okay with
custom block types being invisible and custom biomes using default
grass/color/foliage colors.
Avoid spamming the log with messages for each section in this case
without --verbose, and instead just print a single warning at the end of
processing.
2024-01-10 13:02:29 +01:00
1e41e1bc6a
world/chunk: move SectionIter structs to impl
2024-01-10 13:02:29 +01:00
5273e4b366
CHANGELOG.md: reformat previous release changes
...
Use the "Added" and "Changed" headings like in previous releases.
2024-01-10 13:02:29 +01:00
3a796325ba
Update dependencies
2024-01-10 13:02:29 +01:00