Commit Graph

108 Commits

Author SHA1 Message Date
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
Sfan5
ec037dd924 Fix --min-y and --max-y handling 2014-03-26 16:28:24 +01:00
Sfan5
f8edccffb7 Small optimization 2014-03-22 09:30:14 +01:00
Sfan5
5bf2039bbb Make sure whole map is always drawn 2014-03-16 20:55:09 +01:00
Sfan5
0ff8f026ba Actually use the xxd binary that was found 2014-03-14 22:50:27 +01:00
Sfan5
2e848b9d8e Clarify where you can get xxd 2014-03-14 22:49:00 +01:00
Sfan5
ec244bedcf Added better (automatically generated) colors.txt
Instructions for generating one yourself are in autogenerating-colors.txt
2014-03-14 22:05:35 +01:00
Sfan5
46023f77f5 Make it (almost) compile for windows 2014-03-09 12:32:13 +01:00
Sfan5
b2896331cd Allow selecting include dir & library for zlib 2014-03-09 12:27:19 +01:00
Sfan5
19c7485339 Allow selecting include dir & library for libgd 2014-03-09 12:19:12 +01:00
Sfan5
0a5a0d0d51 Fix sqlite3 not being usable as backend 2014-03-05 22:40:01 +01:00
Sfan5
7e3e0a067c Add license (BSD license) 2014-03-05 21:49:08 +01:00
Sfan5
c497397111 Catch SQLITE_BUSY and try again 2014-03-05 21:46:40 +01:00
Sfan5
393d7e2ac0 LevelDB support 2014-03-05 21:42:21 +01:00
Sfan5
15444ff8f6 Add --min-y and --max-y options 2014-03-05 18:06:05 +01:00
Sfan5
33f323b1e3 Add --noshading option, Fix SIGABRT because of uncaught exception when any exception occured 2014-03-05 17:20:06 +01:00
Sfan5
3be2d489e2 Tweak .gitignore 2014-03-05 16:40:18 +01:00
Sfan5
9f4d9f025c Tweak CMakeLists.txt 2014-03-05 16:39:35 +01:00
ShadowNinja
7d81fc3b11 Update README 2013-08-14 15:44:03 -04:00
ShadowNinja
de94ab8aa6 Fix usage text and rename executable 2013-07-29 12:16:08 -04:00
ShadowNinja
35f89df2cd Add generated files to .gitignore 2013-07-29 12:03:11 -04:00
ShadowNinja
6b511e5e79 Fix unknown nodes showing up as black 2013-03-18 14:12:02 -04:00