aboutsummaryrefslogtreecommitdiff
path: root/src/emerge.cpp
AgeCommit message (Collapse)Author
2016-05-27Move biome calculation to BiomeGenkwolekr
BiomeGen defines an interface that, given a set of BiomeParams, computes biomes for a given area using the algorithm implemented by that specific BiomeGen. This abstracts away the old system where each mapgen supplied the noises required for biome generation.
2016-02-09FindSpawnPos: Let mapgens decide what spawn altitude is suitableparamat
To avoid spawn search failing in new specialised mapgens Increase spawn search range to 4000 nodes Add getSpawnLevelAtPoint() functions to EmergeManager, class Mapgen and all mapgens Remove getGroundLevelAtPoint() functions from all mapgens except mgv6 (possibly to be re-added later in the correct form to return actual ground level) Make mgvalleys flag names consistent with other mapgens Remove now unused 'vertical spawn range' setting
2016-01-19EmergeManager: Do not queue duplicate block requestskwolekr
2016-01-14Add Valleys mapgen.Duane Robertson
2016-01-10Mgflat: Set blank default spflags. Unhideparamat
2015-11-23Mgfractal: Move julia set selection into formula parameterparamat
Improve default parameters Update and improve documentation Unhide mapgen, but is still unstable
2015-11-11Mapgen: Add flat mapgen in hidden formparamat
2015-10-16Refactor Thread class to improve readability and portabilitykwolekr
- Fix some incompatibilities with obscure platforms (AIX and WinCE) - Clean up Thread class interface - Add m_ prefix to private member variables - Simplify platform-dependent logic, reducing preprocessor conditional clauses and improving readibility - Add Thread class documentation
2015-10-14Rename macros with two leading underscoresShadowNinja
These names are reserved for the compiler/library implementations.
2015-10-14Always use errorstream for DEBUG_EXCEPTION_HANDLERShadowNinja
2015-10-06Mapgen: Add 4D fractal mapgenparamat
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-08-02Prepend "Lua: " before lua exceptionsBřetislav Štec
src/server.cpp src/emerge.cpp
2015-04-27Revert the upper-case PROJECT_NAME nonsense that was part of #2402sfan5
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-27Clean up and tweak build systemShadowNinja
* Combine client and server man pages. * Update unit test options and available databases in man page. * Add `--worldname` to man page. * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`. * Disable server build by default on all operating systems. * Make `ENABLE_FREETYPE` not fail if FreeType isn't found. * Enable LevelDB, Redis, and FreeType detection by default. * Remove the `VERSION_PATCH_ORIG` hack. * Add option to search for and use system JSONCPP. * Remove broken LuaJIT version detection. * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`. * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`. * Clean up style of CMake files.
2015-03-07Respect game mapgen flags and save world noise paramsngosang
2015-02-18Fix map_seed not changed when creating a new world after login to anotherfz72
2015-02-01Randomly generate seed if field blank for any Settings instancekwolekr
2015-01-27Write common mapgen params to map_meta.txt on world initializationkwolekr
2015-01-07Fix emerge thread not cleaning up emerge queue on shutdownsapier
2014-12-29Fix some lingering code style issueskwolekr
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-09Biomes: Make biome heat and humidity noise parameters user-configurablekwolekr
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-12Add Generator Element Management frameworkkwolekr
Add BiomeManager, OreManager, DecorationManager, and SchematicManager
2014-11-08Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, ↵paramat
blobs
2014-11-02Include mg_decoration.h, mg_ore.h from emerge.cpp to fix warningsKahrl
2014-11-01Split up mapgen.cppkwolekr
2014-10-26Add NodeResolver and clean up node name -> content ID resolution systemkwolekr
2014-09-21Split settings into seperate source and header filesShadowNinja
This also cleans up settings a bit
2014-07-12Remove indev mapgenproller
2014-07-12Remove math mapgenproller
2014-07-06Fix memory leak in EmergeManagerPilzAdam
2014-04-15Fix all warnings reported by clangSfan5
2014-04-09Add support for named threads (atm linux only)sapier
2014-02-15Add minetest.set_noiseparam_defaults() Lua APIkwolekr
2014-02-08Make flag strings clear specified flag with 'no' prefixkwolekr
Remove flagmask field from set_mapgen_params table Add small bits of needed documentation
2014-02-05Remove blank default values for emergequeue_limit_* settingskwolekr
Add checks for invalid user input for important settings Rename Settings::tryGet* to Settings::get*NoEx for consistency
2014-02-05Revert "Fix settings to honor numeric conversion errors"kwolekr
This reverts commit 3f376a092e1c16429fb52f24736e9da98aff4cd5.
2014-02-04Fix settings to honor numeric conversion errorssapier
Rename try* non exceptioning functions to *NoEx
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-31Add propper client initializationsapier
-add client states to avoid server sending data to uninitialized clients -don't show uninitialized clients to other players -propper client disconnect handling Minor comment fixes in server Minor bugfixes in connection -improved peer id calculation -honor NDEBUG flag -improved disconnect handling -increased initial send window Remove some dead code
2014-01-26Fix use of previously deallocated EmergeManagerkwolekr