aboutsummaryrefslogtreecommitdiff
path: root/src/database.cpp
AgeCommit message (Collapse)Author
2017-11-08Move files to subdirectories (#6599)Vitaliy
* Move files around
2017-08-17Modernize src/c* src/d* and src/e* files (#6263)Loïc Blot
* Modernize src/c* src/d* and src/e* files * default operator * redundant init * delete default constructors on CraftDefinition childs (never used) * fix some missing init values * const ref fix reported by clang-tidy * ranged-based for loops * simple conditions & returns * empty stl function instead of size * emplace_back stl function instead of push_back + construct temp obj * auto for some iterators * code style fixes * c++ stl headers instead of C stl headers (stdio.h -> cstdio)
2017-04-23Player data to Database (#5475)Loïc Blot
* Player data to Database Add player data into databases (SQLite3 & PG only) PostgreSQL & SQLite: better POO Design for databases Add --migrate-players argument to server + deprecation warning * Remove players directory if empty
2015-03-06Clean up database API and save the local map on an intervalShadowNinja
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 bit shifts rather than multiplication in block position encodingShadowNinja
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-09Add dummy and LevelDB database backendsIlya Zhuravlev