aboutsummaryrefslogtreecommitdiff
path: root/src/map.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move globals from main.cpp to more sane locationsCraig Robbins2015-04-011-1/+0
| | | | | | | | | | | | 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
* Respect game mapgen flags and save world noise paramsngosang2015-03-071-28/+20
|
* For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-071-10/+9
| | | | NDEBUG is defined), replace those usages with persistent alternatives
* Don't start a server for map migrationShadowNinja2015-03-061-18/+23
|
* Clean up database API and save the local map on an intervalShadowNinja2015-03-061-45/+31
|
* ABMHandler and player_collisions use sequential read/write. Switch from ↵Loic Blot2015-03-041-62/+4
| | | | | | std::list to std::vector * Also remove dead code Map::unloadUnusedData which is dead since a long time
* Fix unused (and so, broken) enable_rollback_recording. This option must be ↵Loic Blot2015-02-181-2/+2
| | | | | | reloaded at server loop but loaded when server starts, for data consistency (not a hot load variable) ok @ShadowNinja
* Replace std::list by std::vector into ClientMap::updateDrawList, ↵Loic Blot2015-02-171-35/+23
| | | | | | Map::timerUpdate and ServerMap::save(). This will speedup the loop reading into those functions
* Replace std::list by std::vector into timerUpdate callsLoic Blot2015-02-171-4/+3
|
* Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ↵Loic Blot2015-02-171-2/+2
| | | | | | ServerMap::listAllLoadedBlocks and their database backends. This adds a speedup on database migration and /clearobjects command
* Fix missing map_meta.txt error when creating new worldskwolekr2015-01-271-10/+12
| | | | A missing map_meta.txt should be treated simply as if there were a blank file.
* Fix all warnings and remove -Wno-unused-but-set cflagkwolekr2015-01-181-3/+1
|
* Water fixesgregorycu2015-01-181-22/+19
| | | | | | | 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
* Create empty default constructor for MapNodeCraig Robbins2015-01-181-3/+12
|
* Add ability to delete MapBlocks from mapkwolekr2015-01-151-0/+17
| | | | Also add a Lua API and chatcommand for this
* Change UniqueQueue to use a queue and a set.unknown2015-01-151-4/+8
|
* Fix use of uninitialized dataCraig Robbins2015-01-141-2/+1
|
* Attempt to fix occasional issue of uninitialized MapBlock datakwolekr2015-01-121-1/+1
|
* Shorten ManualMapVoxelManipulator to MMVManipkwolekr2015-01-051-9/+8
|
* Fix -Wtype-limits warnings and remove disabling of -Wtype-limitsCraig Robbins2014-12-291-1/+5
|
* LuaVoxelManip: Remove blank allocatorkwolekr2014-12-291-23/+0
|
* LuaVoxelManip: Add option to allocate blank datakwolekr2014-12-271-1/+24
|
* Make limiting of the reflow liquids queue size optionalCraig Robbins2014-12-231-18/+15
| | | | | 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
* Do not allow the m_transforming_liquid queue to increase until all RAM is ↵Craig Robbins2014-12-181-2/+77
| | | | consumed
* Use std::string::empty() instead of size() where applicableAnton2014-12-121-4/+4
|
* Remove most exceptions from getNode() (and variants)Craig Robbins2014-11-141-209/+191
|
* Split up mapgen.cppkwolekr2014-11-011-1/+1
|
* Split settings into seperate source and header filesShadowNinja2014-09-211-21/+9
| | | | This also cleans up settings a bit
* Update Mapgen VoxelManipulator on buffer invalidationkwolekr2014-09-011-0/+25
|
* Save previously generated blocks on Mapgen blitbackkwolekr2014-09-011-1/+1
|
* Move MapBlock (de)serializing code out of Database classsfan52014-07-121-4/+38
|
* Don't copy back already generated blocks on map generationkwolekr2014-07-071-5/+5
|
* Don't unload blocks if save failedkwolekr2014-07-071-8/+11
| | | | Improve error handling in saveBlock()
* Remove MapVoxelManipulator not really used by anyonesapier2014-06-231-166/+3
|
* Remove emerge and speedup addArea by using memcopy instead of one by one ↵sapier2014-06-231-6/+6
| | | | assignment
* Minor stability improvements in block emerge handlingsapier2014-06-151-15/+16
|
* Fix warningsproller2014-04-191-1/+0
|
* Remove liquid_finite and weatherproller2014-04-181-475/+0
|
* Add redis database backendSfan52014-04-161-0/+7
|
* Fix all warnings reported by clangSfan52014-04-151-1/+3
|
* ServerEnvironment: Remove direct dependency on EmergeManagerkwolekr2014-02-091-2/+14
|
* Huge overhaul of the entire MapgenParams systemkwolekr2014-02-031-53/+20
| | | | | | 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.
* Revert "Improve (re)spawn, add cache_block_before_spawn and max_spawn_height ↵ShadowNinja2014-01-061-43/+35
| | | | | | | | | | | settings" The commit didn't work because the blocks weren't loaded yet. This reverts commit 22dbbf0a6fc9547f0dbdb7f6076337b8c6acd48b. Conflicts: minetest.conf.example
* Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settingssweetbomber2013-12-051-35/+43
|
* Cleanup jthread and fix win32 buildsapier2013-12-011-10/+8
|
* Add minetest.swap_nodeNovatux2013-11-301-6/+8
|
* Fixed potential NULL pointer and leak when setting node metadataMetaDucky2013-11-291-11/+8
|
* Actually fix weatherkwolekr2013-11-171-28/+35
| | | | The real problem was that MapBlocks were not activated before getting sent to the client
* Weather: Fix uninitialized weather_update_time (sorry proller)kwolekr2013-11-091-0/+2
|
* Accept hexadecimal and string values for seedskwolekr2013-11-041-1/+1
|