Commit graph

17 commits

Author SHA1 Message Date
fdce587c74
build: update to modern CMake, use pkg-config for zlib and libpng
Starting with CMake 3.7, we can avoid dealing with individual variables
for include dirs, libraries, ... for dependencies found using
pkg-config, and instead just reference them using an imported target.
2021-08-24 13:14:48 +02:00
54932b3747
build: add install command 2019-08-28 21:00:17 +02: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
210f651807
World: factor out Section handling to a generic interface 2018-07-24 20:06:54 +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
03658bff3d build: don't use pkg-config 2015-02-04 11:44:53 +01:00
1d3db43d29 Refactor PNG writing 2015-02-02 19:29:37 +01:00
34857eabbc Add spawn coordinates 2015-02-02 18:33:21 +01:00
db59b73856 Refactor info generation 2015-02-02 17:56:43 +01:00
22b9cfcb8b Move ressource files to a separate directory 2015-02-02 00:31:52 +01:00
143b9f6c78 Add support for biome colors, fix block type indices 2015-02-01 15:10:07 +01:00
8b09f6f4ec Handle lighting and depth 2015-02-01 14:02:04 +01:00
d26fe3d9f8 Write PNG files
No biome colors or light levels yet...
2015-02-01 11:58:50 +01:00
cbe6461882 Implement most of the chunk format 2015-02-01 00:27:01 +01:00
1e74afda41 Initial commit 2015-01-31 15:07:47 +01:00