aboutsummaryrefslogtreecommitdiff
path: root/src/script
Commit message (Collapse)AuthorAge
* Add check_mod_configuration to main menurubenwardy2022-07-14
|
* Reduce code duplication between c_converter.cpp and helper.cppsfan52022-07-14
|
* Remove unnecessary float limits from script APIsfan52022-07-14
| | | | Leaves a check for NaN and inf.
* Animated particlespawners and more (#11545)Lexi Hale2022-07-13
| | | | | Co-authored-by: Lars Mueller <appgurulars@gmx.de> Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
* Sounds: Various little improvements (#12486)SmallJoker2022-07-09
| | | | | Use SimpleSoundSpec where reasonable (OpenAL) Ensure the sound IDs do not underflow or get overwritten -> loop in u16 Proper use of an enum.
* Allow to set maximum star opacity at daytime (#11663)Wuzzy2022-07-02
|
* Remove tile_images and special_materials obsolete code (#12455)Zughy2022-06-28
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Fix two memleak reports from Coverity (#12466)JosiahWI2022-06-26
|
* Re-order sound-related code (#12382)SmallJoker2022-06-20
| | | | | | | | 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.
* Fix entity related bugssfan52022-06-15
| | | | | * Make minetest.add_entity() binary-safe * Fix on_death pushing dummy ObjectRef instead of nil
* on_deactivate: distinguish removal and unloading (#11931)Lars Müller2022-06-11
| | | 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.
* No damage effects on hp_max change (#11846)Lars Müller2022-06-11
|
* Android: Add support for sharing debug.txt (#12370)rubenwardy2022-06-05
|
* Add register dialog to separate login/register (#12185)rubenwardy2022-06-05
| | | | | | | | | | 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
* Add helper functions to make tool usable n times (#12047)Wuzzy2022-06-03
|
* Fix use-after-free in node meta cleanupsfan52022-05-29
| | | | bug introduced in 8908a9101608d3343023b470743ef63f1c44b0b7
* Reject registering node with empty namesfan52022-05-29
| | | | fixes #10769
* Remove debug.get/setmetatable from security whiteliststefan2022-05-29
| | | | fixes #12216
* Get rid of node metadata when it becomes emptysfan52022-05-29
| | | | fixes #8943
* Add API function to invoke player respawnsfan52022-05-29
| | | | closes #12272
* Protect a few more settings from being set from modssfan52022-05-29
| | | | Of those settings main_menu_script has concrete security impact, the rest are added out of abundance of caution.
* Reduce size of ContentFeatures structuresfan52022-05-26
| | | | | | 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.
* Deprecate game.conf name, use title instead (#12030)rubenwardy2022-05-21
|
* Use native packer to transfer globals into async env(s)sfan52022-05-10
|
* Support packing arbitrary graphs (#12289)Jude Melton-Houghton2022-05-10
|
* hud_get: Return precision field for waypoints (#12215)Lars Müller2022-05-04
|
* Async environment for mods to do concurrent tasks (#11131)sfan52022-05-02
|
* Refactor some Lua API functions in preparation for async envsfan52022-05-02
|
* Remove some unused variable from Lua class wrapperssfan52022-05-02
|
* Clean up some auth packet handling related codesfan52022-04-28
|
* Remove unneeded ObjectRef setter return values (#12179)Lars Müller2022-04-10
|
* Spacing fixesShadowNinja2022-04-08
|
* Disentangle map implementations (#12148)Jude Melton-Houghton2022-04-07
| | | | Fixes violation of Liskov substitution principle Fixes #12144
* Store vector metatable in registryJude Melton-Houghton2022-03-29
|
* Fix the documentation of InvRef:get_lists() and clean up code (#12150)DS2022-03-29
|
* Add API to control shadow intensity from the game/mod (#11944)x20482022-03-26
| | | * Also Disable shadows when sun/moon is hidden. Fixes #11972.
* Readd basic_debug as a HUD flag (#12020)Lars Müller2022-03-05
|
* Allow get_sky to return a table (#11963)Zughy2022-03-05
|
* Lua API documentation: Various fixes (#12059)SmallJoker2022-02-23
| | | | | 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
* Remove awful Mingw32 workaroundssfan52022-02-08
| | | | | Instead a warning is triggered if an affected compiler is detected. closes #12022
* Fix broken server startup if curl is disabled (#12046)sfan52022-02-04
|
* Fix types of get_mapgen_setting_noiseparams (#12025)Lars Müller2022-02-04
|
* Use virtual paths to specify exact mod to enable (#11784)rubenwardy2022-01-30
|
* Define control(bits) as "unset" for entities (#11995)Lars Müller2022-01-27
|
* Allow resetting celestial vault elements by leaving its arguments empty (#11922)Zughy2022-01-22
|
* Minor improvements to Lua sandboxsfan52022-01-15
|
* Mainmenu game-related changes (#11887)sfan52022-01-09
| | | | | | | 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)
* Restore pass-through of direction keys (#11924)sfan52022-01-09
| | | This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
* Use a database for mod storage (#11763)Jude Melton-Houghton2022-01-07
|
* Fix damage wraparound if very high damage (#11872)Wuzzy2022-01-06
|