Commit Graph

43 Commits

Author SHA1 Message Date
sfan5
c15adfd325 Minor refactoring 2018-03-24 14:54:45 +01:00
sfan5
a41d231c34 Move everything that deals with images directly to an Image class 2016-11-18 23:34:31 +01:00
sfan5
77fdcd15fb Allow rendering (or omitting) scales at every image edge 2016-11-18 22:01:15 +01:00
Nestorfish
26b62933ed TileGenerator: free database resources (#38)
Destructor of DB* instance was never called.
Ensure it is, adding missing base class virtual destructor and calling delete when possible to free resources.
2016-10-13 23:26:59 +02:00
sfan5
877b514971 Automatically use C++11 features when available and remove USE_CXX11 flag 2016-10-06 00:09:06 +02:00
Florian Schüller
15fae27b85 Zoom implementation (--zoom option) 2016-08-09 15:35:36 +02:00
sfan5
a361e4d1eb Rename some variables to make their purpose clearer 2015-03-18 22:49:19 +01: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
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
925de1bb79 Fix default colors being wrong 2014-04-28 17:43:50 +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
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
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
Miroslav Bendík
7d15dbf4ed Added --geometry support. 2012-11-24 19:25:13 +01:00
Miroslav Bendík
5969c61e54 Removed hard size limit. 2012-11-24 18:43:48 +01:00
Miroslav Bendík
28e9450573 Zlib moved into separate module. 2012-09-18 10:43:34 +02:00
Miroslav Bendík
6133aff2f3 Small cast cleaning. 2012-09-18 10:15:50 +02:00
Miroslav Bendík
112ccc5d08 File colors.txt compiled into binary 2012-09-01 15:51:02 +02:00
Miroslav Bendík
5a2375e608 Added printing of unknown nodes. 2012-08-25 16:41:53 +02:00
Miroslav Bendík
8396275bf8 Implemented rendering of names. 2012-08-25 16:29:41 +02:00
Miroslav Bendík
3349bee3a4 Added draworigin. 2012-08-25 15:21:51 +02:00
Miroslav Bendík
a009d3e191 Added border support. 2012-08-25 14:11:55 +02:00
Miroslav Bendík
1aee368837 Implemented shading. 2012-08-25 13:21:28 +02:00
Miroslav Bendík
5ad849385a Moved static functions outside of class. 2012-08-25 07:49:46 +02:00
Miroslav Bendík
eca111cf15 Implemented generation of map. 2012-08-24 22:51:17 +02:00
Miroslav Bendík
18598bba3c Reading timers. 2012-08-24 14:48:55 +02:00
Miroslav Bendík
2319d5f0ed Added node name reading. 2012-08-24 14:13:46 +02:00
Miroslav Bendík
6743984e16 Added zlib decompressor. 2012-08-24 11:49:42 +02:00
Miroslav Bendík
231f48c529 Added sorting of blocks. 2012-08-24 11:01:48 +02:00
Miroslav Bendík
0b9adc95b7 Added storing of blocks. 2012-08-24 10:44:48 +02:00
Miroslav Bendík
6e653648b5 Added reading of data. 2012-08-24 09:46:14 +02:00
Miroslav Bendík
ace6f3b5b5 Added selection of blocks. 2012-08-23 15:35:00 +02:00
Miroslav Bendík
b7f69cc3df Added color parser. 2012-08-23 14:43:11 +02:00
Miroslav Bendík
0d8358d4e3 Added generation of background. 2012-08-23 14:21:34 +02:00
Miroslav Bendík
a6abd1445d Added calculation of image size. 2012-08-23 14:06:16 +02:00
Miroslav Bendík
65ae97f54b Added block position decoder. 2012-08-23 13:32:22 +02:00
Miroslav Bendík
957a72e2b4 Parsing of colors moved to TileGenerator. 2012-08-23 12:55:31 +02:00
Miroslav Bendík
3d54e5edaa Added class TileGenerator. 2012-08-23 12:46:22 +02:00