Commit Graph

129 Commits

Author SHA1 Message Date
sfan5
79121ade27 Document --colors in README 2016-08-28 15:58:06 +02:00
sfan5
c79b5ac5ab Remove a little debug code (oops...) 2016-08-09 17:36:43 +02:00
sfan5
6f1b8284f4 Search for colors.txt in multiple locations, fixes #27
Locations (in order):
* <world path>/colors.txt
* $HOME/.minetest/colors.txt (Linux only)
* <share dir>/colors.txt (Linux only for now, defaults to /usr/local/share/minetest)
* current directory (<< this is the old behavior)
2016-08-09 17:35:15 +02:00
sfan5
73dab34d7c Allow specifying location of colors.txt file 2016-08-09 16:45:39 +02:00
sfan5
ab167d1c68 Clarify license situation (closes #26)
The original author agreed to the BSD license by pushing mireq/minetest-mapper-cpp@07067f443d to his own repository.
Thus the addition of a BSD license in commit 7e3e0a067c3a85f69d63f0849a1c621d45419ad9 was not a mistake and is valid.

This commit removes the LGPL license and unnecessary FreeBSD mention in COPYING (which isn't part of BSD 2-Clause anyway).
2016-08-09 16:18:04 +02:00
sfan5
2ed45633a4 Warn on big image dimensions, fixes #14 2016-08-09 16:04:58 +02:00
Florian Schüller
15fae27b85 Zoom implementation (--zoom option) 2016-08-09 15:35:36 +02:00
sfan5
7c1989a6b2 Improve README (fixes #30) 2016-08-05 16:12:51 +02:00
sfan5
2aa8619777 Update colors.txt 2016-05-16 12:50:33 +02:00
sfan5
464afcb3e9 Fix failing travis build (apt-get update missing) 2016-04-15 21:55:27 +02:00
sfan5
9b4d6a72e2 Update leveldb download URL in travis before_install script 2016-01-15 10:27:36 +01:00
sfan5
87292adcb4 Fix incorrect regexes in autogenerating-colors.txt and update colors.txt yet again 2016-01-15 10:20:05 +01:00
sfan5
0eb653d72b Update colors.txt and instructions for auto-generating it 2016-01-14 21:52:15 +01:00
sfan5
ce759d7724 Fix --{min,max}-y, thanks to @PilzAdam 2015-10-29 23:13:41 +01:00
sfan5
6e30d4702c Update colors.txt 2015-05-01 11:44:54 +02:00
sfan5
a361e4d1eb Rename some variables to make their purpose clearer 2015-03-18 22:49:19 +01:00
sfan5
70b75507fe Clarify function of thickness param of nodes 2015-03-18 22:22:10 +01:00
sfan5
80ad231b1f Add travis build status to README 2014-12-24 23:05:25 +01:00
sfan5
79968f2a35 Travis integration 2014-12-24 23:02:46 +01:00
sfan5
722f02d121 Add workaround for color.txt parsing on MinGW 2014-12-20 13:09:56 +01:00
sfan5
20b340e2ee Fix problems with USE_CXX11 2014-12-20 12:41:16 +01:00
sfan5
1c47825d70 Fix number rounding, clarify comment and change var. names 2014-09-02 14:49:56 +02:00
sfan5
b7f0a8a29a Fix --geometry producing wrong results 2014-09-01 18:42:50 +02:00
sfan5
88df29a6b3 Add CMake option to use C++11 features 2014-08-02 16:31:45 +02:00
sfan5
2cc1ffc543 Re-add --backend to allow overriding auto-detected backend 2014-07-11 10:54:50 +02:00
sfan5
bca8d3ce07 Improve error reporting if setting is not found 2014-07-08 15:31:01 +02:00
sfan5
e85a49873a Fix --drawalpha 2014-07-08 15:08:07 +02:00
sfan5
20691186b5 Read backend from world.mt, closes #6 2014-07-08 15:08:07 +02:00
sfan5
fe534d9026 Fix #2 2014-07-08 14:02:20 +02:00
sfan5
4076903980 Fix small bug in redis backend 2014-07-08 13:54:41 +02:00
sfan5
dff4589152 Improve color parsing, hopefully fixes #7 2014-05-21 15:16:29 +02:00
Sfan5
d8cfe79116 Better error reporting for LevelDB backend 2014-05-13 14:15:44 +02:00
Sfan5
925de1bb79 Fix default colors being wrong 2014-04-28 17:43:50 +02:00
Sfan5
79d338a90c Better error reporting for Redis backend 2014-04-28 17:37:04 +02:00
Sfan5
2553e44e8d Add redis database backend 2014-04-26 15:03:32 +02:00
ShadowNinja
22d3e401f8 Don't use a temporary table for block positions
This also moves database functions and data structures to db.h
2014-04-19 02:13:34 -04:00
ShadowNinja
3460dabae0 Add CPack files to .gitignore 2014-04-15 16:11:41 -04:00
Sfan5
21696249fa Revert "Fix compiling with clang"
This problem was caused by my incorrect configuration.
2014-04-12 21:51:17 +02:00
ShadowNinja
291b3c38e5 Fix typo in project name 2014-04-06 22:25:32 -04:00
Sfan5
2a4681d5c8 Tabs -> spaces 2014-04-03 20:38:09 +02:00
Sfan5
84d46ab8eb Add alpha transparency ability for blocks 2014-04-03 20:32:48 +02:00
Sfan5
6897ef85c7 Add package generation 2014-03-29 08:32:56 +01:00
Sfan5
10970290c2 Fix compiling with clang 2014-03-29 08:09:37 +01:00
Sfan5
abf6b5f7cd Some more explanation about LevelDB 2014-03-29 08:03:02 +01:00
ShadowNinja
ac04a7bc8a Remove embedding of colors.txt in executable 2014-03-28 17:40:00 -04:00
ShadowNinja
5905c34ec0 Significantly optimize LevelDB database backend 2014-03-28 17:38:56 -04:00
ShadowNinja
6e565e93d1 Prepare statements at startup and finalize them 2014-03-28 13:42:37 -04:00
Sfan5
66813a36b8 Clarify autogenerating colors 2014-03-26 17:36:23 +01:00
Rogier
d92ef319f1 Fix SEGV after failing to open output file: throw runtime error
The result of opening the file was not checked, resulting in a
NULL pointer dereference if it failed.
2014-03-26 16:31:42 +01:00
Rogier
a15bc30071 Fix computation of block number bounds (off-by-one)
The block numbers could be off by one due to incorrect rounding.

m_geom* now contain the minimum and maximum block numbers that
should be in the map.
2014-03-26 16:29:33 +01:00