15 Commits

Author SHA1 Message Date
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
ShadowNinja
dbf9e444b1 Split settings into seperate source and header files
This also cleans up settings a bit
2014-09-21 14:39:35 -04: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
sapier
9e871d011b Fix regression in leveldb backend 2014-07-07 00:06:06 +02:00
sfan5
b3e447928f Improve error reporting in leveldb backend 2014-07-06 21:20:40 +02:00
Sfan5
932519784b Fix LevelDB maps 2013-12-03 20:03:20 +01:00
kwolekr
a499f5f623 Don't continue trying to deserialize blank block data 2013-11-24 02:10:15 -05:00
kwolekr
eca52a4016 Do the same for LevelDB interface 2013-11-17 11:26:34 -05: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