Commit graph

208 commits

Author SHA1 Message Date
446f2eba38
docs: update screenshot 2018-11-08 18:17:22 +01:00
0bdf249307
Add biome color computation
Rather than using fixed values for all biomes, generate grass and foliage
colors based on (height-dependent) temperature and rainfall parameters.

This changes a lot of colors; in general, the new colors should be closer
to the actual Minecraft rendering. It also fixes a few colors that were
completely off (like in the badlands biomes) and adds the MC 1.13 biomes
(which were rendered in black).

Some of the newer biomes (warm/cold/... oceans) don't have proper
parameters yet, and we do not derive the water color from the biome yet.

Fixes #1.
2018-11-08 17:49:28 +01:00
4ffa28dd63
Distinguish grass and foliage green in block types 2018-11-07 23:07:45 +01:00
60bff1fb34
Add README 2018-07-26 23:58:47 +02:00
a3246d98c0
Adjust for minor API differences on Windows 2018-07-26 23:18:56 +02:00
de04cce993
World/Block: return colors as struct instead of uint32_t
Gets rid of a useless byte switch, and removes the arpa/inet.h include,
which is not available on Windows.
2018-07-26 23:18:55 +02:00
12b5cb4f4e
viewer: switch to GitHub URL 2018-07-26 19:12:08 +02:00
b6f14f0c72
Add support for Minecraft 1.13 sections 2018-07-24 20:31:53 +02:00
210f651807
World: factor out Section handling to a generic interface 2018-07-24 20:06:54 +02:00
dd432af298
Resolve pre-1.13 block types by mapping them to 1.13 types 2018-07-24 19:26:40 +02:00
fed9c21f5e
Resource: add mapping data from pre-1.13 block types/values to 1.13 states 2018-07-24 00:15:48 +02:00
4e3a9736b6
World/Block: remove useless blockLight accessor 2018-07-22 16:59:18 +02:00
2ed7f13268
Resource: add generated block type definiton file for Minecraft 1.13 2018-07-22 16:57:00 +02:00
a85fd8bcf4
NBT: String: add data accessor 2018-07-22 16:55:31 +02:00
59e0ce1f0c
NBT: IntArray: allow accessing individual elements 2018-07-22 16:55:04 +02:00
73a072c2ca
Add block color generation tools for Minecraft 1.13 2018-07-22 16:54:00 +02:00
f3d65febf3
NBT: remove unused deep Compound accessor 2018-07-21 18:46:07 +02:00
f1f783877f
NBT: rework type system 2018-07-21 18:11:59 +02:00
315bb38444
NBT: create Tags using make_shared() 2018-07-21 16:29:26 +02:00
59fe1ba025
NBT: make Tag constructors public, remove friend declarations 2018-07-21 16:29:26 +02:00
4288935d70
NBT: fix LongArray dumping 2018-07-21 12:17:38 +02:00
956142385f
NBT: add data accessors for IntArray and LongArray 2018-07-21 11:08:27 +02:00
a588857ed0
NBT: add support for LongArray tags 2018-07-21 00:04:35 +02:00
22ae19b43a
Add regiondump tool 2018-07-20 23:49:51 +02:00
c082c8800c
Separate splitting of regions into chunks and actual parsing of chunk structure 2018-07-20 23:49:51 +02:00
4b9bb2ab48
Add Tag print functions and nbtdump tool 2018-07-20 23:49:50 +02:00
64f81ff50c
BlockType: make double plants visible
We use the bottom block to distinguish plant types, as the top block's
data values are weird.
2017-08-19 13:28:22 +02:00
b04e1cb056
BlockType: allow specifying visible and green value per damage value 2017-08-19 13:01:01 +02:00
292f4f4f3b
Don't rely on utimensat()
utimensat() does not work on all filesystems, in particular on Windows.
2017-06-13 16:39:17 +02:00
6177612ea4
Resource/BlockType: update for Minecraft 1.12 2017-06-13 15:39:52 +02:00
7c4254ba34
Resource/BlockType: correctly distinguish stone subtypes 2017-05-19 13:45:03 +02:00
b2a5b19422
Resource/BlockType: fix color of "ready" saplings 2017-03-01 11:51:27 +01:00
b3d5b69a32
Fix red_sand color 2016-11-22 16:32:03 +01:00
df595b3117
Add support for Minecraft 1.11 blocks 2016-11-15 23:59:28 +01:00
b97e5ddb58
Add support for Minecraft 1.10 blocks 2016-06-08 21:21:44 +02:00
f6624d04aa Fix beetroots color/visiblity 2016-03-14 22:28:10 +01:00
b048c1eb5c Add missing biome 128 2016-03-01 19:19:57 +01:00
e5cbd3f7ce Add support for Minecraft 1.9 blocks 2016-03-01 19:11:35 +01:00
c80f54cba7 Chunk: allow generating unlighted maps for chunks without light data 2015-09-19 23:01:41 +09:00
d677440f6d Chunk: fix check for chunks with missing light data 2015-09-19 21:44:51 +09:00
1e14dabc2d Fix definition of timespec >= operator 2015-02-06 23:06:11 +01:00
d73c8b930b Include cleanup
Also remove all uses of unistd.h by replacing unlink with std::rename
2015-02-06 19:51:20 +01:00
fb81ea7d60 Make light layer darker 2015-02-06 17:56:59 +01:00
02808dcf9b viewer: more URL hash improvements 2015-02-04 22:01:14 +01:00
82acbeacb1 viewer: update hash on load 2015-02-04 17:19:56 +01:00
14c9a48563 viewer: map state in URL hash 2015-02-04 17:00:53 +01:00
03658bff3d build: don't use pkg-config 2015-02-04 11:44:53 +01:00
7b5327f828 Info: add missing include 2015-02-04 11:38:06 +01:00
c6e1edce5b Bump required CMake version to 2.8.4 2015-02-04 11:36:08 +01:00
e4b1919ba8 Use heap memory for image buffers 2015-02-04 09:00:34 +01:00