Commit Graph

  • 4cf7705ba0 Merge branch 'markers' master Martijn Versteegh 2018-11-28 20:31:45 +01:00
  • c667872b9e Make --marker out easier to grep by prepending all lines with 'Marker:' Martijn Versteegh 2018-11-19 14:08:53 +01:00
  • 26ff5e7b90 Print the node metadata strings for the found marker nodes. Martijn Versteegh 2018-11-18 21:14:28 +01:00
  • ec14c0e2f6 Add 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
  • 8e1279ffdf Print location of certain block types. Martijn Versteegh 2018-11-05 12:23:14 +01:00
  • fa41e7bf01 Add utility to create zoom pyramids and write a leaflet html file. Martijn Versteegh 2018-11-28 19:40:19 +01:00
  • 45f285218d More 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
  • 9726656d2b Some 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
  • e4397212e9 Print warning on failure to write metadata file. Martijn Versteegh 2018-11-28 15:44:02 +01:00
  • ae5a1b8fbe Fix 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
  • 4752832fe8 Write 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
  • aa0506224e Put 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
  • 961f65974f Rename tilePositions() to sortPositionsIntoTiles() Martijn Versteegh 2018-11-26 22:29:38 +01:00
  • d41e6448ce Fix crash if the total map size is smaller than the tile size; Martijn Versteegh 2018-11-17 20:24:40 +01:00
  • fe5ba54fc9 Add 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
  • 7025cfe3bf Allow the playername labels/markers to cross image edges. Also the orgin circle. Martijn Versteegh 2018-11-14 12:17:16 +01:00
  • f7b0d5c532 Fix color2int, int2color alpha handling (libgd alpha is 0-127) Martijn Versteegh 2018-11-22 14:38:58 +01:00
  • 97c5dc0a83
    Fix typo in manpage sfan5 2018-11-11 13:20:07 +01:00
  • ee5b8a9f86 Add a flag to never output empty images. Martijn Versteegh 2018-10-31 16:18:29 +01:00
  • ac15bacf36 Make 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
  • b2406db169 Fix a few small issues sfan5 2018-10-20 23:01:03 +02:00
  • 657499e981 Fix incorrect exception types sfan5 2018-10-20 22:38:09 +02:00
  • f909304e1e Do not require -o to be passed when printing extents sfan5 2018-10-20 22:36:27 +02:00
  • 8e8cc3d1f2 Add an option to get the extent of the map. Martijn Versteegh 2018-10-20 17:40:01 +02:00
  • 48d9e0bb42
    Fix postgres build failure, closes #57 sfan5 2018-03-28 17:45:35 +02:00
  • 0a91fe6cbd Add Windows build script sfan5 2018-03-25 17:30:19 +02:00
  • 42395587b9
    Fix travis sfan5 2018-03-25 16:47:23 +02:00
  • d327a84841
    Update README sfan5 2018-03-25 16:42:45 +02:00
  • 0d9ed247f9 Finish refactor sfan5 2018-03-25 16:22:51 +02:00
  • b6ad40feb9 sqlite3 player backend support sfan5 2018-03-25 16:03:11 +02:00
  • 1f471b369b Refactoring (3) sfan5 2018-03-25 15:44:30 +02:00
  • 2f78c39d9c Refactoring (2) sfan5 2018-03-25 15:19:48 +02:00
  • 2ebc3afc7c Refactoring (1) sfan5 2018-03-25 14:32:11 +02:00
  • e543517eb8 Move include files sfan5 2018-03-25 14:12:39 +02:00
  • 405951f8f6 Update travis build process sfan5 2018-03-25 13:52:51 +02:00
  • a8f7b47000 Update colors.txt sfan5 2018-03-25 13:40:19 +02:00
  • 0f36b6e37a
    Fix subtly broken libgd version check sfan5 2018-03-24 18:40:21 +01:00
  • 6af6be4632 Re-add support for outdated libgd sfan5 2018-03-24 15:37:06 +01:00
  • 7c71138fec Minor refactoring (2) sfan5 2018-03-24 15:24:02 +01:00
  • c15adfd325 Minor refactoring sfan5 2018-03-24 14:54:45 +01:00
  • 75599e8569 Support all image formats offered by libgd sfan5 2018-03-24 14:16:30 +01:00
  • b16f93f183 Properly disable debugging code in Release builds sfan5 2018-03-24 14:05:34 +01:00
  • 976c690357 Improve exception messages for out-of-bounds image access sfan5 2018-03-24 14:05:10 +01:00
  • 7288e60cd2 Fix scales being drawn outside of image sfan5 2018-03-24 13:57:27 +01:00
  • cca7072eab put color values in quotes nekoswag 2018-02-01 14:18:00 +01:00
  • 179651e83c Fix failing travis build sfan5 2017-09-03 14:36:46 +02:00
  • 6afe1b78c5 Add support for Redis via UNIX domain sockets (#46) Jakub Vaněk 2017-09-03 14:27:59 +02:00
  • 25d1d43004 Update colors.txt sfan5 2017-06-06 12:57:00 +02:00
  • 4f7d2a5c83 Fix Postgres compilation (closes #45) sfan5 2017-03-14 13:48:26 +01:00
  • 21444d00c3 Add support for recent MapBlock serialization changes sfan5 2017-02-17 15:28:01 +01:00
  • 07c371f68c Write manpage based on README. Daniel Moerner 2017-01-17 11:49:15 -05:00
  • 95b2f46d7e Fix compilation without PostgreSQL sfan5 2017-01-14 15:33:25 +01:00
  • bc7d81eb62 Update README (postgresql support) sfan5 2017-01-08 23:27:45 +01:00
  • af502f3ac2 PostgreSQL database support zeuner 2017-01-08 23:24:09 +01:00
  • d490cf0a31 Fix drawing of transparent nodes without --drawalpha (fixes #41) sfan5 2017-01-05 23:37:21 +01:00
  • 9503f76805 Add links to Windows build to README sfan5 2016-12-18 21:30:52 +01:00
  • 34d6b413a6 Update colors.txt sfan5 2016-12-05 12:59:07 +01:00
  • 02e40d268b Fix travis sfan5 2016-11-19 00:01:27 +01:00
  • 0167a72967 Code style & comments sfan5 2016-11-18 23:57:09 +01:00
  • a41d231c34 Move everything that deals with images directly to an Image class sfan5 2016-11-18 23:34:31 +01:00
  • 77fdcd15fb Allow rendering (or omitting) scales at every image edge sfan5 2016-11-18 22:01:15 +01:00
  • 89ed5494cc DBRedis: Move some common code into macros sfan5 2016-10-21 21:11:46 +02:00
  • 9bbc4466ef DBRedis: use HMGET in getBlocksOnZ Christophe Le Roy 2016-10-09 00:57:52 +02:00
  • fabde97847 DBRedis: add HMGET Christophe Le Roy 2016-10-09 00:34:06 +02:00
  • 53706e811b DBRedis: add replyTypeStr Christophe Le Roy 2016-10-09 00:27:31 +02:00
  • 26b62933ed TileGenerator: free database resources (#38) Nestorfish 2016-10-13 23:26:59 +02:00
  • d83f0d9e8d CMake: Fix setting default value for CMAKE_BUILD_TYPE Nestorfish 2016-10-11 03:34:33 +02:00
  • c45965eb8d Improvements to Node name/ID mapping code Christophe Le Roy 2016-09-24 21:08:26 +02:00
  • 09945caa14 Fix small typo (std:cerr -> std::cerr) sfan5 2016-10-09 15:19:35 +02:00
  • bcbfd00eba DBSQLite3: Do not raise in destructor Christophe Le Roy 2016-10-08 21:09:52 +02:00
  • 0bf0d8e035 Fix color parsing code (prev. commit) sfan5 2016-10-08 21:58:56 +02:00
  • 173dd75b31 Simplify color parsing code sfan5 2016-10-08 13:39:07 +02:00
  • 3e2b327167 Update colors.txt sfan5 2016-10-08 13:31:03 +02:00
  • 877b514971 Automatically use C++11 features when available and remove USE_CXX11 flag sfan5 2016-10-06 00:08:27 +02:00
  • 13b485a75f Update travis build to new container infrastructure (w/o sudo) sfan5 2016-10-05 23:06:05 +02:00
  • 42b36ecdaa Fix crash on unknown option Nestorfish 2016-09-29 21:11:58 +02:00
  • 4db3040f2a Fix getting MapBlocks for abs(z) > 2048 with sqlite3 backend (fixed #31) sfan5 2016-09-18 14:33:13 +02:00
  • ae9321de1e Clarify format of --geometry in README sfan5 2016-09-18 13:32:26 +02:00
  • 79121ade27 Document --colors in README sfan5 2016-08-28 15:58:06 +02:00
  • c79b5ac5ab Remove a little debug code (oops...) sfan5 2016-08-09 17:36:43 +02:00
  • 6f1b8284f4 Search for colors.txt in multiple locations, fixes #27 sfan5 2016-08-09 17:31:56 +02:00
  • 73dab34d7c Allow specifying location of colors.txt file sfan5 2016-08-09 16:45:39 +02:00
  • ab167d1c68 Clarify license situation (closes #26) sfan5 2016-08-09 16:18:04 +02:00
  • 2ed45633a4 Warn on big image dimensions, fixes #14 sfan5 2016-08-09 16:04:58 +02:00
  • 15fae27b85 Zoom implementation (--zoom option) Florian Schüller 2016-07-06 21:45:38 +02:00
  • 7c1989a6b2 Improve README (fixes #30) sfan5 2016-08-05 16:12:51 +02:00
  • 2aa8619777 Update colors.txt sfan5 2016-05-16 12:50:33 +02:00
  • 464afcb3e9 Fix failing travis build (apt-get update missing) sfan5 2016-04-15 21:55:27 +02:00
  • 9b4d6a72e2 Update leveldb download URL in travis before_install script sfan5 2016-01-15 10:27:36 +01:00
  • 87292adcb4 Fix incorrect regexes in autogenerating-colors.txt and update colors.txt yet again sfan5 2016-01-15 10:20:05 +01:00
  • 0eb653d72b Update colors.txt and instructions for auto-generating it sfan5 2016-01-14 21:52:15 +01:00
  • ce759d7724 Fix --{min,max}-y, thanks to @PilzAdam sfan5 2015-10-29 23:13:41 +01:00
  • 6e30d4702c Update colors.txt sfan5 2015-05-01 11:44:54 +02:00
  • a361e4d1eb Rename some variables to make their purpose clearer sfan5 2015-03-18 22:49:19 +01:00
  • 70b75507fe Clarify function of thickness param of nodes sfan5 2015-03-18 22:22:10 +01:00
  • 80ad231b1f Add travis build status to README sfan5 2014-12-24 23:05:25 +01:00
  • 79968f2a35 Travis integration sfan5 2014-12-24 21:24:49 +01:00
  • 722f02d121 Add workaround for color.txt parsing on MinGW sfan5 2014-12-20 13:08:51 +01:00
  • 20b340e2ee Fix problems with USE_CXX11 sfan5 2014-12-20 12:31:39 +01:00
  • 1c47825d70 Fix number rounding, clarify comment and change var. names sfan5 2014-09-02 14:49:56 +02:00