aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen.h
AgeCommit message (Collapse)Author
2015-03-31GenElementManager: Pass opaque handles to Lua and rename to ObjDefManagerkwolekr
Add core.clear_registered_schematics() and refactor schematics somewhat
2015-03-23Add core.register_schematic() and cache schematics on usekwolekr
2015-03-20Revert "Fix issue #2441: crash on respawn, since a conversion std::list to ↵kwolekr
std::vector on Environment.cpp" This reverts parts of commit 9749d9fee6db99da1ab861dc04ec63ef973db3e0, which breaks node resolver list clearing
2015-03-10Silence Clang warningShadowNinja
2015-03-08Heightmaps: Fix uninitialised values in mgv5/mgv6. findGroundLevel: Return ↵paramat
-MAP_GENERATION_LIMIT if surface not found
2015-03-07Respect game mapgen flags and save world noise paramsngosang
2015-03-06Fix mapgen using unitialised height map valuesCraig Robbins
2015-03-05Fix issue #2441: crash on respawn, since a conversion std::list to ↵Loic Blot
std::vector on Environment.cpp * Also change some std::list to std::vector for ClientMap::renderMap * Remove disabled code in ClientMap::renderMap, disabled since a long time
2015-01-05Shorten ManualMapVoxelManipulator to MMVManipkwolekr
2015-01-05Optionally specify propagateSunlight area in calcLightingkwolekr
This fixes the Mapgen V5 calcLighting segfault
2015-01-04Lighting: Fix nearly all issueskwolekr
The cause of a single light source seemingly being lit without spread was due to its creation in the +Y mapblock boundary layer during map generation, which was ignored as the overtop. This overtop explicitly needs to be omitted during sunlight propagation, however. To accomplish this, Mapgen::calcLighting() was split into separate functions taking separate parameters. Additionally, do not diminish light too early during spread. This fixes the output inconsistency between Map::updateLighting and Mapgen::calcLighting.
2014-12-29Mapgen: Use getBlockSeed2() for blockseeds (much better uniformity)kwolekr
2014-12-27Redefine NodeResolver interface and replace with callback mechanismkwolekr
2014-12-12Add minetest.clear_registered_decorations() and clear_registered_ores()kwolekr
2014-12-10Biome API: Reduce heat and humidity persistences to 0.5paramat
2014-12-09Biomes: Make biome heat and humidity noise parameters user-configurablekwolekr
2014-12-06Add minetest.clear_registered_biomes() apikwolekr
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-15Fix double free bug when server is shut downCraig Robbins
Thanks @oleastre
2014-11-13Fix compilation under some Linux distributionskwolekr
2014-11-12Add Generator Element Management frameworkkwolekr
Add BiomeManager, OreManager, DecorationManager, and SchematicManager
2014-11-01Split up mapgen.cppkwolekr
2014-10-29Refactor decoration-related codekwolekr
Split up ModApiMapgen::l_register_decoration() Define and make use of CONTAINS() and ARRLEN() macros
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-04-15Fix all warnings reported by clangSfan5
2014-02-15Schematic: Add force_placement parameter to minetest.place_structure 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-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-12Mapgen V6: Add flag to stop mud flowkwolekr
2013-12-14Add map feature generation notify Lua APIkwolekr
2013-12-08EmergeManager: Fix Lua mapgen override param handlingkwolekr
2013-12-01Decoration: Add schematic Y-slice probability supportkwolekr
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-08-13Remove farmeshKahrl
2013-08-11Decoration: Fix schematic probability mess with new MTS file versionkwolekr
2013-08-03Add replacements to schematicsPilzAdam
2013-08-02Allow multiple 'wherein' nodes in oredefPilzAdam
2013-07-08Decoration: Handle facedir and wallmounted param2types with schematic rotationkwolekr
2013-07-06Decoration: Remove usage of multi-character constantskwolekr
2013-07-06Mapgen V7: Huge rewrite, also tweaks to cavegen et al.kwolekr
2013-07-01Decoration: Add schematic rotation supportkwolekr
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-27Add LuaVoxelManipkwolekr
2013-06-22Decoration: Add support for zero probability, fix breakage from last commitkwolekr
2013-06-22A handful of minor fixes to various thingskwolekr
2013-06-22Decoration: Add Schematic decoration typekwolekr
2013-06-17Decoration: Change divlen to sidelenkwolekr
2013-06-17Add initial Decoration support, many misc. improvements & modificationskwolekr