aboutsummaryrefslogtreecommitdiff
path: root/src/database.h
AgeCommit message (Collapse)Author
2016-12-24Move PP() and PP2() macros to basic_macros.hRogier
Instead of redefining them everywhere.
2016-05-17DB::loadBlock copy removal & DB backend cleanupLoic Blot
* Remove the copy from db::loadBlock by using a pointer to the destination * cleanup db backend, the child backend doesn't have to set their functions as virtual
2015-03-06Clean up database API and save the local map on an intervalShadowNinja
2015-02-17Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ↵Loic Blot
ServerMap::listAllLoadedBlocks and their database backends. This adds a speedup on database migration and /clearobjects command
2015-01-15Add ability to delete MapBlocks from mapkwolekr
Also add a Lua API and chatcommand for this
2014-07-12Move MapBlock (de)serializing code out of Database classsfan5
2014-07-07Don't unload blocks if save failedkwolekr
Improve error handling in saveBlock()
2014-04-23Revert binary database block position encodingShadowNinja
This reverts commits a2003b0d553c7223a61c75e5dad79ea68e058ba2 and 54ffe2e5de9ce44129f84f4748743f893b75fda7. These weren't correct. Add a black magic warning instead.
2014-04-15Use binary operators rather than "Python modulo" in decoding block positionsShadowNinja
2014-03-12Replace usage of long long with u64/s64ShadowNinja
2013-09-10Add license headers and remove useless includesKahrl
2013-09-09Use STL containers instead of irr::core::listSfan5
2013-09-09Make it compileSfan5
2013-09-09Add dummy and LevelDB database backendsIlya Zhuravlev