aboutsummaryrefslogtreecommitdiff
path: root/src/map.cpp
AgeCommit message (Collapse)Author
2015-08-02Add map limit config optionrubenwardy
2015-05-17Record MapBlock modification reasons as flags instead of stringskwolekr
This improves performance of MapBlock::raiseModified by a factor of 6. Also, clean up mapblock.h a bit and inline small functions.
2015-05-08Ensure that Map::findNodesWithMetadata() reports nodes strictly within the ↵kwolekr
node-granular area
2015-05-05Add core.find_nodes_with_meta() script APIkwolekr
2015-04-01Move globals from main.cpp to more sane locationsCraig Robbins
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
2015-03-07Respect game mapgen flags and save world noise paramsngosang
2015-03-07For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins
NDEBUG is defined), replace those usages with persistent alternatives
2015-03-06Don't start a server for map migrationShadowNinja
2015-03-06Clean up database API and save the local map on an intervalShadowNinja
2015-03-04ABMHandler and player_collisions use sequential read/write. Switch from ↵Loic Blot
std::list to std::vector * Also remove dead code Map::unloadUnusedData which is dead since a long time
2015-02-18Fix unused (and so, broken) enable_rollback_recording. This option must be ↵Loic Blot
reloaded at server loop but loaded when server starts, for data consistency (not a hot load variable) ok @ShadowNinja
2015-02-17Replace std::list by std::vector into ClientMap::updateDrawList, ↵Loic Blot
Map::timerUpdate and ServerMap::save(). This will speedup the loop reading into those functions
2015-02-17Replace std::list by std::vector into timerUpdate callsLoic Blot
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-27Fix missing map_meta.txt error when creating new worldskwolekr
A missing map_meta.txt should be treated simply as if there were a blank file.
2015-01-18Fix all warnings and remove -Wno-unused-but-set cflagkwolekr
2015-01-18Water fixesgregorycu
Change must_reflow to a deque Add overload for MapBlock::raiseModified that takes a const char*. This is a speed improvement. Comment out unused variable Optimisations to block offset calculations
2015-01-18Create empty default constructor for MapNodeCraig Robbins
2015-01-15Add ability to delete MapBlocks from mapkwolekr
Also add a Lua API and chatcommand for this
2015-01-15Change UniqueQueue to use a queue and a set.unknown
2015-01-14Fix use of uninitialized dataCraig Robbins
2015-01-12Attempt to fix occasional issue of uninitialized MapBlock datakwolekr
2015-01-05Shorten ManualMapVoxelManipulator to MMVManipkwolekr
2014-12-29Fix -Wtype-limits warnings and remove disabling of -Wtype-limitsCraig Robbins
2014-12-29LuaVoxelManip: Remove blank allocatorkwolekr
2014-12-27LuaVoxelManip: Add option to allocate blank datakwolekr
2014-12-23Make limiting of the reflow liquids queue size optionalCraig Robbins
If liquid_queue_purge_time == 0 then disable the queue size limiting and make this the default setting Additionally, liquid_loop_max now defaults to 100000
2014-12-18Do not allow the m_transforming_liquid queue to increase until all RAM is ↵Craig Robbins
consumed
2014-12-12Use std::string::empty() instead of size() where applicableAnton
2014-11-14Remove most exceptions from getNode() (and variants)Craig Robbins
2014-11-01Split up mapgen.cppkwolekr
2014-09-21Split settings into seperate source and header filesShadowNinja
This also cleans up settings a bit
2014-09-01Update Mapgen VoxelManipulator on buffer invalidationkwolekr
2014-09-01Save previously generated blocks on Mapgen blitbackkwolekr
2014-07-12Move MapBlock (de)serializing code out of Database classsfan5
2014-07-07Don't copy back already generated blocks on map generationkwolekr
2014-07-07Don't unload blocks if save failedkwolekr
Improve error handling in saveBlock()
2014-06-23Remove MapVoxelManipulator not really used by anyonesapier
2014-06-23Remove emerge and speedup addArea by using memcopy instead of one by one ↵sapier
assignment
2014-06-15Minor stability improvements in block emerge handlingsapier
2014-04-19Fix warningsproller
2014-04-18Remove liquid_finite and weatherproller
2014-04-16Add redis database backendSfan5
2014-04-15Fix all warnings reported by clangSfan5
2014-02-09ServerEnvironment: Remove direct dependency on EmergeManagerkwolekr
2014-02-03Huge overhaul of the entire MapgenParams systemkwolekr
MapgenParams is no longer a polymorphic class, eliminating the need for messy and bug-prone reallocations. Separation between the common and mapgen-specific parameters is now strongly defined. Mapgen parameters objects are now properly encapsulated within the proper subsystems.
2014-01-06Revert "Improve (re)spawn, add cache_block_before_spawn and max_spawn_height ↵ShadowNinja
settings" The commit didn't work because the blocks weren't loaded yet. This reverts commit 22dbbf0a6fc9547f0dbdb7f6076337b8c6acd48b. Conflicts: minetest.conf.example
2013-12-05Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settingssweetbomber
2013-12-01Cleanup jthread and fix win32 buildsapier
2013-11-30Add minetest.swap_nodeNovatux