aboutsummaryrefslogtreecommitdiff
path: root/src/script
AgeCommit message (Collapse)Author
2022-07-23Dual WieldingElias Fleckenstein
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.
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-28Remove tile_images and special_materials obsolete code (#12455)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
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-11on_deactivate: distinguish removal and unloading (#11931)Lars Müller
Sometimes you need to be able to do removal-related cleanup, such as removing files from disk, or entries from a database. staticdata obviously isn't suitable for large data. The data shouldn't be removed if the entity is unloaded, only if it is removed.
2022-06-11No damage effects on hp_max change (#11846)Lars Müller
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-29Remove debug.get/setmetatable from security whiteliststefan
fixes #12216
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.
2022-05-26Reduce size of ContentFeatures structuresfan5
On my system this is a reduction from 4664 to 3704 bytes. This is not for the sake of saving RAM but ensuring commonly used structures fit into caches better.
2022-05-21Deprecate game.conf name, use title instead (#12030)rubenwardy
2022-05-10Use native packer to transfer globals into async env(s)sfan5
2022-05-10Support packing arbitrary graphs (#12289)Jude Melton-Houghton
2022-05-04hud_get: Return precision field for waypoints (#12215)Lars Müller
2022-05-02Async environment for mods to do concurrent tasks (#11131)sfan5
2022-05-02Refactor some Lua API functions in preparation for async envsfan5
2022-05-02Remove some unused variable from Lua class wrapperssfan5
2022-04-28Clean up some auth packet handling related codesfan5
2022-04-10Remove unneeded ObjectRef setter return values (#12179)Lars Müller
2022-04-08Spacing fixesShadowNinja
2022-04-07Disentangle map implementations (#12148)Jude Melton-Houghton
Fixes violation of Liskov substitution principle Fixes #12144
2022-03-29Store vector metatable in registryJude Melton-Houghton
2022-03-29Fix the documentation of InvRef:get_lists() and clean up code (#12150)DS
2022-03-26Add API to control shadow intensity from the game/mod (#11944)x2048
* Also Disable shadows when sun/moon is hidden. Fixes #11972.
2022-03-05Readd basic_debug as a HUD flag (#12020)Lars Müller
2022-03-05Allow get_sky to return a table (#11963)Zughy
2022-02-23Lua API documentation: Various fixes (#12059)SmallJoker
Change 1: Clarify when on_step collision information is provided Change 2: Document PostgreSQL and Redis settings Change 3: Overall AreaStore documentation improvements including consistent parameter naming based on community suggestions
2022-02-08Remove awful Mingw32 workaroundssfan5
Instead a warning is triggered if an affected compiler is detected. closes #12022
2022-02-04Fix broken server startup if curl is disabled (#12046)sfan5
2022-02-04Fix types of get_mapgen_setting_noiseparams (#12025)Lars Müller
2022-01-30Use virtual paths to specify exact mod to enable (#11784)rubenwardy
2022-01-27Define control(bits) as "unset" for entities (#11995)Lars Müller
2022-01-22Allow resetting celestial vault elements by leaving its arguments empty (#11922)Zughy
2022-01-15Minor improvements to Lua sandboxsfan5
2022-01-09Mainmenu game-related changes (#11887)sfan5
fixes: * Switching between games does not immediately hide creative mode / damage buttons if so specified * World creation menu has a game selection list even though the menu already provides a gamebar * Showing gameid in world list is unnecessary * Choice of mapgen parameters in menu persists between games (and was half-broken)
2022-01-09Restore pass-through of direction keys (#11924)sfan5
This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
2022-01-07Use a database for mod storage (#11763)Jude Melton-Houghton