ShadowNinja
2cb27a5fb6
Clean up database API and save the local map on an interval
2015-03-06 00:20:45 -05:00
Loic Blot
5abc50f077
Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ServerMap::listAllLoadedBlocks and their database backends.
...
This adds a speedup on database migration and /clearobjects command
2015-02-17 14:35:44 +01:00
kwolekr
66b0d25786
Add ability to delete MapBlocks from map
...
Also add a Lua API and chatcommand for this
2015-01-15 16:48:56 -05:00
sfan5
ba889166fd
Move MapBlock (de)serializing code out of Database class
2014-07-12 17:38:17 +02:00
kwolekr
77656b0723
Don't unload blocks if save failed
...
Improve error handling in saveBlock()
2014-07-07 01:20:25 -04:00
ShadowNinja
d3a6b0fd67
Revert binary database block position encoding
...
This reverts commits a2003b0d553c7223a61c75e5dad79ea68e058ba2 and 54ffe2e5de9ce44129f84f4748743f893b75fda7.
These weren't correct. Add a black magic warning instead.
2014-04-23 15:39:33 -04:00
ShadowNinja
79d04b43fa
Use binary operators rather than "Python modulo" in decoding block positions
2014-04-15 16:09:15 -04:00
ShadowNinja
4b244f1092
Replace usage of long long with u64/s64
2014-03-12 19:37:19 -04:00
Kahrl
7f7f54b581
Add license headers and remove useless includes
2013-09-10 16:09:30 +02:00
Sfan5
e3010b9862
Use STL containers instead of irr::core::list
2013-09-09 22:50:51 +02:00
Sfan5
4901d1e853
Make it compile
2013-09-09 22:50:50 +02:00
Ilya Zhuravlev
30af8e75d7
Add dummy and LevelDB database backends
2013-09-09 22:50:50 +02:00