Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Mapgen: Add propagate_shadow bool to calcLighting | paramat | 2015-12-07 |
| | | | | | | | | | | To terminate unwanted shadows from floatlands or realms above Also add to LuaVoxelManip calc_lighting for use in mapgen mods Remove the 2 argument calcLighting, mapgens now use the 5 argument form to specify the volumes for propagateSunlight and spreadLight In mgsinglenode replace calcLighting with setLighting and clean-up use of tabs and spaces | ||
* | Mapgen: Add global 'decorations' flag | paramat | 2015-11-21 |
| | | | | | | | | | | 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 | ||
* | Add DISABLE_CLASS_COPY macro (and use it) | kwolekr | 2015-10-27 |
| | | | | | | | | | Use this macro to disallow copying of an object using the assignment operator or copy constructor. This catches otherwise silent-but-deadly mistakes such as "ServerMap map = env->getMap();" at compile time. If so desired, it is still possible to copy a class, but it now requires an explicit call to memcpy or std::copy. | ||
* | Decoration API: Add flag for placement on liquid surface | paramat | 2015-10-23 |
| | | | | | Add findLiquidSurface() function to mapgen.cpp Update lua_api.txt | ||
* | Mgv5/mgv7 biomes: Reduce heat and humidity noise spreads to former value of 750 | paramat | 2015-09-07 |
| | |||
* | Remove unused functions. | onkrot | 2015-08-16 |
| | |||
* | Biome API: Increase heat and humidity noise spreads to 1000 | paramat | 2015-06-30 |
| | |||
* | Mapgen objects: Enable heatmap and humidmap for all biome api mapgens | paramat | 2015-06-20 |
| | |||
* | Biome API: Add noise defined biome blend | paramat | 2015-06-18 |
| | |||
* | Biome API, mgv7: Increase heat/humidity spreads. Improve mgv7 noise parameters | paramat | 2015-05-24 |
| | |||
* | Split ObjDef/ObjDefManager out to objdef.cpp | kwolekr | 2015-05-18 |
| | |||
* | Mapgen v5/v7: Detect sandstone, enable sandstone brick dungeons | paramat | 2015-05-17 |
| | |||
* | ObjDefManager: Set replacement object's handle info after calling set() | kwolekr | 2015-05-03 |
| | | | | | Make gamedef optional when constructing an ObjDefManager Add note about object ownership | ||
* | Biomes: Remove referenced biomes from Decorations on clear | kwolekr | 2015-04-16 |
| | |||
* | ObjDefManager, Mapgen SAPI: Huge refactoring | kwolekr | 2015-03-31 |
| | | | | | | | - General code cleanup - Unified object creation and loading - Specifying objects in APIs is now orthogonal (i.e. anything can take an ID, name string, or the raw table definition (and automatically registers if present | ||
* | GenElementManager: Pass opaque handles to Lua and rename to ObjDefManager | kwolekr | 2015-03-31 |
| | | | | Add core.clear_registered_schematics() and refactor schematics somewhat | ||
* | Add core.register_schematic() and cache schematics on use | kwolekr | 2015-03-23 |
| | |||
* | Revert "Fix issue #2441: crash on respawn, since a conversion std::list to ↵ | kwolekr | 2015-03-20 |
| | | | | | | | std::vector on Environment.cpp" This reverts parts of commit 9749d9fee6db99da1ab861dc04ec63ef973db3e0, which breaks node resolver list clearing | ||
* | Silence Clang warning | ShadowNinja | 2015-03-10 |
| | |||
* | Heightmaps: Fix uninitialised values in mgv5/mgv6. findGroundLevel: Return ↵ | paramat | 2015-03-08 |
| | | | | -MAP_GENERATION_LIMIT if surface not found | ||
* | Respect game mapgen flags and save world noise params | ngosang | 2015-03-07 |
| | |||
* | Fix mapgen using unitialised height map values | Craig Robbins | 2015-03-06 |
| | |||
* | Fix issue #2441: crash on respawn, since a conversion std::list to ↵ | Loic Blot | 2015-03-05 |
| | | | | | | | 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 | ||
* | Shorten ManualMapVoxelManipulator to MMVManip | kwolekr | 2015-01-05 |
| | |||
* | Optionally specify propagateSunlight area in calcLighting | kwolekr | 2015-01-05 |
| | | | | This fixes the Mapgen V5 calcLighting segfault | ||
* | Lighting: Fix nearly all issues | kwolekr | 2015-01-04 |
| | | | | | | | | | | | 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. | ||
* | Mapgen: Use getBlockSeed2() for blockseeds (much better uniformity) | kwolekr | 2014-12-29 |
| | |||
* | Redefine NodeResolver interface and replace with callback mechanism | kwolekr | 2014-12-27 |
| | |||
* | Add minetest.clear_registered_decorations() and clear_registered_ores() | kwolekr | 2014-12-12 |
| | |||
* | Biome API: Reduce heat and humidity persistences to 0.5 | paramat | 2014-12-10 |
| | |||
* | Biomes: Make biome heat and humidity noise parameters user-configurable | kwolekr | 2014-12-09 |
| | |||
* | Add minetest.clear_registered_biomes() api | kwolekr | 2014-12-06 |
| | |||
* | Rewrite generate notification mechanism | kwolekr | 2014-12-06 |
| | | | | | | | Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files | ||
* | Fix double free bug when server is shut down | Craig Robbins | 2014-11-15 |
| | | | | Thanks @oleastre | ||
* | Fix compilation under some Linux distributions | kwolekr | 2014-11-13 |
| | |||
* | Add Generator Element Management framework | kwolekr | 2014-11-12 |
| | | | | Add BiomeManager, OreManager, DecorationManager, and SchematicManager | ||
* | Split up mapgen.cpp | kwolekr | 2014-11-01 |
| | |||
* | Refactor decoration-related code | kwolekr | 2014-10-29 |
| | | | | | Split up ModApiMapgen::l_register_decoration() Define and make use of CONTAINS() and ARRLEN() macros | ||
* | Add NodeResolver and clean up node name -> content ID resolution system | kwolekr | 2014-10-26 |
| | |||
* | Split settings into seperate source and header files | ShadowNinja | 2014-09-21 |
| | | | | This also cleans up settings a bit | ||
* | Fix all warnings reported by clang | Sfan5 | 2014-04-15 |
| | |||
* | Schematic: Add force_placement parameter to minetest.place_structure API | kwolekr | 2014-02-15 |
| | |||
* | Make flag strings clear specified flag with 'no' prefix | kwolekr | 2014-02-08 |
| | | | | | Remove flagmask field from set_mapgen_params table Add small bits of needed documentation | ||
* | Huge overhaul of the entire MapgenParams system | kwolekr | 2014-02-03 |
| | | | | | | 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. | ||
* | Mapgen V6: Add flag to stop mud flow | kwolekr | 2014-01-12 |
| | |||
* | Add map feature generation notify Lua API | kwolekr | 2013-12-14 |
| | |||
* | EmergeManager: Fix Lua mapgen override param handling | kwolekr | 2013-12-08 |
| | |||
* | Decoration: Add schematic Y-slice probability support | kwolekr | 2013-12-01 |
| | |||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 |
| | |||
* | Remove farmesh | Kahrl | 2013-08-13 |
| |