summaryrefslogtreecommitdiff
path: root/src/mapgen.cpp
AgeCommit message (Collapse)Author
2015-01-04Add minetest.generate_ores() and minetest.generate_decorations()kwolekr
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-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-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-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-19Fix warningsproller
2014-04-18Remove liquid_finite and weatherproller
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-19Schematic: Read slice probability table from schematic descriptorskwolekr
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-11-17Decoration: Stop DecoSimple::resolveNodeNames from complaining about no node ↵kwolekr
name if decolist is used Fix warning message for spawnby nodes Prevent type-punning warning caused by casting enum to int
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-08-13Dont write directly to files but rather write and copy a tmp filePilzAdam
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-08-02Weather backward compatibilityproller
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-30Optimize liquid queue on generate map for liquid_finiteproller
2013-06-28Make generated water a shade darker to match up with older versionskwolekr
2013-06-27Add Lua on_mapgen_init callback, and minetest.set_mapgen_params APIkwolekr
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: Place decorations in mgv6, check if air or cignore before placementkwolekr
2013-06-17Decoration, Ore: Resolve node names on Mapgen initkwolekr
2013-06-17Decoration: Change divlen to sidelenkwolekr
2013-06-17Add initial Decoration support, many misc. improvements & modificationskwolekr
2013-05-19Remove no virtual dtor warnings, make MapgenParams contain actual NoiseParamskwolekr
2013-04-07Add param2 field for ores, some minor fixes and misc. code cleanupkwolekr
2013-04-07Fix black tree leaves, reduce above-ground cave shadowskwolekr
2013-04-07Add Mapgen V7, reorganize biomeskwolekr
2013-03-31Add Ore generation flags, implement ore absolute heightkwolekr