aboutsummaryrefslogtreecommitdiff
path: root/src/database.cpp
Commit message (Collapse)AuthorAge
* Modernize src/c* src/d* and src/e* files (#6263)Loïc Blot2017-08-17
| | | | | | | | | | | | | | | | | * 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)
* Player data to Database (#5475)Loïc Blot2017-04-23
| | | | | | | | | | | | * 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
* Clean up database API and save the local map on an intervalShadowNinja2015-03-06
|
* Revert binary database block position encodingShadowNinja2014-04-23
| | | | | | This reverts commits a2003b0d553c7223a61c75e5dad79ea68e058ba2 and 54ffe2e5de9ce44129f84f4748743f893b75fda7. These weren't correct. Add a black magic warning instead.
* Use bit shifts rather than multiplication in block position encodingShadowNinja2014-04-15
|
* Use binary operators rather than "Python modulo" in decoding block positionsShadowNinja2014-04-15
|
* Replace usage of long long with u64/s64ShadowNinja2014-03-12
|
* Add license headers and remove useless includesKahrl2013-09-10
|
* Add dummy and LevelDB database backendsIlya Zhuravlev2013-09-09