1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-15 22:05:07 -05:00
minetest/src/script
kwolekr 3c63c3044d Add MapSettingsManager and new mapgen setting script API functions
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.
2016-07-03 15:38:36 -04:00
..
common Allow nodes to specify which sides to connect to. 2016-03-12 12:08:17 -05:00
cpp_api Server: Add reason for leave to on_leaveplayer callbacks 2016-06-11 04:17:04 +01:00
lua_api Add MapSettingsManager and new mapgen setting script API functions 2016-07-03 15:38:36 -04:00
CMakeLists.txt
scripting_game.cpp
scripting_game.h
scripting_mainmenu.cpp
scripting_mainmenu.h