Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add MapSettingsManager and new mapgen setting script API functions | kwolekr | 2016-07-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | This commit refactors the majority of the Mapgen settings system. - MapgenParams is now owned by MapSettingsManager, itself a part of ServerMap, instead of the EmergeManager. - New Script API functions added: core.get_mapgen_setting core.get_mapgen_setting_noiseparams, core.set_mapgen_setting, and core.set_mapgen_setting_noiseparams. - minetest.get/set_mapgen_params are deprecated by the above new functions. - It is now possible to view and modify any arbitrary mapgen setting from a mod, rather than the base MapgenParams structure. - MapgenSpecificParams has been removed. | ||||
* | Mapgen: Add propagate_shadow bool to calcLighting | paramat | 2015-12-07 | 1 | -1/+2 |
| | | | | | | | | | | 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 | ||||
* | SAPI: Mark all Lua API functions requiring envlock | kwolekr | 2015-10-25 | 1 | -17/+15 |
| | |||||
* | Add optional buffer param for bulk data array writes in Lua | kwolekr | 2015-05-17 | 1 | -13/+19 |
| | |||||
* | Switch to check_v3s16 in l_mapgen.cpp and l_vmanip.cpp for type safety | kwolekr | 2015-04-17 | 1 | -9/+9 |
| | |||||
* | Shorten ManualMapVoxelManipulator to MMVManip | kwolekr | 2015-01-05 | 1 | -15/+15 |
| | |||||
* | Optionally specify propagateSunlight area in calcLighting | kwolekr | 2015-01-05 | 1 | -17/+16 |
| | | | | This fixes the Mapgen V5 calcLighting segfault | ||||
* | Exclude vertical mapblock borders when setting light | kwolekr | 2015-01-04 | 1 | -1/+4 |
| | |||||
* | 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. | ||||
* | LuaVoxelManip: Remove blank allocator | kwolekr | 2014-12-29 | 1 | -8/+14 |
| | |||||
* | LuaVoxelManip: Add option to allocate blank data | kwolekr | 2014-12-27 | 1 | -0/+18 |
| | |||||
* | Add LuaVoxelManip methods: get_node_at() and set_node_at() | kwolekr | 2014-09-01 | 1 | -4/+35 |
| | |||||
* | Update Mapgen VoxelManipulator on buffer invalidation | kwolekr | 2014-09-01 | 1 | -0/+13 |
| | |||||
* | Fix issue 1527 | Craig Robbins | 2014-07-29 | 1 | -34/+34 |
| | | | | https://github.com/minetest/minetest/issues/1527 | ||||
* | Huge overhaul of the entire MapgenParams system | kwolekr | 2014-02-03 | 1 | -1/+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. | ||||
* | LuaVoxelManip: Add get_param2_data and set_param2_data | kwolekr | 2014-01-19 | 1 | -0/+44 |
| | |||||
* | LuaVoxelManip: Add area parameters back to calc_lighting and set_lighting, ↵ | kwolekr | 2013-11-30 | 1 | -7/+16 |
| | | | | made optional this time; also fixed a slight bug with night values being ignored | ||||
* | LuaVoxelManip: Add get_light_data() and set_light_data() | kwolekr | 2013-11-30 | 1 | -0/+44 |
| | |||||
* | LuaVoxelManip: Update parameter index of set_lighting() | kwolekr | 2013-11-21 | 1 | -2/+2 |
| | |||||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 | 1 | -17/+22 |
| | |||||
* | LuaVoxelManip: Allow liquid updates in non-mapgen VoxelManip objects | kwolekr | 2013-07-06 | 1 | -2/+0 |
| | |||||
* | LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for ↵ | kwolekr | 2013-06-29 | 1 | -21/+27 |
| | | | | light and liquid updates | ||||
* | Apply various fixes to several things | kwolekr | 2013-06-27 | 1 | -2/+6 |
| | |||||
* | LuaVoxelManip: Separate VoxelManip data get/set from emerging/blitting data ↵ | kwolekr | 2013-06-27 | 1 | -17/+37 |
| | | | | back to map | ||||
* | Add minetest.get_mapgen_object to API | kwolekr | 2013-06-27 | 1 | -2/+8 |
| | |||||
* | Add LuaVoxelManip | kwolekr | 2013-06-27 | 1 | -0/+264 |