434 Commits

Author SHA1 Message Date
Unknown
cc65df91ee Refactor CmakeLists.txt 2018-05-06 09:44:25 +02:00
Unknown
6f4445a596 Get version from Git 2018-05-06 09:44:08 +02:00
Unknown
683f4e9abc Add TrueType font renderer for libgd (currently disabled) 2018-05-05 07:01:19 +02:00
Unknown
6cfb0212d3 Add PaintEngine.h to cmake file 2018-04-29 20:07:36 +02:00
Unknown
b1f507634e Text gets converted by the PaintEngine 2018-04-29 20:04:46 +02:00
Unknown
face7c0b0f Use strong enum for blocklist prefetch state 2018-04-29 16:08:18 +02:00
Unknown
cc3ef4cbca Add RC file for Windows 2018-04-27 04:02:41 +02:00
Unknown
963e99200f Tidy up and modernize TileGenerator (Part 3) 2018-04-25 17:06:34 +02:00
Unknown
85eb82e088 Add support for PGSQL on travis and appveyor 2018-04-24 17:53:32 +02:00
Unknown
b195c126d2 Get postgresql working 2018-04-24 17:47:05 +02:00
Unknown
ef63050152 Enable leveldb on travis 2018-04-24 16:21:25 +02:00
Unknown
4f12a2b983 Improvement to mapblock deserialisation 2018-04-24 05:28:03 +02:00
Unknown
059675666f Fix Typo 2018-04-23 16:48:32 +02:00
Unknown
8f13b8575d Modernize Mapper class 2018-04-23 16:47:22 +02:00
Unknown
5e6b6999b1 Refactor TileGenerator 2018-04-22 16:58:33 +02:00
Unknown
15a4ed2b1b Tidy up and modernize TileGenerator (Part 2) 2018-04-17 19:57:18 +02:00
Unknown
0bba4bccfe Fix porting for Linux 2018-04-15 15:10:54 +02:00
Unknown
8062064193 Tidy up and modernize TileGenerator (Part 1) 2018-04-15 14:45:43 +02:00
Unknown
72d29f21f0 Fix access to uninitialized variable 2018-04-15 12:59:47 +02:00
Unknown
456189fd16 Refactor porting 2018-04-15 12:31:41 +02:00
Unknown
b5b3d29fa3 Tidy up Color 2018-04-14 12:37:28 +02:00
Unknown
b0eb0675d7 Refactor DataFileParser out of TileGenerator 2018-04-14 09:07:45 +02:00
Unknown
685b136563 Modernize db-sqlite3 2018-04-11 19:16:55 +02:00
Unknown
467e7cea54 Always use unordered map/set 2018-04-08 07:55:19 +02:00
Unknown
0292669a5e Use vector instead of ustring 2018-04-08 07:27:35 +02:00
Unknown
fb21462e8d strcasecmp might already defined in libgd header 2018-04-08 05:31:16 +02:00
Unknown
3e30542fe1 Implement time messurement 2018-04-08 05:30:29 +02:00
Unknown
de634f68c9 Leveldb fix 2018-03-27 10:14:07 +02:00
Unknown
c9219874e3 Refactor mapper class 2018-03-27 10:04:12 +02:00
Unknown
10aa0d2112 Add appveyor.yml for Appveyor builds 2018-03-26 09:49:01 +02:00
Unknown
84ba5d9948 Add support for leveldb 2018-03-26 09:25:19 +02:00
adrido
9d55309f01
Add travis and linux build support 2018-03-25 05:46:46 +02:00
Unknown
903bafe4d3 Allow CPack to generate a package 2018-03-24 07:49:21 +01:00
Unknown
2c978345c9 Redo CMake structure to be usable with VisualStudio+vcpkg 2018-03-23 12:34:52 +01:00
adrido
8d24dc454f Merge branch 'abstract-paintengine' 2017-10-16 12:21:02 +02:00
adrido
6b941202b8 Abstracting PaintEngine 2017-10-16 12:05:17 +02:00
adrido
020eafd7c6 Support for >=27 Mapblocks 2017-02-27 06:53:22 +01:00
Rogier
a270c6077b Add an option to prevent keeping sqlite3 database locked for too long
While prescanning a large database, minetestmapper may keep the database
locked for too long, causing minetest to complain, and even bail out
sometimes. Minetest will print warnings like:

	SQLite3 database has been locked for <duration>

The new option --sqlite3-limit-prescan-query-size limits the number
of records queried from the database in a single query, thus limiting
the duration of the lock.

If minetest kept the database locked for 1 second or more, *and* if
the database was modified in that time, minetestmapper will issue a warning,
and suggest using --sqlite3-limit-prescan-query-size.
2016-08-03 12:14:42 +02:00
Rogier
aa4d16ec96 Fix name of a variable in db-sqlite3.*
m_BlockPosList -> m_blockPosList
2016-08-03 11:31:38 +02:00
Rogier
2f4a917bb1 Add a function to obtain relative millisecond-timestamps
'Relative' in the sense that they can only sensibly compared to
another time value obtained using the same function during the
same program invocation.
2016-08-03 11:31:38 +02:00
Rogier
cbfb7e6979 Make cpack fail if the current git commit id does not match the one at cmake time.
cpack would happily build a package with an incorrect version.
2016-08-03 11:05:12 +02:00
Rogier
1ea50597a9 Fix compilation failure on FreeBSD using gcc4.x
(clang & gcc5 worked fine...)
2016-07-18 10:17:54 +02:00
Rogier
5629ac22df Remove some old debug code
Which also happened to cause compilation failure on FreeBSD + gcc
2016-07-18 10:17:47 +02:00
Rogier
9a9b83e638 Detect libstdc++ ABI incompatibility to allow compiling using clang again.
Currently, this is only relevant when using LevelDB, and a newer version
of libstdc++, which uses a different C++ ABI which clang does not yet support.

A symptom of the problem are unexpected linking failures, caused by undefined
symbols, while other symbols from the same library do not cause errors.

The solution is a workaround, that avoids using the offending symbols, at the
cost of reduced functionality. As this currently only affects the text of an
error message, the impact is minor.
2016-06-28 11:44:09 +02:00
Rogier
ee0903ea78 Move empty.cpp to the cmake directory
It is only needed for a compilation test by cmake.
2016-06-28 11:43:46 +02:00
Rogier
8436a92c57 Include targeted installation location in .tar.gz archive file name 2016-06-28 11:43:39 +02:00
Rogier
8e70740c7e Fix building on non-rpm systems when rpm is not installed 2016-06-25 09:41:04 +02:00
Rogier
a08af6d0c6 Fix misleading indentation & improve code clarity
Primarily to prevent gcc6 complaining about it, as in practise,
there was no impact on behavior or correctness at all.

At the same time, the code in question was adapted slightly to
clarify the intentions and effects.
2016-06-25 09:41:04 +02:00
Rogier
ecc93602fc gcc6 fix: main must be a function now...
The error was not in minetestmapper itself, but in the build infrastructure.
2016-06-25 09:41:04 +02:00
Rogier
7cfc0f9740 Small update to README.rst 2016-06-18 18:25:52 +02:00