c667872b9eMake --marker out easier to grep by prepending all lines with 'Marker:'
Martijn Versteegh
2018-11-19 14:08:53 +01:00
26ff5e7b90Print the node metadata strings for the found marker nodes.
Martijn Versteegh
2018-11-18 21:14:28 +01:00
ec14c0e2f6Add partial node metadata decoding to BlockDecoder. Reads the key/value node metadata strings, but skips the inventories (for now).
Martijn Versteegh
2018-11-18 21:12:26 +01:00
8e1279ffdfPrint location of certain block types.
Martijn Versteegh
2018-11-05 12:23:14 +01:00
fa41e7bf01Add utility to create zoom pyramids and write a leaflet html file.
Martijn Versteegh
2018-11-28 19:40:19 +01:00
45f285218dMore added functionality for the Image class. - Save alpha channel when the file format supports it. - unscaled blitting functions. - drawPolygon function from libgd exposed. - make it possible to fill the alpha channel of an image. - add a crop() function. libgd's crop sometimes bugs, so implement is using blit. - add a Color::Gamma() function to make a color lighter or darker without worrying about over/underflows.
Martijn Versteegh
2018-11-28 20:11:11 +01:00
9726656d2bSome new functionality for the Image class. -const correctenss++ -Constructor to load from file. -scaleBlit function.
Martijn Versteegh
2018-11-15 12:35:10 +01:00
e4397212e9Print warning on failure to write metadata file.
Martijn Versteegh
2018-11-28 15:44:02 +01:00
ae5a1b8fbeFix Clang compilation. Apparently ofstream.open() only takes a char const * and not a std::string in Clang++;
Martijn Versteegh
2018-11-28 15:42:49 +01:00
4752832fe8Write metadata textfile with tile information, so a separate utility can easily generate a zoom pyramid.
Martijn Versteegh
2018-11-28 09:57:58 +01:00
aa0506224ePut the origin of the world in the corner of tile 0,0. Negative x/z will be put into negative tiles, so you can easily determine the tile location by dividing the x or z by 16*tileSize. This means the same area of the world will always end up in the same tile, independent of how much of the world is generated.
Martijn Versteegh
2018-11-27 10:51:17 +01:00
961f65974fRename tilePositions() to sortPositionsIntoTiles()
Martijn Versteegh
2018-11-26 22:29:38 +01:00
d41e6448ceFix crash if the total map size is smaller than the tile size;
Martijn Versteegh
2018-11-17 20:24:40 +01:00
fe5ba54fc9Add a --tilesize option. The produces tiled output way faster than repeatedly using --geometry because it only reads the databse once.
Martijn Versteegh
2018-11-14 12:34:52 +01:00
7025cfe3bfAllow the playername labels/markers to cross image edges. Also the orgin circle.
Martijn Versteegh
2018-11-14 12:17:16 +01:00
Fix typo in manpage
sfan5
2018-11-11 13:20:07 +01:00
ee5b8a9f86Add a flag to never output empty images.
Martijn Versteegh
2018-10-31 16:18:29 +01:00
ac15bacf36Make images exactly the size specified in geometry (as long as the geometry is a multiple of 16).
Martijn Versteegh
2018-10-12 20:49:54 +02:00
b2406db169Fix a few small issues
sfan5
2018-10-20 23:01:03 +02:00