| Commit message (Collapse) | Author | Age |
|
|
|
| |
Also fix itemFits and remove constness-nonsense
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) (#5984)
* C++11 patchset 9: move hardcoded init parameters to class definitions
C++11 introduced the possibility to define the default values directly in class definitions, do it on current code
Also remove some unused attributes
* CollisionInfo::bouncy
* collisionMoveResult::collides_xy
* collisionMoveResult::standing_on_unloaded
* Clouds::speed
* More constructor cleanups + some variables removal
* remove only write guiFormSpecMenu::m_old_tooltip
* move header included inside defintions in genericobject.h
* remove some unused since years exception classes
* remove unused & empty debug_stacks_init
* remove unused & empty content_nodemeta_serialize_legacy
* remove forgotten useless bool (bouncy) in collision.cpp code
|
|
|
|
|
|
| |
This increases size of the getTime return values to 64 bits.
It also removes the TimeGetter classes since the getTime functions
are now very precise.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Fixes #4137
|
| |
|
|
|
|
|
| |
* 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
|
|
|
|
| |
And replace manual tests for error with SQLOK() where possible.
|
|
|
|
|
|
| |
This allows other applications (e.g. minetestmapper) to interrogate
the database while minetest is running, without causing an almost
certain minetest crash.
|
|
|
|
| |
Remove DTIME macro and its uses, too
|
|
|
|
|
| |
This fixes a segfault when the database is shut down
before it finishes connecting and setting up.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move debug streams to log.cpp|h
Move GUI-related globals to clientlauncher
Move g_settings and g_settings_path to settings.cpp|h
Move g_menuclouds to clouds.cpp|h
Move g_profiler to profiler.cpp|h
|
|
|
|
| |
NDEBUG is defined), replace those usages with persistent alternatives
|
| |
|
|
|
|
|
|
| |
ServerMap::listAllLoadedBlocks and their database backends.
This adds a speedup on database migration and /clearobjects command
|
|
|
|
| |
This fixes issue #2219
|
|
|
|
| |
Also add a Lua API and chatcommand for this
|
|
|
|
| |
This also cleans up settings a bit
|
| |
|
| |
|
|
|
|
| |
Improve error handling in saveBlock()
|
|
|
|
| |
mapblock there
|
| |
|
|
|
|
|
| |
Add error output on fail to shutdown sqlite3 map db
Implement shutdown of sqlite3 rollback db
|
| |
|
| |
|
|
|
|
| |
Fix screwed-up indentation
|
| |
|
| |
|
| |
|
| |
|
|
|