summaryrefslogtreecommitdiff
path: root/src/map.h
Commit message (Collapse)AuthorAge
* Add DISABLE_CLASS_COPY macro (and use it)kwolekr2015-10-27
| | | | | | | | | Use this macro to disallow copying of an object using the assignment operator or copy constructor. This catches otherwise silent-but-deadly mistakes such as "ServerMap map = env->getMap();" at compile time. If so desired, it is still possible to copy a class, but it now requires an explicit call to memcpy or std::copy.
* Add emerge completion callback mechanismkwolekr2015-10-04
| | | | Major refactor of emerge.cpp and Map::init/finishBlockMake
* Add count based unload limit for mapblocksest312015-08-13
|
* Add core.find_nodes_with_meta() script APIkwolekr2015-05-05
|
* For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-07
| | | | NDEBUG is defined), replace those usages with persistent alternatives
* Don't start a server for map migrationShadowNinja2015-03-06
|
* Clean up database API and save the local map on an intervalShadowNinja2015-03-06
|
* ABMHandler and player_collisions use sequential read/write. Switch from ↵Loic Blot2015-03-04
| | | | | | std::list to std::vector * Also remove dead code Map::unloadUnusedData which is dead since a long time
* Replace std::list by std::vector into timerUpdate callsLoic Blot2015-02-17
|
* Replace std::list by std::vector into ServerMap::listAllLoadableBlocks ↵Loic Blot2015-02-17
| | | | | | ServerMap::listAllLoadedBlocks and their database backends. This adds a speedup on database migration and /clearobjects command
* Create empty default constructor for MapNodeCraig Robbins2015-01-18
|
* Add ability to delete MapBlocks from mapkwolekr2015-01-15
| | | | Also add a Lua API and chatcommand for this
* Shorten ManualMapVoxelManipulator to MMVManipkwolekr2015-01-05
|
* LuaVoxelManip: Remove blank allocatorkwolekr2014-12-29
|
* LuaVoxelManip: Add option to allocate blank datakwolekr2014-12-27
|
* Do not allow the m_transforming_liquid queue to increase until all RAM is ↵Craig Robbins2014-12-18
| | | | consumed
* Clean up rollbackShadowNinja2014-11-19
|
* Remove most exceptions from getNode() (and variants)Craig Robbins2014-11-14
|
* Update Mapgen VoxelManipulator on buffer invalidationkwolekr2014-09-01
|
* Move MapBlock (de)serializing code out of Database classsfan52014-07-12
|
* Don't copy back already generated blocks on map generationkwolekr2014-07-07
|
* Don't unload blocks if save failedkwolekr2014-07-07
| | | | Improve error handling in saveBlock()
* Remove MapVoxelManipulator not really used by anyonesapier2014-06-23
|
* Minor stability improvements in block emerge handlingsapier2014-06-15
|
* Remove liquid_finite and weatherproller2014-04-18
|
* ServerEnvironment: Remove direct dependency on EmergeManagerkwolekr2014-02-09
|
* Huge overhaul of the entire MapgenParams systemkwolekr2014-02-03
| | | | | | 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-06
| | | | | | | | | | | settings" The commit didn't work because the blocks weren't loaded yet. This reverts commit 22dbbf0a6fc9547f0dbdb7f6076337b8c6acd48b. Conflicts: minetest.conf.example
* Update mapgen params in ServerMap after Mapgen initkwolekr2013-12-14
|
* Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settingssweetbomber2013-12-05
|
* Add minetest.swap_nodeNovatux2013-11-30
|
* Fixed potential NULL pointer and leak when setting node metadataMetaDucky2013-11-29
|
* Actually fix weatherkwolekr2013-11-17
| | | | The real problem was that MapBlocks were not activated before getting sent to the client
* Weather: Clean up getHeat/getHumidity somewhatkwolekr2013-09-16
|
* Add license headers and remove useless includesKahrl2013-09-10
|
* Add dummy and LevelDB database backendsIlya Zhuravlev2013-09-09
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Decoration: Fix schematic probability mess with new MTS file versionkwolekr2013-08-11
|
* Weather supportproller2013-07-27
|
* Fix issue of VManip occasionally not blitting back blocks, and pitch black ↵kwolekr2013-06-27
| | | | lighting bug
* Add LuaVoxelManipkwolekr2013-06-27
|
* Add and implement setting max_clearobjects_extra_loaded_blocks.Kahrl2013-06-03
| | | | | Now Environment::clearAllObjects() unloads unused blocks in an interval defined by max_clearobjects_extra_loaded_blocks (default 4096).
* Set of changes to build mineTest using Visual Studio 11.0. These affectMukul Sati2013-03-24
| | | | | | | | | | | | | the following: 1. String concatenation in guiMainMenu.cpp - it is required for all individual strings to be of the same type <unicode/non-unicode>; adding explicit L qualifier before the other strings. 2. Correcting type of BlockMakeData to struct in place of class forward declarations. This information is used for name decoration by Visual Studio, leading to linker errors in case of mismatches. 3. Windows headers define max as a macro somewhere, leading to a compile time error in profiler.h; using () around function to prevent macro match from occurring.
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-11
|
* Merge pull request #482 from proller/liquidkwolekr2013-02-25
|\ | | | | finite liquid
| * new adjustable finite liquidproller2013-02-24
| |
* | Misc. cleanup and minor fixeskwolekr2013-02-25
| |
* | Add multi-Emerge thread supportkwolekr2013-02-25
| |
* | Add emerge.cpp, initial EmergeThread changeskwolekr2013-02-25
| | | | | | | | | | | | | | - Neatly placed all emerge related code into a new file, emerge.cpp - Greatly cleaned up the code in EmergeThread::Thread() - Reworked Emerge queue. Now an actual std::queue of v3s16 block positions - Removed the completely unnecessary map of peer ids requesting blocks
* | Update Copyright YearsSfan52013-02-24
| |