10 Commits

Author SHA1 Message Date
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
addi
445071cad5 Fix various compiler warnings on MSVC
I tried to avoid casts whereever it was possible, but for some cases it wasn't.
2016-06-18 11:45:02 +02:00
Rogier
4d07f06362 Remove a bit of unneeded & unused code. 2016-06-17 10:05:11 +02:00
Rogier
03926420d0 Implement bounded block-list query for postgresql
i.e. allow minetestmapper to query the database for a list of
blocks in a specific range (corresponding to the requested geometry),
instead of always obtaining a full list off all blocks.

As postgresql is the only database which supports this efficiently,
this option is only effective for postgresql.
2016-01-17 10:37:51 +01:00
Rogier
46c070070a Implement an iterator for BlockPos 2015-03-10 17:47:29 +01:00
Rogier
216bc32a35 Improve sqlite access speed by using rowid in query if possible
The speedup is measurable, but not stellar.
2015-03-10 12:01:55 +01:00
Rogier
7c8a99599f Improve memory use of BlockPos 2015-03-03 08:29:04 +01:00
Rogier
66122c1c2e Freeminer database coordinate format support ('a<x>,<y>,<z>') 2014-06-18 10:12:44 +02:00
Rogier
7bdea466b3 Add NodeCoord (in preparation for future changes) 2014-05-23 13:47:40 +02:00
Rogier
bbf92d2ffa Split struct BlockPos into own header 2014-05-22 10:12:10 +02:00