Add and implement setting max_clearobjects_extra_loaded_blocks.
authorKahrl <kahrl@gmx.net>
Sun, 2 Jun 2013 13:35:29 +0000 (15:35 +0200)
committerKahrl <kahrl@gmx.net>
Mon, 3 Jun 2013 18:09:32 +0000 (20:09 +0200)
commite988df0fbdd9d568889a28640c189ae022e99f8e
treefcbef3860ce8a2f88729490021fcffa20471e3df
parentb89c79e905fb6d8187c066652657c70ccb18b07d
Add and implement setting max_clearobjects_extra_loaded_blocks.

Now Environment::clearAllObjects() unloads unused blocks in an interval
defined by max_clearobjects_extra_loaded_blocks (default 4096).
minetest.conf.example
src/defaultsettings.cpp
src/environment.cpp
src/map.cpp
src/map.h