aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_v6.h
AgeCommit message (Collapse)Author
2017-11-08Move files to subdirectories (#6599)Vitaliy
* Move files around
2017-08-20Mgv6: Remove incorrectly defined and unused 'volume nodes'paramat
2017-08-18Modernize various files (src/m*) (#6267)Loïc Blot
* Modernize various files (src/m*) * range-based for loops * code style * C++ headers instead of C headers * Default operators * empty function Thanks to clang-tidy
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
2017-06-17Cpp11 initializers 2 (#5999)Loïc Blot
* C++11 patchset 10: continue cleanup on constructors * Drop obsolete bool MainMenuData::enable_public (setting is called with cURL in server loop) * More classes cleanup * More classes cleanup + change NULL tests to boolean tests
2017-06-15Mgv6 mudflow: Avoid partially removed stacked decorationsparamat
Recently we started to remove decorations if the dirt below was flowed away, but this did not check for stacked decorations, causing them to have only their lowest node removed. Also, placed mud could partially bury stacked decorations. Remove 'old_is_water' bool which on testing is never true. Add new function 'moveMud()' to reduce indentation. Remove stacked decoration nodes above a removed decoration. Remove stacked decorations partially buried in placed mud.
2017-05-26Mapgen files: Update and correct copyright creditsparamat
2017-02-04Mgv6: Add stairs to desert stone dungeonsparamat
As with the other mapgens, now that wide stairs in dungeons are possible we can now finally add stairs to desert stone dungeons. Re-order some lines.
2016-07-03Add MapSettingsManager and new mapgen setting script API functionskwolekr
This commit refactors the majority of the Mapgen settings system. - MapgenParams is now owned by MapSettingsManager, itself a part of ServerMap, instead of the EmergeManager. - New Script API functions added: core.get_mapgen_setting core.get_mapgen_setting_noiseparams, core.set_mapgen_setting, and core.set_mapgen_setting_noiseparams. - minetest.get/set_mapgen_params are deprecated by the above new functions. - It is now possible to view and modify any arbitrary mapgen setting from a mod, rather than the base MapgenParams structure. - MapgenSpecificParams has been removed.
2016-07-03Mapgen: Refactor mapgen creation and managementkwolekr
- Move mapgen creation logic out of EmergeManager and into Mapgen - Internally represent mapgen type as an enum value, instead of a string - Remove the need for a MapgenFactory per mapgen
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
2015-11-21Mapgen: Add global 'decorations' flagparamat
Flag is set by default in MapgenParams The global 'trees' flag remains but is now undocumented and unset by default in MapgenParams Add mgv6_spflag 'trees' set by default in defaultsettings.cpp to affect new worlds only This is automatically backwards compatible for existing worlds
2015-11-13Mgv6: Move global mapgen flag 'flat' into mgv6 spflagsparamat
Add mgv6 spflag 'flat' Global flag is kept for backwards compatibility but is now undocumented
2015-10-09Mapgen: Use mapgen-specific names for constants in headersparamat
Update copyright years in all mapgens Add myself to copyright notices in mgv5 and mgv7
2015-05-26Mgv6: Enable snowbiomes by default. Double biome noise spread. 3 octaves, ↵paramat
0.5 persistence for humidity
2015-05-12Mapgen v5/6/7: Cleanup node resolver and aliasesparamat
2015-04-12Mgv6: Add optional snow biomesparamat
2015-03-18Mgv6: Remove addDirtGravelBlobs, replaced by blob ore in Minetest Gameparamat
Desert stone above y = -32 not water_level Remove unused generateExperimental()
2015-03-07Respect game mapgen flags and save world noise paramsngosang
2014-12-29Fix some lingering code style issueskwolekr
2014-12-29Mapgen: Use getBlockSeed2() for blockseeds (much better uniformity)kwolekr
2014-12-12Mapgens: Rename m_emerge to prevent name collisionskwolekr
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-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.
2013-12-07Dungeongen: Create dungeon gen tuneables; add desert temples for Mapgen V6kwolekr
2013-06-27Add minetest.get_mapgen_object to APIkwolekr
2013-06-17Add initial Decoration support, many misc. improvements & modificationskwolekr
2013-05-19Remove no virtual dtor warnings, make MapgenParams contain actual NoiseParamskwolekr
2013-04-21Class-ify caves & move to cavegen.cpp, fix cave regression, add caves to ↵kwolekr
Mapgen V7
2013-03-24Add Ore infrastructure and l_register_ore()kwolekr
2013-03-24Mapgen indev: float islands, larger far biomesproller
2013-03-17Add jungle grass to jungleskwolekr
2013-03-16Some minor cleanups from the last commitkwolekr
2013-03-16initial mapgen indev version with farscale feature and huge cavesproller
2013-03-16Re-add jungles, apple treeskwolekr
2013-03-11Clean up Mapgenkwolekr
2013-03-10Re-add dungeons in new dungeongen.cppkwolekr
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2013-01-23Make mapgen factory setup more elegant, add mapgen_v6.hkwolekr