aboutsummaryrefslogtreecommitdiff
path: root/src/emerge.h
AgeCommit message (Collapse)Author
2015-10-27Add DISABLE_CLASS_COPY macro (and use it)kwolekr
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.
2015-10-04Allow setting chunksize in core.set_mapgen_paramskwolekr
2015-10-04Hide mapgens from main menu not intended for end userskwolekr
2015-10-04Add emerge completion callback mechanismkwolekr
Major refactor of emerge.cpp and Map::init/finishBlockMake
2015-09-23Add /emergeblocks command and core.emerge_area() Lua APIkwolekr
2015-08-23Clean up threadingShadowNinja
* Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test.
2015-03-07Respect game mapgen flags and save world noise paramsngosang
2015-01-05Shorten ManualMapVoxelManipulator to MMVManipkwolekr
2014-12-29Mapgen: Use getBlockSeed2() for blockseeds (much better uniformity)kwolekr
2014-12-29Add core.get_mapgen_names() to Main Menu API (and use it)kwolekr
Also rewrite mapgen registration for static initialization
2014-12-29Expose mapgen parameters on scripting initkwolekr
Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
2014-12-06Rewrite generate notification mechanismkwolekr
Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files
2014-11-14Fix warnings and other misc. minor changeskwolekr
2014-11-12Add Generator Element Management frameworkkwolekr
Add BiomeManager, OreManager, DecorationManager, and SchematicManager
2014-11-01Split up mapgen.cppkwolekr
2014-02-15Add minetest.set_noiseparam_defaults() Lua APIkwolekr
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-26Fix use of previously deallocated EmergeManagerkwolekr
2013-12-15Replace SimpleThread by JThread now implementing same featuressapier
2013-12-14Add map feature generation notify Lua APIkwolekr
2013-12-08EmergeManager: Fix Lua mapgen override param handlingkwolekr
2013-08-15Add virtual destructor to IBackgroundBlockEmerger to silence warningKahrl
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-06-27Add Lua on_mapgen_init callback, and minetest.set_mapgen_params APIkwolekr
2013-06-27Add minetest.get_mapgen_object to APIkwolekr
2013-06-17Add initial Decoration support, many misc. improvements & modificationskwolekr
2013-05-19Fix nearly all warningskwolekr
2013-04-07Add Mapgen V7, reorganize biomeskwolekr
2013-03-24Add Ore infrastructure and l_register_ore()kwolekr
2013-02-26Fix most warnings, re-fix MSVC compile errorkwolekr
2013-02-25Misc. cleanup and minor fixeskwolekr
2013-02-25Add multi-Emerge thread supportkwolekr
2013-02-25Add emerge queue limit configurationkwolekr
2013-02-25Add global and per-peer queue limitskwolekr
2013-02-25Add emerge.cpp, initial EmergeThread changeskwolekr
- 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