Commit Graph

238 Commits

Author SHA1 Message Date
sfan5
40a5e16e21 Save a copy during zlib decompression 2024-04-20 21:38:05 +02:00
wsor4035
7e4caacb9e
Upgrade CI workflow packages and Ubuntu version (#101) 2024-02-17 20:54:03 +01:00
sfan5
e14f27f412 Add cautionary note about sat_mul() 2023-08-08 14:18:58 +02:00
Saria
7af222dd9d Fix dumpnodes crash on deprecated tile field name 2023-04-08 16:32:29 +02:00
Martin Petricek
c81cda24d3
Fix bad slicing interval for negative --min-y / --max-y values 2023-01-29 16:22:41 +01:00
sfan5
8a7333ef49 Fix package install in CI
shoutout to github for shipping broken OS images
2023-01-29 14:44:03 +01:00
sfan5
7fb3b9edd6 Fix Postgres linking on older CMake
(see 998e4820c9)
2022-06-19 14:14:09 +02:00
sfan5
18f0615002 Fix --drawplayers 2022-02-21 18:42:54 +01:00
sfan5
d75266eae1 Update colors.txt
with all nodes as of Minetest Game 5.5.0
2022-02-21 18:08:54 +01:00
sfan5
31b0d09a19 Warn if only unknown nodes seen
suggested by @Calinou
2022-02-09 23:09:32 +01:00
sfan5
e4bf375ac7 General code cleanups/maintenance 2022-02-09 23:09:32 +01:00
sfan5
b491dd375a Add --dumpblock flag for advanced use
This is not only useful for debugging minetestmapper itself but
also makes it a standalone tool for extracting data you want to work on
from a Minetest map.
2022-02-09 21:52:28 +01:00
sfan5
2e353312b5 Inherit custom exceptions from std::exception 2022-02-08 23:43:20 +01:00
sfan5
8e9805c3ff Fix overflowing multiplication leading to apparent hang
closes #88
2022-02-08 23:43:20 +01:00
sfan5
9b26d9495c
Update dependency list in README
fixes #87
2021-12-27 13:19:12 +01:00
sfan5
0198897306
Mention colors.txt generation in README
closes #86
2021-09-11 15:40:34 +02:00
sfan5
2f3a548881 Make MinGW build script work again 2021-09-03 22:02:35 +02:00
sfan5
ccd5d14962 Add progress bar during map generation
closes #82
2021-09-03 21:06:23 +02:00
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 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 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