Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add minetest.generate_ores() and minetest.generate_decorations() | kwolekr | 2015-01-04 | 3 | -1/+47 | |
| | ||||||
* | Remove freezemelt (the remainder of proller nonsense) | kwolekr | 2015-01-04 | 1 | -1/+0 | |
| | ||||||
* | Add warning about using deprecated fields in Mapgen API and update docs | kwolekr | 2015-01-04 | 1 | -6/+8 | |
| | ||||||
* | LuaVoxelManip: Error when given out-of-bounds area | kwolekr | 2015-01-04 | 1 | -0/+4 | |
| | ||||||
* | Lighting: Fix nearly all issues | kwolekr | 2015-01-04 | 1 | -9/+9 | |
| | | | | | | | | | | | 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. | |||||
* | Replace instances of height_min/height_max with y_min/y_max to remove ambiguity | kwolekr | 2014-12-30 | 1 | -6/+16 | |
| | ||||||
* | Decoration: Fix default parameter values | kwolekr | 2014-12-30 | 1 | -2/+2 | |
| | ||||||
* | Add core.get_mapgen_names() to Main Menu API (and use it) | kwolekr | 2014-12-29 | 2 | -1/+25 | |
| | | | | Also rewrite mapgen registration for static initialization | |||||
* | Expose mapgen parameters on scripting init | kwolekr | 2014-12-29 | 4 | -46/+39 | |
| | | | | | Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init() | |||||
* | LuaVoxelManip: Remove blank allocator | kwolekr | 2014-12-29 | 3 | -18/+19 | |
| | ||||||
* | LuaItemStack: Fix and document behavior of set_name, set_count, set_wear, ↵ | kwolekr | 2014-12-28 | 1 | -12/+28 | |
| | | | | set_metadata | |||||
* | Decoration: Add height_min and height_max parameters | kwolekr | 2014-12-28 | 1 | -10/+12 | |
| | | | | | Also set default height_min/height_max to -31000 and 31000, respectively, for ore and biomes | |||||
* | Biome API: Add shore top and shore filler nodes, underwater node, water top ↵ | paramat | 2014-12-28 | 1 | -14/+19 | |
| | | | | node. Add water top depth and shore height parameters. Remove water dust node | |||||
* | Ore: Add Vein ore type | kwolekr | 2014-12-28 | 1 | -3/+10 | |
| | ||||||
* | Ore: Add Blob ore type | kwolekr | 2014-12-28 | 1 | -4/+4 | |
| | ||||||
* | LuaVoxelManip: Add option to allocate blank data | kwolekr | 2014-12-27 | 3 | -1/+28 | |
| | ||||||
* | Set fallback content if resolving content vector requires everything | kwolekr | 2014-12-27 | 1 | -4/+4 | |
| | ||||||
* | Redefine NodeResolver interface and replace with callback mechanism | kwolekr | 2014-12-27 | 3 | -33/+42 | |
| | ||||||
* | Expose mapgen chunksize in on_mapgen_init callbacks | kwolekr | 2014-12-14 | 1 | -7/+10 | |
| | ||||||
* | LuaPerlinNoiseMap: Fix 3d noise safety check | kwolekr | 2014-12-12 | 1 | -1/+1 | |
| | ||||||
* | Add minetest.clear_registered_decorations() and clear_registered_ores() | kwolekr | 2014-12-12 | 2 | -0/+23 | |
| | ||||||
* | LuaPerlinNoiseMap: Prevent invalid memory access when attempting to generate ↵ | kwolekr | 2014-12-12 | 2 | -16/+12 | |
| | | | | 3d noise with a buffer created for 2d | |||||
* | Add support for NoiseParams in minetest.get_perlin() and add docs on ↵ | kwolekr | 2014-12-12 | 3 | -27/+47 | |
| | | | | NoiseParams to lua_api.txt | |||||
* | Settings: Fail on invalid sequence and throw exception for LuaSettings | kwolekr | 2014-12-12 | 1 | -2/+3 | |
| | ||||||
* | Noise: Automatically transform noise maps if needed | kwolekr | 2014-12-10 | 1 | -14/+10 | |
| | ||||||
* | Move get_schematic and read_schematic to l_mapgen.cpp | kwolekr | 2014-12-10 | 4 | -110/+108 | |
| | ||||||
* | Remove get_noiseparams function. read_noiseparams should be used from now on | kwolekr | 2014-12-10 | 3 | -18/+4 | |
| | ||||||
* | Noise: Create a deep copy of NoiseParams | kwolekr | 2014-12-10 | 2 | -5/+12 | |
| | ||||||
* | Settings: Sanitize setting name everywhere, not just LuaSettings | kwolekr | 2014-12-09 | 1 | -1/+1 | |
| | ||||||
* | Rename and repurpose minetest.set_noiseparam_defaults to set_noiseparams | kwolekr | 2014-12-09 | 2 | -25/+12 | |
| | ||||||
* | Add flags and lacunarity as new noise parameters | kwolekr | 2014-12-07 | 6 | -31/+67 | |
| | | | | | | | Add 'absolute value' option to noise map functions Extend persistence modulation to 3D noise Extend 'eased' option to noise2d_perlin* functions Some noise.cpp formatting fixups | |||||
* | Schematics: Fix minetest.place_schematic() when defined by a Lua table | kwolekr | 2014-12-06 | 1 | -4/+7 | |
| | ||||||
* | Add minetest.clear_registered_biomes() api | kwolekr | 2014-12-06 | 2 | -0/+11 | |
| | ||||||
* | Rewrite generate notification mechanism | kwolekr | 2014-12-06 | 1 | -15/+23 | |
| | | | | | | | Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files | |||||
* | Add definable node_stone to biome API, mgv5, mgv7. Reduce and correct depth ↵ | paramat | 2014-12-03 | 1 | -0/+3 | |
| | | | | of mgv7 biomes. l_mapgen.cpp: add '#include mapgen_v5.h' because '#include mapgen_v7' is there. Improve underwater grass hack | |||||
* | LuaSettings: Sanitize setting name strings | kwolekr | 2014-11-30 | 1 | -1/+1 | |
| | ||||||
* | noise: Throw exception on noise allocation failure | kwolekr | 2014-11-29 | 1 | -3/+7 | |
| | ||||||
* | Don't corrupt stepheight when setting other properties | Ciaran Gultnieks | 2014-11-26 | 1 | -2/+2 | |
| | ||||||
* | Simplify loading of Android version of menu | ShadowNinja | 2014-11-20 | 1 | -0/+4 | |
| | ||||||
* | Clean up rollback | ShadowNinja | 2014-11-19 | 1 | -1/+1 | |
| | ||||||
* | Fix warnings and other misc. minor changes | kwolekr | 2014-11-14 | 1 | -8/+8 | |
| | ||||||
* | Remove most exceptions from getNode() (and variants) | Craig Robbins | 2014-11-14 | 1 | -12/+11 | |
| | ||||||
* | Add option 'eased' to NoiseParams | SmallJoker | 2014-11-13 | 2 | -2/+3 | |
| | | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com> | |||||
* | Add Generator Element Management framework | kwolekr | 2014-11-12 | 4 | -135/+157 | |
| | | | | Add BiomeManager, OreManager, DecorationManager, and SchematicManager | |||||
* | Split up mapgen.cpp | kwolekr | 2014-11-01 | 2 | -2/+7 | |
| | ||||||
* | Fix erroneous lua_pop parameter | kwolekr | 2014-10-30 | 1 | -2/+4 | |
| | ||||||
* | Check minetest.hud_change() parameters on conversion (Fix #1714) | kwolekr | 2014-10-30 | 1 | -7/+7 | |
| | ||||||
* | Refactor decoration-related code | kwolekr | 2014-10-29 | 2 | -75/+89 | |
| | | | | | Split up ModApiMapgen::l_register_decoration() Define and make use of CONTAINS() and ARRLEN() macros | |||||
* | Prevent invalid memory access under failure conditions | kwolekr | 2014-10-28 | 1 | -35/+40 | |
| | ||||||
* | Add NodeResolver and clean up node name -> content ID resolution system | kwolekr | 2014-10-26 | 3 | -117/+149 | |
| |