Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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. | ||
* | Replace instances of height_min/height_max with y_min/y_max to remove ambiguity | kwolekr | 2014-12-30 |
| | |||
* | Decoration: Fix default parameter values | kwolekr | 2014-12-30 |
| | |||
* | Add core.get_mapgen_names() to Main Menu API (and use it) | kwolekr | 2014-12-29 |
| | | | | Also rewrite mapgen registration for static initialization | ||
* | Expose mapgen parameters on scripting init | kwolekr | 2014-12-29 |
| | | | | | Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init() | ||
* | LuaVoxelManip: Remove blank allocator | kwolekr | 2014-12-29 |
| | |||
* | LuaItemStack: Fix and document behavior of set_name, set_count, set_wear, ↵ | kwolekr | 2014-12-28 |
| | | | | set_metadata | ||
* | Decoration: Add height_min and height_max parameters | kwolekr | 2014-12-28 |
| | | | | | 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 |
| | | | | node. Add water top depth and shore height parameters. Remove water dust node | ||
* | Ore: Add Vein ore type | kwolekr | 2014-12-28 |
| | |||
* | Ore: Add Blob ore type | kwolekr | 2014-12-28 |
| | |||
* | LuaVoxelManip: Add option to allocate blank data | kwolekr | 2014-12-27 |
| | |||
* | Set fallback content if resolving content vector requires everything | kwolekr | 2014-12-27 |
| | |||
* | Redefine NodeResolver interface and replace with callback mechanism | kwolekr | 2014-12-27 |
| | |||
* | LuaPerlinNoiseMap: Fix 3d noise safety check | kwolekr | 2014-12-12 |
| | |||
* | Add minetest.clear_registered_decorations() and clear_registered_ores() | kwolekr | 2014-12-12 |
| | |||
* | LuaPerlinNoiseMap: Prevent invalid memory access when attempting to generate ↵ | kwolekr | 2014-12-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 |
| | | | | NoiseParams to lua_api.txt | ||
* | Settings: Fail on invalid sequence and throw exception for LuaSettings | kwolekr | 2014-12-12 |
| | |||
* | Noise: Automatically transform noise maps if needed | kwolekr | 2014-12-10 |
| | |||
* | Move get_schematic and read_schematic to l_mapgen.cpp | kwolekr | 2014-12-10 |
| | |||
* | Remove get_noiseparams function. read_noiseparams should be used from now on | kwolekr | 2014-12-10 |
| | |||
* | Noise: Create a deep copy of NoiseParams | kwolekr | 2014-12-10 |
| | |||
* | Settings: Sanitize setting name everywhere, not just LuaSettings | kwolekr | 2014-12-09 |
| | |||
* | Rename and repurpose minetest.set_noiseparam_defaults to set_noiseparams | kwolekr | 2014-12-09 |
| | |||
* | Add flags and lacunarity as new noise parameters | kwolekr | 2014-12-07 |
| | | | | | | | 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 | ||
* | 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 | ||
* | Add definable node_stone to biome API, mgv5, mgv7. Reduce and correct depth ↵ | paramat | 2014-12-03 |
| | | | | 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 |
| | |||
* | noise: Throw exception on noise allocation failure | kwolekr | 2014-11-29 |
| | |||
* | Clean up rollback | ShadowNinja | 2014-11-19 |
| | |||
* | Fix warnings and other misc. minor changes | kwolekr | 2014-11-14 |
| | |||
* | Remove most exceptions from getNode() (and variants) | Craig Robbins | 2014-11-14 |
| | |||
* | Add option 'eased' to NoiseParams | SmallJoker | 2014-11-13 |
| | | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com> | ||
* | Add Generator Element Management framework | kwolekr | 2014-11-12 |
| | | | | Add BiomeManager, OreManager, DecorationManager, and SchematicManager | ||
* | Split up mapgen.cpp | kwolekr | 2014-11-01 |
| | |||
* | Fix erroneous lua_pop parameter | kwolekr | 2014-10-30 |
| | |||
* | Check minetest.hud_change() parameters on conversion (Fix #1714) | kwolekr | 2014-10-30 |
| | |||
* | Refactor decoration-related code | kwolekr | 2014-10-29 |
| | | | | | 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 |
| | |||
* | Add NodeResolver and clean up node name -> content ID resolution system | kwolekr | 2014-10-26 |
| | |||
* | Fix object reference pushing functions when called from coroutines | ShadowNinja | 2014-10-07 |
| | |||
* | Split settings into seperate source and header files | ShadowNinja | 2014-09-21 |
| | | | | This also cleans up settings a bit | ||
* | Add compression API | ShadowNinja | 2014-09-20 |
| | |||
* | Simplify and optimize schematic replacements | ShadowNinja | 2014-09-11 |
| | |||
* | Add LuaVoxelManip methods: get_node_at() and set_node_at() | kwolekr | 2014-09-01 |
| | |||
* | Update Mapgen VoxelManipulator on buffer invalidation | kwolekr | 2014-09-01 |
| | |||
* | Add lua exception handling test code | sapier | 2014-08-23 |
| | | | | Catch some error situations when mod used without thinking about it | ||
* | Fix seg fault if popping from empty stack (L-system trees) | Craig Robbins | 2014-08-23 |
| | | | | | | | | | | | | | | | | | | See: https://github.com/minetest/minetest/issues/1525 Background Wuzzy2: If you attempt to spawn a L-system tree with minetest.spawn_tree, you can make Minetest crash if it is attempted to pop an empty stack. ShadowNinja: This shouldn't cause a segmentation fault, but it should throw a Lua error Commit Description This commit throws a Lua error instead of causing a segmentation fault. The server will still "crash" but will include a Lua backtrace. L-Systems fix randomness Unless a random seed is provided (via Lua treedef) seed the PRNG with a different seed for each tree Resolves: https://github.com/minetest/minetest/issues/1469 Fix l-system crash when treedef random_level not set by Lua |