Commit Graph

220 Commits

Author SHA1 Message Date
sfan5
f471554294 Fix ZstdDecompressor error check 2021-09-02 11:45:17 +02:00
sfan5
b0ca3d7066 Add support for map block version 29 2021-09-01 23:57:37 +02:00
sfan5
5c435f6459 Add simple functional test to CI 2021-08-27 20:53:16 +02:00
sfan5
8b563f409e Modernize CMake build script
also includes this fix: a24899bf2d
2021-08-27 17:30:42 +02:00
sfan5
f26070ef4f Switch from Travis-CI to Github Actions 2021-08-27 16:56:24 +02:00
sfan5
fd4c5dd232 Fix CMake version warning 2021-03-29 15:05:02 +02:00
sfan5
fa5c63cfc8 Rewrite colors.txt generation script for more functions and better usability 2020-12-24 16:43:02 +01:00
srinivas32
e88fcf0dd8
Added ppc64le architecture to travis-ci (#81) 2020-11-26 21:36:44 +01:00
clavinet
6bb818ac2f
Update Linux instructions in README (#78) 2020-06-01 13:35:41 +02:00
sfan5
8e83ce6464 Some more code modernization
also a few small performance improvements
2020-05-08 22:16:13 +02:00
sfan5
2979dc5b6b Fix compatibility of MapBlock decoding
also properly drop support for version < 22, which hasn't worked in years
2020-05-06 22:32:27 +02:00
sfan5
92f6b051a5 Fall back to sqlite3 if no backend set in world.mt
fixes #76
2020-04-23 17:23:05 +02:00
sfan5
2ae790c0b7 Improve --help output 20200328 2020-03-28 14:02:27 +01:00
sfan5
539bdbd30c Fix another bug in the Redis backend
introduced in 7ff2288
2020-03-28 00:56:11 +01:00
sfan5
48bf44c72d Fix minY/maxY calculation (closes #66) 2020-03-28 00:40:38 +01:00
sfan5
cb8341aeab Implement --exhaustive y mode as another database access optimization
This one works best when you have a wide area with low height (e.g. 10000x200x10000)
2020-03-28 00:14:47 +01:00
sfan5
7ff2288627 Optimize database access further by allowing "brute-force" queries instead of listing available blocks
Also adds a heuristic that will enable this behaviour automatically.
2020-03-27 23:38:18 +01:00
sfan5
5b264fd443 Rewrite DB class to allow backends to fully optimize block fetches 2020-03-27 20:30:13 +01:00
sfan5
ecc2b31f78 Rewrite config file parser
I noticed it didn't work correctly in some cases...
2020-03-27 19:33:42 +01:00
sfan5
04b9dffb11 Properly support -DENABLE_REDIS=TRUE even if library is not found 2020-03-27 16:27:55 +01:00
sfan5
84c4fc40f8 Fix bug introduced in 9096f70 2020-03-27 12:45:31 +01:00
sfan5
a160dc051c Sort out include path mess in CMakeLists 2020-03-27 11:19:25 +01:00
sfan5
9096f70188 C++11 code modernization 2020-03-26 23:14:47 +01:00
sfan5
1d678ffa82
Fix typo in manpage
closes #74
2019-10-17 15:10:04 +02:00
sfan5
2c16966d67 Update colors.txt 20191011 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
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 20180325 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