aboutsummaryrefslogtreecommitdiff
path: root/src/emerge.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add DISABLE_CLASS_COPY macro (and use it)kwolekr2015-10-271-0/+2
| | | | | | | | | 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.
* Allow setting chunksize in core.set_mapgen_paramskwolekr2015-10-041-0/+1
|
* Hide mapgens from main menu not intended for end userskwolekr2015-10-041-1/+2
|
* Add emerge completion callback mechanismkwolekr2015-10-041-34/+77
| | | | Major refactor of emerge.cpp and Map::init/finishBlockMake
* Add /emergeblocks command and core.emerge_area() Lua APIkwolekr2015-09-231-2/+6
|
* Clean up threadingShadowNinja2015-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | * 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.
* Respect game mapgen flags and save world noise paramsngosang2015-03-071-4/+1
|
* Shorten ManualMapVoxelManipulator to MMVManipkwolekr2015-01-051-1/+1
|
* Mapgen: Use getBlockSeed2() for blockseeds (much better uniformity)kwolekr2014-12-291-1/+0
|
* Add core.get_mapgen_names() to Main Menu API (and use it)kwolekr2014-12-291-5/+3
| | | | Also rewrite mapgen registration for static initialization
* Expose mapgen parameters on scripting initkwolekr2014-12-291-5/+0
| | | | | Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
* Rewrite generate notification mechanismkwolekr2014-12-061-1/+2
| | | | | | | Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files
* Fix warnings and other misc. minor changeskwolekr2014-11-141-1/+0
|
* Add Generator Element Management frameworkkwolekr2014-11-121-13/+19
| | | | Add BiomeManager, OreManager, DecorationManager, and SchematicManager
* Split up mapgen.cppkwolekr2014-11-011-2/+0
|
* Add minetest.set_noiseparam_defaults() Lua APIkwolekr2014-02-151-0/+1
|
* ServerEnvironment: Remove direct dependency on EmergeManagerkwolekr2014-02-091-9/+1
|
* Huge overhaul of the entire MapgenParams systemkwolekr2014-02-031-13/+8
| | | | | | 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.
* Fix use of previously deallocated EmergeManagerkwolekr2014-01-261-1/+4
|
* Replace SimpleThread by JThread now implementing same featuressapier2013-12-151-1/+1
|
* Add map feature generation notify Lua APIkwolekr2013-12-141-0/+2
|
* EmergeManager: Fix Lua mapgen override param handlingkwolekr2013-12-081-6/+7
|
* Add virtual destructor to IBackgroundBlockEmerger to silence warningKahrl2013-08-151-0/+1
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-141-46/+17
|
* Add Lua on_mapgen_init callback, and minetest.set_mapgen_params APIkwolekr2013-06-271-0/+9
|
* Add minetest.get_mapgen_object to APIkwolekr2013-06-271-1/+2
|
* Add initial Decoration support, many misc. improvements & modificationskwolekr2013-06-171-0/+1
|
* Fix nearly all warningskwolekr2013-05-191-2/+2
|
* Add Mapgen V7, reorganize biomeskwolekr2013-04-071-1/+22
|
* Add Ore infrastructure and l_register_ore()kwolekr2013-03-241-1/+2
|
* Fix most warnings, re-fix MSVC compile errorkwolekr2013-02-261-1/+1
|
* Misc. cleanup and minor fixeskwolekr2013-02-251-3/+5
|
* Add multi-Emerge thread supportkwolekr2013-02-251-7/+8
|
* Add emerge queue limit configurationkwolekr2013-02-251-4/+9
|
* Add global and per-peer queue limitskwolekr2013-02-251-17/+15
|
* Add emerge.cpp, initial EmergeThread changeskwolekr2013-02-251-0/+122
- 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