minetest/src/script/lua_api
HybridDog 2f4037752b
Add minetest.get_artificial_light and minetest.get_natural_light (#5680)
Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday).

Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-10-06 20:49:46 +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 Deprecate get_player_velocity and add_player_velocity (#10173) 2020-10-04 00:33:45 +01:00
l_base.h Server class code cleanups (#9769) 2020-05-07 22:38:41 +02:00
l_camera.cpp Add First Person Attachments (#10360) 2020-10-04 15:10:34 +02: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 Add minetest.get_artificial_light and minetest.get_natural_light (#5680) 2020-10-06 20:49:46 +02:00
l_env.h Add minetest.get_artificial_light and minetest.get_natural_light (#5680) 2020-10-06 20:49:46 +02:00
l_http.cpp Add PUT and DELETE request + specific method value to HTTP API (#9909) 2020-07-29 23:16:21 +02:00
l_http.h Add PUT and DELETE request + specific method value to HTTP API (#9909) 2020-07-29 23:16:21 +02:00
l_internal.h scriptapi: Sort out ServerEnvironment / Environment distinction properly 2020-04-11 13:12:51 +02:00
l_inventory.cpp Server class code cleanups (#9769) 2020-05-07 22:38:41 +02:00
l_inventory.h Add core.remove_detached_inventory (#7684) 2018-10-10 20:48:58 +02:00
l_item.cpp LuaItemStack: Add __tostring metamethod (#8785) 2020-06-09 19:37:25 +02:00
l_item.h LuaItemStack: Add __tostring metamethod (#8785) 2020-06-09 19:37:25 +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 Allow binding dig, place actions to keys; remove LMB/RMB hardcoding 2020-08-15 12:19:20 +03:00
l_localplayer.h Various features and fixes 2020-04-11 13:12:51 +02:00
l_mainmenu.cpp Remove unused functions reported by cppcheck (#10463) 2020-10-05 09:07:33 +02:00
l_mainmenu.h Add core.open_url() to main menu API (#8592) 2020-05-17 19:09:10 +01:00
l_mapgen.cpp Allow more than 255 biomes, document new maximum (#9855) 2020-05-20 22:16:14 +01:00
l_mapgen.h Allow more than 255 biomes, document new maximum (#9855) 2020-05-20 22:16:14 +01:00
l_metadata.cpp Revert "Auto delete MetaData when = 0 (#8770)" (#10183) 2020-07-16 19:11:24 +02: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 Minimap as HUD element with API control 2020-10-04 15:24:34 +02: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 scriptapi: Some small optimizations to value pushing (#9669) 2020-04-14 20:44:18 +02:00
l_noise.h Log deprecated Lua function calls (#7491) 2018-07-01 12:31:49 +02:00
l_object.cpp Minimap as HUD element with API control 2020-10-04 15:24:34 +02:00
l_object.h Minimap as HUD element with API control 2020-10-04 15:24:34 +02:00
l_particles_local.cpp Implement spawning particles with node texture appearance 2020-05-23 22:52:21 +02:00
l_particles_local.h Modernize include guards and add missing ones (#9898) 2020-05-23 13:23:05 +02:00
l_particles.cpp Implement spawning particles with node texture appearance 2020-05-23 22:52:21 +02:00
l_particles.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02: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 Server pushing media at runtime (#9961) 2020-06-13 19:03:26 +02:00
l_server.h Server pushing media at runtime (#9961) 2020-06-13 19:03:26 +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 Check for valid base64 before decoding (#9904) 2020-05-22 14:26:22 +02:00
l_util.h Fix configuration caching in log_deprecated (#9697) 2020-04-22 00:07:12 +02:00
l_vmanip.cpp scriptapi: Some small optimizations to value pushing (#9669) 2020-04-14 20:44:18 +02:00
l_vmanip.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00