Commit Graph

209 Commits

Author SHA1 Message Date
Moved everything over to gitlab
0c80bd7c85
Merge b4e1145086 into 1d678ffa82 2019-10-17 15:17:38 +00:00
sfan5
1d678ffa82
Fix typo in manpage
closes #74
2019-10-17 15:10:04 +02:00
sfan5
2c16966d67 Update colors.txt 2019-10-11 21:46:07 +02:00
sfan5
3e8720313b Move travis to newest Ubuntu bionic 2019-07-30 21:06:28 +02:00
sfan5
037193eec8 Update colors.txt 2019-07-30 20:42:27 +02:00
sfan5
0fd3dc1e25 Improve color averaging and update colors.txt again
see https://sighack.com/post/averaging-rgb-colors-the-right-way
2019-03-09 15:33:38 +01:00
sfan5
cd0d1ad2a6 Update colors.txt
closes #73
2019-03-09 15:16:28 +01:00
Martijn Versteegh
b4e1145086 Because filesnames starting with a "-" are somewhat annoying to work with, prepend "tile_" to the tile filenames. 2019-01-15 10:17:17 +01:00
Martijn Versteegh
07b4aabde6 comment++ 2018-11-30 13:15:22 +01:00
Martijn Versteegh
1ab180c5d0 Also write zoom factor to metadata file. 2018-11-30 13:12:06 +01:00
Martijn Versteegh
e4397212e9 Print warning on failure to write metadata file. 2018-11-28 15:44:02 +01:00
Martijn Versteegh
ae5a1b8fbe Fix Clang compilation.
Apparently ofstream.open() only takes a char const * and not a std::string in Clang++;
2018-11-28 15:42:49 +01:00
Martijn Versteegh
4752832fe8 Write metadata textfile with tile information, so a separate utility can easily generate a zoom pyramid. 2018-11-28 13:31:27 +01:00
Martijn Versteegh
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.
2018-11-27 11:09:09 +01:00
Martijn Versteegh
961f65974f Rename tilePositions() to sortPositionsIntoTiles()
the first name was confusing.
2018-11-27 10:41:25 +01:00
Martijn Versteegh
d41e6448ce Fix crash if the total map size is smaller than the tile size; 2018-11-27 10:41:25 +01:00
Martijn Versteegh
fe5ba54fc9 Add a --tilesize option.
The produces tiled output way faster than repeatedly using --geometry
because it only reads the databse once.
2018-11-27 10:41:25 +01:00
Martijn Versteegh
7025cfe3bf Allow the playername labels/markers to cross image edges.
Also the orgin circle.
2018-11-27 10:41:25 +01:00
Martijn Versteegh
f7b0d5c532 Fix color2int, int2color alpha handling (libgd alpha is 0-127) 2018-11-22 21:05:13 +01:00
sfan5
97c5dc0a83
Fix typo in manpage
closes #64
2018-11-11 13:20:07 +01:00
Martijn Versteegh
ee5b8a9f86 Add a flag to never output empty images. 2018-11-01 13:10:28 +01:00
Martijn Versteegh
ac15bacf36 Make images exactly the size specified in geometry (as long as the geometry is a multiple of 16). 2018-11-01 13:10:28 +01:00
sfan5
b2406db169 Fix a few small issues
closes #58
2018-10-20 23:01:03 +02:00
sfan5
657499e981 Fix incorrect exception types 2018-10-20 22:38:09 +02:00
sfan5
f909304e1e Do not require -o to be passed when printing extents 2018-10-20 22:36:39 +02:00
Martijn Versteegh
8e8cc3d1f2 Add an option to get the extent of the map. 2018-10-20 22:32:33 +02:00
sfan5
48d9e0bb42
Fix postgres build failure, closes #57 2018-03-28 17:45:35 +02:00
sfan5
0a91fe6cbd Add Windows build script 2018-03-25 17:30:19 +02:00
sfan5
42395587b9
Fix travis 2018-03-25 16:47:23 +02:00
sfan5
d327a84841
Update README 2018-03-25 16:42:45 +02:00
sfan5
0d9ed247f9 Finish refactor 2018-03-25 16:25:41 +02:00
sfan5
b6ad40feb9 sqlite3 player backend support
fixes #47
2018-03-25 16:03:11 +02:00
sfan5
1f471b369b Refactoring (3) 2018-03-25 15:44:30 +02:00
sfan5
2f78c39d9c Refactoring (2) 2018-03-25 15:19:48 +02:00
sfan5
2ebc3afc7c Refactoring (1) 2018-03-25 14:32:11 +02:00
sfan5
e543517eb8 Move include files 2018-03-25 14:12:39 +02:00
sfan5
405951f8f6 Update travis build process 2018-03-25 13:58:18 +02:00
sfan5
a8f7b47000 Update colors.txt 2018-03-25 13:40:19 +02:00
sfan5
0f36b6e37a
Fix subtly broken libgd version check 2018-03-24 18:40:21 +01:00
sfan5
6af6be4632 Re-add support for outdated libgd 2018-03-24 16:56:17 +01:00
sfan5
7c71138fec Minor refactoring (2)
Also tunes --drawalpha to hide shadows in deep water better.
2018-03-24 15:24:02 +01:00
sfan5
c15adfd325 Minor refactoring 2018-03-24 14:54:45 +01:00
sfan5
75599e8569 Support all image formats offered by libgd 2018-03-24 14:16:56 +01:00
sfan5
b16f93f183 Properly disable debugging code in Release builds 2018-03-24 14:05:34 +01:00
sfan5
976c690357 Improve exception messages for out-of-bounds image access 2018-03-24 14:05:25 +01:00
sfan5
7288e60cd2 Fix scales being drawn outside of image
closes #54
2018-03-24 13:58:39 +01:00
nekoswag
cca7072eab put color values in quotes
the command line doesn't seem to like the "#" char, see https://forum.minetest.net/viewtopic.php?p=182380#p182380
2018-02-01 14:30:36 +01:00
sfan5
179651e83c Fix failing travis build 2017-09-03 14:36:46 +02:00
Jakub Vaněk
6afe1b78c5 Add support for Redis via UNIX domain sockets (#46) 2017-09-03 14:27:59 +02:00
sfan5
25d1d43004 Update colors.txt 2017-06-06 12:57:00 +02:00