summaryrefslogtreecommitdiff
path: root/src/mapgen/mapgen_v6.h
Commit message (Collapse)AuthorAge
* Dungeons: Settable density noise, move number calculation to mapgens (#8473)Paramat2019-06-01
| | | | | | | | | | | | Add user-settable noise parameters for dungeon density to each mapgen, except V6 which hardcodes this noise parameter. Move the calculation of number of dungeons generated in a mapchunk out of dungeongen.cpp and into mapgen code, to allow mapgens to generate any desired number of dungeons in a mapchunk, instead of being forced to have number of dungeons determined by a density noise. This is more flexible and allows mapgens to use dungeon generation to create custom structures, such as occasional mega-dungeons.
* mapgen: drop mapgen id from child mapgens.Loïc Blot2019-03-31
| | | | | | This id must be owned by the child mapgen and never be set to a misc value by a developer Also use nullptr in some places
* Dungeons: Add Y limits in all mapgensparamat2018-02-20
| | | | Preserve the upper limit used in mgvalleys.
* Mapgen folder: Update and improve copyright information of filesparamat2018-01-15
|
* Move files to subdirectories (#6599)Vitaliy2017-11-08
* Move files around
">const ServerListSpec &server); std::vector<ServerListSpec> deSerialize(const std::string &liststring); const std::string serialize(const std::vector<ServerListSpec> &serverlist); std::vector<ServerListSpec> deSerializeJson(const std::string &liststring); const std::string serializeJson(const std::vector<ServerListSpec> &serverlist); #if USE_CURL enum AnnounceAction {AA_START, AA_UPDATE, AA_DELETE}; void sendAnnounce(AnnounceAction, u16 port, const std::vector<std::string> &clients_names = std::vector<std::string>(), double uptime = 0, u32 game_time = 0, float lag = 0, const std::string &gameid = "", const std::string &mg_name = "", const std::vector<ModSpec> &mods = std::vector<ModSpec>(), bool dedicated = false); #endif } // namespace ServerList