Commit Graph

3029 Commits

Author SHA1 Message Date
Nicolas F ff94206a05 setup.py: don't error out when PIL can't be found
It may still be in the include directories provided by the
operating system, such as it is on the vast majority of Linux
distributions.
2021-05-16 18:26:36 +02:00
Nicolas F b2a7bc99ba Merge PR #1708 from AstraLuma 2021-05-16 18:13:55 +02:00
Nicolas F a5fbe03133 setup.py: make sure to enable -O3 on unix
Apparently my -O3 came from somewhere other than this script.
It's possible that there is some generic "use optimisations"
mechanism in setuptools/distutils/whateverthisis, but I don't feel
like opening up that can of worms so let's just add an -O3 extra
argument to the compiler invocation to make sure it always gets it.
2021-05-16 18:00:51 +02:00
Nicolas F a5e2f182af overviewer.h: bump C extension version 2021-05-16 14:50:23 +02:00
Nicolas F a7e5be4322 Merge PR #1926 of Buscher 2021-05-16 14:49:44 +02:00
Nicolas F cfbfd4c026 Merge PR #1925 of Buscher 2021-05-16 14:48:23 +02:00
Nicolas F 1b5e0f5802 Merge PR #1920 of buscher 2021-05-16 14:46:52 +02:00
Bernd Buschinski 49339af795 Fixes snow height rendering 2021-05-15 17:40:26 +02:00
Bernd Buschinski 9a34b4578f Fixes glass pane/iron bar connection/adjacent rendering 2021-05-13 20:00:09 +02:00
Nicolas F 2fc64c6f26 block_class: optimise aarch64 SIMD some more
15% faster than the previous SIMD.
2021-05-11 12:24:54 +02:00
Nicolas F 772d73ce04 block_class: add aarch64 SIMD
Speedup of 2.3x for this particular function. Can probably be
improved somewhat still.
2021-05-11 11:57:52 +02:00
Bernd Buschinski 0422ed4e81 Fixes rendering with slabs/stair in occluded check 2021-05-01 13:13:51 +02:00
Nicolas F 86963c5de9
Merge PR #1890 from lenzls
Minor spelling fixes
2021-01-16 15:53:32 +01:00
Simon Lenz b8905068f9 Minor spelling fix
Fixes a minor spelling mistake in the `index.rst` of the documentation.
2021-01-15 17:35:37 +01:00
InrcedibleHolg 6b2be1635d add quartz_bricks, remove duplicates 2020-11-29 23:33:03 +01:00
Phoenix616 16adb443e0
Add name of world to some errors 2020-11-28 14:40:02 +01:00
Nicolas F 074a7d23a1
Merge PR #1877 from clonetwin26
"Catch KeyErrors since nether maps don't necessarily have well formed player.dat"
2020-11-27 14:17:41 +01:00
clonetwin26 c4a80598ef
Update genPOI.py
Catch KeyErrors since nether maps don't necessarily have well formed player.dat
2020-11-26 20:54:29 -05:00
Vilhelm Prytz 6424ad3b0b
web_assets: minor code style changes to index.html 2020-10-27 14:02:27 +01:00
Nicolas F 731af71d27
Merge pull request #1857 from jakubskorupa/fix-typos
Fix typos and punctuation in documentation
2020-10-07 09:56:56 +02:00
Jakub Skorupa 3b0e7f8603 Fix typos and punctuation in documentation 2020-10-06 23:02:11 +02:00
Nicolas F 47a0604b5a textures: be more resilient against corrupted jars 2020-10-04 19:45:39 +02:00
Nicolas F 01ed588278 textures: work around old pillow
Older versions apparently didn't have LANCZOS filtering for
resizing. In this case, just fall back to whatever the default is.

Will look marginally worse for those people but at least it works.
2020-09-20 16:16:10 +02:00
Andy Martin aac8d11162 Adds explicit pool close/join in handleEntities to fix possible hang (#1817) 2020-08-31 22:00:58 +01:00
InrcedibleHolg d23fdb13f1 simplify fire handling 2020-08-30 10:43:44 +02:00
Nicolas F 91ea87447a docs: add a note about Bedrock Edition support
Namely, that it does not exist.

Fixes #1841.
2020-08-25 16:47:05 +02:00
InrcedibleHolg 66ef67bb78 soul lightning 2020-08-23 09:55:29 +02:00
InrcedibleHolg 619ce0a219 add advanced blocks, nether roof update
crying_obsidian, lodestone, respawn_anchor
ancient_debris part of the nether roof
2020-08-15 10:10:29 +02:00
Lieuwe Westra 113a3a6f09 Added crimson and warped wood 2020-08-14 14:53:59 +02:00
InrcedibleHolg 629b43370e add stone nether blocks 2020-08-09 21:50:13 +02:00
Nicolas F 4c0a69dd28
Merge PR #1826 from Auron956
Resolve stair & stem rendering issues
2020-08-07 23:05:48 +02:00
Joseph Camp a839fa437d
C: Amend logic in block_class_is_wall()
Resolves an issue where this function would mistakenly identify
various non-wall blocks as walls
2020-08-06 23:24:12 +00:00
Joseph Camp b29c9e9ffc
world: Fix melon/pumpkin/mushroom stem rendering
Previous check for warped & crimson stem blocks was too inclusive,
causing stems of melons, pumpkins, and mushrooms to be interpreted
as air blocks
2020-08-06 23:18:07 +00:00
Nicolas F 50b84e95b5
Merge pull request #1791 from overviewer/116-blocks 2020-08-05 19:05:57 +02:00
Nicolas F 1d40ea77d4 nether: move nether roof blocks into new class 2020-08-05 19:01:52 +02:00
Nicolas F 0776bf0a93 textures: fix various small nitpicks
- don't redundantly declare a side image when it's the same as top
- change wood blocks to get textures from a dict
2020-08-05 18:52:21 +02:00
Nicolas F ba173698f3 Merge PR #1812 from IncredibleHolg 2020-08-05 18:14:27 +02:00
InrcedibleHolg 0a9d1961c5 add soul_soil, nether_gold_ore, removelist 2020-08-04 19:38:23 +02:00
Nicolas F 08e8c21d0c web: don't clutter up web console by default
If one wishes to add debug output, they should use overviewer.utils.debug.
To see the output produced by that, set overviewerConfig.map.debug to true.

Fixes #1816.
2020-07-28 13:22:07 +02:00
Nicolas F 11aabbfd9f world: fix 1.16 block unpacking
Fixes #1797.
2020-07-28 13:08:43 +02:00
InrcedibleHolg 3ac090a7a0 nether biomes 2020-07-17 00:21:29 +02:00
Nicolas F fcb3f2644d Shuffle around wall IDs, change wall check
Previously, walls were all numbered at 21000+. This is bad because
our blockmap is an array, so this caused our blockmap to take up
80 MiB of RAM in each worker process.

This commit changes the wall numbering, and exploits some bitmasking
to have the wall check run in constant time no matter how many walls
there are. This is done with a simple mask and xor to check the prefix.

RAM usage for the blockmap thus drops to like 44 MiB.

This is in preparation for adding more walls for 1.16.
2020-07-13 19:15:47 +02:00
Nicolas F 3282791bc4
Merge PR #1796 from DragonDev1906
Make icons in legend OptIn
2020-07-11 14:19:00 +02:00
Jens d7f6f3ebd5 Make icons in legend OptIn
Make them OptIn
Add option to docs
2020-07-11 14:03:18 +02:00
Nicolas F 8c0028495d world: work around minecraft palette bugs
Instead of trusting that Minecraft will only request up to index
num_palette_entries - 1, we'll assume Mojang occasionally produces
a weird file where it tries to request past that, up to the maximum
palette index it can based on the bits per value. To facilitate this,
this commit extends the translation palette array to this maximum size.

Such invalid palette picks will simply be replaced by ID 0 (aka air),
so it should cause minimal weirdness in the output.

Works around #1797.
2020-07-09 18:33:39 +02:00
Nicolas F 8ec2a998e2 build-tools: remove unused garbage 2020-07-07 23:36:56 +02:00
Nicolas F a3e4812ca9 world: skip zero-size region files
Minecraft 1.16.1 loves writing these in singleplayer, and they
cause a whole bunch of corruption warnings if we don't handle them
in a special way like this.
2020-07-03 13:10:23 +02:00
Nicolas F fd2c0a057a Add blackstone and netherite blocks 2020-07-03 13:10:23 +02:00
Nicolas F bc56346bad Initial 1.16 block work
- Add ancient debris
- Add basalt
- Add polished basalt
- Add soul campfire
2020-07-03 13:10:23 +02:00
Nicolas F d362e1512d overlay-mineral: fix tuple parse data type
Was a byte, should've been an unsigned short.

Fixes #1801.
2020-07-03 13:06:46 +02:00