Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mapgen: Add propagate_shadow bool to calcLighting | paramat | 2015-12-07 | 1 | -23/+6 |
| | | | | | | | | | | 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 | 1 | -5/+6 |
| | | | | | | | | | | 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 | ||||
* | Decoration API: Add flag for placement on liquid surface | paramat | 2015-10-23 | 1 | -0/+20 |
| | | | | | Add findLiquidSurface() function to mapgen.cpp Update lua_api.txt | ||||
* | Add emerge completion callback mechanism | kwolekr | 2015-10-04 | 1 | -7/+14 |
| | | | | Major refactor of emerge.cpp and Map::init/finishBlockMake | ||||
* | Define and use limit constants for Irrlicht fixed-width types | kwolekr | 2015-10-04 | 1 | -1/+1 |
| | |||||
* | Various style cleanups + unused code removal | est31 | 2015-09-19 | 1 | -1/+0 |
| | | | | | | | | | | -> Don't pass pointer to whole IGameDef to NodeMetadata constructors and deserializers, but only to IItemDefManager, which is needed -> Remove the unused content_mapnode_get_new_name() method -> Fix style for MapBlock::deSerialize and MapBlock::deSerialize_pre22, improving accuracy of error messages a bit -> Fix style at other serialisation methods too -> Improve accuracy of some comments | ||||
* | Remove unused functions. | onkrot | 2015-08-16 | 1 | -24/+0 |
| | |||||
* | Add map limit config option | rubenwardy | 2015-08-02 | 1 | -3/+2 |
| | |||||
* | Mapgen objects: Enable heatmap and humidmap for all biome api mapgens | paramat | 2015-06-20 | 1 | -16/+20 |
| | |||||
* | Biome API: Add noise defined biome blend | paramat | 2015-06-18 | 1 | -0/+4 |
| | |||||
* | Split ObjDef/ObjDefManager out to objdef.cpp | kwolekr | 2015-05-18 | 1 | -168/+2 |
| | |||||
* | ObjDefManager: Set replacement object's handle info after calling set() | kwolekr | 2015-05-03 | 1 | -2/+11 |
| | | | | | Make gamedef optional when constructing an ObjDefManager Add note about object ownership | ||||
* | Fix MSVC error caused by ed10005 | SmallJoker | 2015-04-02 | 1 | -0/+1 |
| | |||||
* | Move globals from main.cpp to more sane locations | Craig Robbins | 2015-04-01 | 1 | -2/+1 |
| | | | | | | | | | | | | Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h | ||||
* | GenElementManager: Pass opaque handles to Lua and rename to ObjDefManager | kwolekr | 2015-03-31 | 1 | -38/+115 |
| | | | | Add core.clear_registered_schematics() and refactor schematics somewhat | ||||
* | Add support for the PCG32 PRNG algo (and associated script APIs) | kwolekr | 2015-03-22 | 1 | -7/+3 |
| | |||||
* | Revert "Fix issue #2441: crash on respawn, since a conversion std::list to ↵ | kwolekr | 2015-03-20 | 1 | -2/+3 |
| | | | | | | | std::vector on Environment.cpp" This reverts parts of commit 9749d9fee6db99da1ab861dc04ec63ef973db3e0, which breaks node resolver list clearing | ||||
* | Heightmaps: Fix uninitialised values in mgv5/mgv6. findGroundLevel: Return ↵ | paramat | 2015-03-08 | 1 | -17/+2 |
| | | | | -MAP_GENERATION_LIMIT if surface not found | ||||
* | Respect game mapgen flags and save world noise params | ngosang | 2015-03-07 | 1 | -0/+44 |
| | |||||
* | Fix mapgen using unitialised height map values | Craig Robbins | 2015-03-06 | 1 | -5/+15 |
| | |||||
* | Fix issue #2441: crash on respawn, since a conversion std::list to ↵ | Loic Blot | 2015-03-05 | 1 | -3/+2 |
| | | | | | | | 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 | ||||
* | Fix all warnings and remove -Wno-unused-but-set cflag | kwolekr | 2015-01-18 | 1 | -1/+0 |
| | |||||
* | Prevent transform of noise3d result in getBlockSeed2 | kwolekr | 2015-01-12 | 1 | -1/+3 |
| | |||||
* | Optionally specify propagateSunlight area in calcLighting | kwolekr | 2015-01-05 | 1 | -1/+14 |
| | | | | This fixes the Mapgen V5 calcLighting segfault | ||||
* | Add minetest.generate_ores() and minetest.generate_decorations() | kwolekr | 2015-01-04 | 1 | -0/+1 |
| | |||||
* | Lighting: Fix nearly all issues | kwolekr | 2015-01-04 | 1 | -12/+36 |
| | | | | | | | | | | | 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 | 1 | -0/+15 |
| | |||||
* | Redefine NodeResolver interface and replace with callback mechanism | kwolekr | 2014-12-27 | 1 | -1/+1 |
| | |||||
* | Add minetest.clear_registered_decorations() and clear_registered_ores() | kwolekr | 2014-12-12 | 1 | -0/+7 |
| | |||||
* | Add minetest.clear_registered_biomes() api | kwolekr | 2014-12-06 | 1 | -7/+8 |
| | |||||
* | Rewrite generate notification mechanism | kwolekr | 2014-12-06 | 1 | -18/+109 |
| | | | | | | | Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files | ||||
* | Fix warnings and other misc. minor changes | kwolekr | 2014-11-14 | 1 | -1/+1 |
| | |||||
* | Add Generator Element Management framework | kwolekr | 2014-11-12 | 1 | -7/+77 |
| | | | | Add BiomeManager, OreManager, DecorationManager, and SchematicManager | ||||
* | Split up mapgen.cpp | kwolekr | 2014-11-01 | 1 | -764/+1 |
| | |||||
* | Refactor decoration-related code | kwolekr | 2014-10-29 | 1 | -54/+51 |
| | | | | | 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 | 1 | -117/+53 |
| | |||||
* | Split settings into seperate source and header files | ShadowNinja | 2014-09-21 | 1 | -1/+1 |
| | | | | This also cleans up settings a bit | ||||
* | Fix warnings | proller | 2014-04-19 | 1 | -1/+1 |
| | |||||
* | Remove liquid_finite and weather | proller | 2014-04-18 | 1 | -4/+2 |
| | |||||
* | Schematic: Add force_placement parameter to minetest.place_structure API | kwolekr | 2014-02-15 | 1 | -2/+2 |
| | |||||
* | Make flag strings clear specified flag with 'no' prefix | kwolekr | 2014-02-08 | 1 | -6/+6 |
| | | | | | 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 | 1 | -71/+1 |
| | | | | | | 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. | ||||
* | Schematic: Read slice probability table from schematic descriptors | kwolekr | 2014-01-19 | 1 | -0/+1 |
| | |||||
* | Mapgen V6: Add flag to stop mud flow | kwolekr | 2014-01-12 | 1 | -0/+1 |
| | |||||
* | Add map feature generation notify Lua API | kwolekr | 2013-12-14 | 1 | -0/+19 |
| | |||||
* | EmergeManager: Fix Lua mapgen override param handling | kwolekr | 2013-12-08 | 1 | -69/+69 |
| | |||||
* | Decoration: Add schematic Y-slice probability support | kwolekr | 2013-12-01 | 1 | -39/+76 |
| | |||||
* | Decoration: Stop DecoSimple::resolveNodeNames from complaining about no node ↵ | kwolekr | 2013-11-17 | 1 | -2/+2 |
| | | | | | | | | name if decolist is used Fix warning message for spawnby nodes Prevent type-punning warning caused by casting enum to int | ||||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 | 1 | -0/+1 |
| | |||||
* | Dont write directly to files but rather write and copy a tmp file | PilzAdam | 2013-08-13 | 1 | -7/+10 |
| |