aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api
AgeCommit message (Collapse)Author
2023-02-27Add minetest.get_player_window_information() (#12367)rubenwardy
2023-02-26Sky: transmit body_orbit_tilt to client. (#13193)sofar
This obsoletes the current client-side setting entirely. The server can transmit the tilt to the client directly and will send 0.0f as default value. Co-authored-by: x2048 <codeforsmile@gmail.com> Co-authored-by: sfan5 <sfan5@live.de>
2023-01-12Improve `MetaDataRef:{get,set}_float` precision (#13130)Jude Melton-Houghton
2023-01-06Add dynamic exposure correction (#12959)x2048
* Add uniform for frame delta time * Adjust exposure in logarithmic (EV) space * Add network support and LUA API * Add testing mod
2022-12-26Lua API: Document shader dependencies of set_lighting() (#13079)SmallJoker
2022-12-25Allow saturation to be controlled by the server. (#13075)lhofhansl
2022-12-24Store `MapEditEvent` blocks in a vector (#13071)Jude Melton-Houghton
2022-12-24Make MapEditEvent more completeJude Melton-Houghton
SetBlocksNotSent is no longer used.
2022-12-04Expose dtime_s to LBM handlersfan5
2022-12-03Add `minetest.get_mapgen_edges` (#12999)Jude Melton-Houghton
2022-11-28Add `minetest.get_game_info` and allow reading `game.conf` (#12989)Jude Melton-Houghton
Co-authored-by: sfan5 <sfan5@live.de>
2022-11-24Rename "mod metadata" to "mod storage" everywhereJude Melton-Houghton
2022-11-23Fix reading schematics after their resolution (#12985)Jude Melton-Houghton
2022-11-15set_nametag_attributes: don't reset nametags if text param is not touchedRiceball LEE
fixes #12901
2022-11-15Add MetaDataRef:get_keys (#12841)Jude Melton-Houghton
2022-11-09Fix get_tool_wear_after_use for one use (insta-break) (#12945)Gregor Parzefall
2022-11-09Fix typos and en_US/en_GB inconsistency in various files (#12902)Abdou-31
2022-10-18Implement vector and node conversion in Lua (#12609)Jude Melton-Houghton
Co-authored-by: sfan5 <sfan5@live.de>
2022-10-17Take geographic distance into account for server list ordering (#12790)sfan5
2022-10-13Speed up find_nodes_in_area (#12845)Jude Melton-Houghton
2022-10-09Optimize lighting calculation (#12797)Jude Melton-Houghton
2022-10-09add an 'equals' method to ItemStack and compatibility w/ lua '==' (#12771)fluxionary
Co-authored-by: rubenwardy <rw@rubenwardy.com> Co-authored-by: sfan5 <sfan5@live.de>
2022-10-04Consolidate API object code (#12728)Jude Melton-Houghton
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-28Add zstd compression support (#12515)20kdc
2022-09-26Avoid duplication of mod metadata in memory (#12562)Jude Melton-Houghton
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-12Mainmenu: Properly sort mods and games (#12758)SmallJoker
This also removes trivial and unused pkgmgr functions Fixes a bug caused by sorting in 2133fc8
2022-09-11Fix potential use-after-free with item metadata (#12729)Jude Melton-Houghton
This fixes a use-after-free bug in the case where itemstack metadata is accessed after the itemstack has been garbage-collected.
2022-09-06Code optimizations / refactor (#12704)Herman Semenov
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: sfan5 <sfan5@live.de>
2022-08-13Allow buffer argument to VoxelManip:get_light_data (#12682)Jude Melton-Houghton
2022-08-12Physics overrides: Move values to a common struct (#12591)SmallJoker
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-10Fix crash when stars are resetZughy
2022-08-02Run Minetest update checker on startup (#7629)SmallJoker
This feature is enabled by default for non-Android release builds. Package maintainers may use -DENABLE_UPDATE_CHECKER=0 to disable it. Co-authored-by: rubenwardy <rw@rubenwardy.com> Co-authored-by: sfan5 <sfan5@live.de>
2022-08-02Add `minetest.settings` to CSM API and allow CSMs to provide ↵AFCMS
`settingtypes.txt` (#12131) Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2022-07-30Fix some warnings (#12615)rubenwardy
2022-07-23Let core.get_mod_storage be called multiple times (#12572)Jude Melton-Houghton
2022-07-14Add check_mod_configuration to main menurubenwardy
2022-07-13Animated particlespawners and more (#11545)Lexi Hale
Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
2022-07-09Sounds: Various little improvements (#12486)SmallJoker
Use SimpleSoundSpec where reasonable (OpenAL) Ensure the sound IDs do not underflow or get overwritten -> loop in u16 Proper use of an enum.
2022-07-02Allow to set maximum star opacity at daytime (#11663)Wuzzy
2022-06-26Fix two memleak reports from Coverity (#12466)JosiahWI
2022-06-20Re-order sound-related code (#12382)SmallJoker
Dropped ServerSoundParams -> moved to ServerPlayingSound. This gets rid of the duplicated 'fade' and 'pitch' values on server-side where only one was used anyway. SimpleSoundSpec is the basic sound without positional information, hence 'loop' is included. Recursively added PROTOCOL_VERSION to most functions to reduce the versioning mess in the future. Per-type version numbers are kept for now as a safety rope in a special case.
2022-06-15Fix entity related bugssfan5
* Make minetest.add_entity() binary-safe * Fix on_death pushing dummy ObjectRef instead of nil
2022-06-05Android: Add support for sharing debug.txt (#12370)rubenwardy
2022-06-05Add register dialog to separate login/register (#12185)rubenwardy
New users find Minetest's account system confusing. This change moves username/password to a new dialog, with login and register buttons added to the Join Game tab. The old registration confirmation dialog is removed in favour of the new dialog. Fixes #8138
2022-06-03Add helper functions to make tool usable n times (#12047)Wuzzy
2022-05-29Fix use-after-free in node meta cleanupsfan5
bug introduced in 8908a9101608d3343023b470743ef63f1c44b0b7
2022-05-29Reject registering node with empty namesfan5
fixes #10769
2022-05-29Get rid of node metadata when it becomes emptysfan5
fixes #8943
2022-05-29Add API function to invoke player respawnsfan5
closes #12272
2022-05-29Protect a few more settings from being set from modssfan5
Of those settings main_menu_script has concrete security impact, the rest are added out of abundance of caution.