minetest/src/script/lua_api
Loïc Blot 5cc06e4748
Reduce ServerEnvironment propagation (#9642)
ServerEnvironment is a huge class with many accessors. In various places it's not needed

Remove it to reduce the ServerEnvironment view.

Idea here is to reduce size of some of our objects to transport lightweight managers and permit easier testing

Pathfinder is now tied to a generic map, not a ServerMap, it can be
ported to client
2020-04-11 19:59:43 +02:00
..
CMakeLists.txt Revert "Revert CSM particles commit to fix particle spawner bug for 5.0.0 (#8288)" 2019-02-26 08:53:53 +01:00
l_areastore.cpp Fix AreaStore's IDs persistence (#8888) 2019-09-21 17:54:52 +02:00
l_areastore.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
l_auth.cpp Replace auth.txt with SQLite auth database (#7279) 2018-08-05 13:13:38 +02:00
l_auth.h Replace auth.txt with SQLite auth database (#7279) 2018-08-05 13:13:38 +02:00
l_base.cpp Work around LuaJIT issues on aarch64 (#9614) 2020-04-08 20:14:08 +02:00
l_base.h Log deprecated Lua function calls (#7491) 2018-07-01 12:31:49 +02:00
l_camera.cpp Fix camera:get_offset() in CSM 2019-11-11 14:06:48 +01:00
l_camera.h Code modernization: subfolders (#6283) 2017-08-19 22:23:47 +02:00
l_client.cpp Various features and fixes 2020-04-11 13:12:51 +02:00
l_client.h Implement minetest.sound_fade() 2020-04-11 13:12:51 +02:00
l_craft.cpp Fix some issues with minetest.clear_craft (#8712) 2019-08-10 23:28:00 +02:00
l_craft.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
l_env.cpp Reduce ServerEnvironment propagation (#9642) 2020-04-11 19:59:43 +02:00
l_env.h Move core.get_connected_players() implementation to C++ 2020-02-23 22:24:12 +01:00
l_http.cpp HTTP API: Allow binary downloads and headers (#8573) 2019-06-06 19:13:29 +02:00
l_http.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
l_internal.h scriptapi: Sort out ServerEnvironment / Environment distinction properly 2020-04-11 13:12:51 +02:00
l_inventory.cpp Add core.remove_detached_inventory (#7684) 2018-10-10 20:48:58 +02:00
l_inventory.h Add core.remove_detached_inventory (#7684) 2018-10-10 20:48:58 +02:00
l_item.cpp Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
l_item.h Add ItemStack:get_description() to get tooltip (#8847) 2019-08-24 18:38:02 +02:00
l_itemstackmeta.cpp Send only changed node metadata to clients instead of whole mapblock (#5268) 2018-12-04 20:37:48 +01:00
l_itemstackmeta.h Send only changed node metadata to clients instead of whole mapblock (#5268) 2018-12-04 20:37:48 +01:00
l_localplayer.cpp Various features and fixes 2020-04-11 13:12:51 +02:00
l_localplayer.h Various features and fixes 2020-04-11 13:12:51 +02:00
l_mainmenu.cpp Add support for set_formspec_prepend in main menu (#8611) 2019-08-12 19:16:35 +02:00
l_mainmenu.h Add support for set_formspec_prepend in main menu (#8611) 2019-08-12 19:16:35 +02:00
l_mapgen.cpp Change some usages of "deprecated" to "obsolete" (#9062) 2019-10-29 19:23:12 +01:00
l_mapgen.h Add function `minetest.read_schematic` 2019-08-14 13:15:41 +02:00
l_metadata.cpp Send only changed node metadata to clients instead of whole mapblock (#5268) 2018-12-04 20:37:48 +01:00
l_metadata.h Send only changed node metadata to clients instead of whole mapblock (#5268) 2018-12-04 20:37:48 +01:00
l_minimap.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
l_minimap.h Code modernization: subfolders (#6283) 2017-08-19 22:23:47 +02:00
l_modchannels.cpp Fix mod channels crash (#7481) 2018-06-27 17:45:40 +02:00
l_modchannels.h Fix mod channels crash (#7481) 2018-06-27 17:45:40 +02:00
l_nodemeta.cpp Implement minetest.sound_fade() 2020-04-11 13:12:51 +02:00
l_nodemeta.h Send only changed node metadata to clients instead of whole mapblock (#5268) 2018-12-04 20:37:48 +01:00
l_nodetimer.cpp Reduce ServerEnvironment propagation (#9642) 2020-04-11 19:59:43 +02:00
l_nodetimer.h Reduce ServerEnvironment propagation (#9642) 2020-04-11 19:59:43 +02:00
l_noise.cpp Lua templating reading (part 4): s16, v2s16, v2f (#7512) 2018-07-08 23:06:33 +02:00
l_noise.h Log deprecated Lua function calls (#7491) 2018-07-01 12:31:49 +02:00
l_object.cpp Drop content_sao.{cpp,h} 2020-04-11 16:07:17 +02:00
l_object.h set_sky improvements, set_sun, set_moon and set_stars 2020-03-05 20:12:19 +01:00
l_particles.cpp Move client-specific files to 'src/client' (#7902) 2018-11-28 20:01:49 +01:00
l_particles.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
l_particles_local.cpp Fix particle spawners not visible since CSM spawner implementation (#8289) 2019-03-01 20:16:11 +01:00
l_particles_local.h Revert "Revert CSM particles commit to fix particle spawner bug for 5.0.0 (#8288)" 2019-02-26 08:53:53 +01:00
l_playermeta.cpp reportMetadataChange; Silence clang warnings 2018-12-21 19:05:29 +01:00
l_playermeta.h reportMetadataChange; Silence clang warnings 2018-12-21 19:05:29 +01:00
l_rollback.cpp SAPI: Mark all Lua API functions requiring envlock 2015-10-25 23:06:48 -04:00
l_rollback.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
l_server.cpp Improve core.sound_play with ephemeral sounds and player exclusion 2020-02-01 20:31:41 +01:00
l_server.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
l_settings.cpp Settings: Add get_flags API for mapgen flags (mg_flags, mgv6_spflags, ...) (#9284) 2020-01-25 16:56:54 +01:00
l_settings.h Settings: Add get_flags API for mapgen flags (mg_flags, mgv6_spflags, ...) (#9284) 2020-01-25 16:56:54 +01:00
l_sound.cpp Modernize lua read (part 2 & 3): C++ templating assurance (#7410) 2018-06-30 17:11:38 +02:00
l_sound.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
l_storage.cpp Modernize lua read (part 2 & 3): C++ templating assurance (#7410) 2018-06-30 17:11:38 +02:00
l_storage.h Fix memory leaks in mod storage (#7500) 2018-06-30 17:11:04 +02:00
l_util.cpp Refactor Script API's log_deprecated 2020-02-23 22:24:12 +01:00
l_util.h Fix isNan on setYaw Lua call (#7380) 2018-05-31 22:52:08 +02:00
l_vmanip.cpp Fix some reference counters (memleak) (#8981) 2019-09-24 19:05:28 +02:00
l_vmanip.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00