aboutsummaryrefslogtreecommitdiff
path: root/src/script
AgeCommit message (Collapse)Author
2023-03-07Dual wieldingLizzy Fleckenstein
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-24Add callback on_mapblocks_changedJude Melton-Houghton
2022-12-24Make MapEditEvent more completeJude Melton-Houghton
SetBlocksNotSent is no longer used.
2022-12-15Use a Lua error handler that calls tostring (#11913)Jude Melton-Houghton
2022-12-12Fix `plantlike_rooted` world-aligned node base textures (#12994)Jude Melton-Houghton
Co-authored-by: Wuzzy <Wuzzy@disroot.org>
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-30Allow rotating entity selectionboxes (#12379)Lars Müller
2022-10-18Check for falling `float` nodes in liquid transform (#12862)Jude Melton-Houghton
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-13Use enum to define custom registry indicesJude 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-30Implement tool use soundssfan5
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-26Modify PUC Lua to wrap C++ exceptions (#12445)Jude Melton-Houghton
2022-09-18Allow getmetatable in CSM (#12776)Jude Melton-Houghton
2022-09-16Add paramtype2s for 4 horizontal rotations and 64 colors (#11431)Wuzzy
4dir is like facedir, but only for 4 horizontal directions: NESW. It is identical in behavior to facedir otherwise. The reason why game makers would want to use this over facedir is 1) simplicity and 2) you get 6 free bits. It can be used for things like chests and furnaces and you don't need or want them to "flip them on the side" (like you could with facedir). color4dir is like colorfacedir, but you get 64 colors instead of only 8.
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-13Check hp_max > 0 for entities (#12667)Lars Müller
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-14Reduce code duplication between c_converter.cpp and helper.cppsfan5
2022-07-14Remove unnecessary float limits from script APIsfan5
Leaves a check for NaN and inf.