aboutsummaryrefslogtreecommitdiff
path: root/src/script (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Hax's version of Minetest Server 5.6.0Test_User2024-06-288-24/+158
|
* Run Minetest update checker on startup (#7629)SmallJoker2022-08-021-0/+2
| | | | | | | 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>
* Add `minetest.settings` to CSM API and allow CSMs to provide ↵AFCMS2022-08-023-0/+11
| | | | | | `settingtypes.txt` (#12131) Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
* Fix some warnings (#12615)rubenwardy2022-07-302-4/+7
|
* Let core.get_mod_storage be called multiple times (#12572)Jude Melton-Houghton2022-07-231-6/+2
|
* Add check_mod_configuration to main menurubenwardy2022-07-144-1/+133
|
* Reduce code duplication between c_converter.cpp and helper.cppsfan52022-07-144-84/+32
|
* Remove unnecessary float limits from script APIsfan52022-07-141-20/+23
| | | | Leaves a check for NaN and inf.
* Animated particlespawners and more (#11545)Lexi Hale2022-07-135-120/+490
| | | | | 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-092-14/+16
| | | | | 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-021-0/+5
|
* Remove tile_images and special_materials obsolete code (#12455)Zughy2022-06-281-14/+0
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Fix two memleak reports from Coverity (#12466)JosiahWI2022-06-261-1/+2
|
* Re-order sound-related code (#12382)SmallJoker2022-06-204-17/+19
| | | | | | | | 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-152-3/+6
| | | | | * 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-112-4/+4
| | | 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-111-1/+1
|
* Android: Add support for sharing debug.txt (#12370)rubenwardy2022-06-052-0/+16
|
* Add register dialog to separate login/register (#12185)rubenwardy2022-06-051-0/+8
| | | | | | | | | | 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-034-2/+46
|
* Fix use-after-free in node meta cleanupsfan52022-05-291-1/+3
| | | | bug introduced in 8908a9101608d3343023b470743ef63f1c44b0b7
* Reject registering node with empty namesfan52022-05-291-0/+3
| | | | fixes #10769
* Remove debug.get/setmetatable from security whiteliststefan2022-05-291-2/+0
| | | | fixes #12216
* Get rid of node metadata when it becomes emptysfan52022-05-292-7/+12
| | | | fixes #8943
* Add API function to invoke player respawnsfan52022-05-292-0/+20
| | | | closes #12272
* Protect a few more settings from being set from modssfan52022-05-291-4/+17
| | | | 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-261-21/+28
| | | | | | 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-211-1/+10
|
* Use native packer to transfer globals into async env(s)sfan52022-05-102-5/+6
|
* Support packing arbitrary graphs (#12289)Jude Melton-Houghton2022-05-102-46/+62
|
* hud_get: Return precision field for waypoints (#12215)Lars Müller2022-05-041-0/+6
|
* Async environment for mods to do concurrent tasks (#11131)sfan52022-05-0222-40/+1247
|
* Refactor some Lua API functions in preparation for async envsfan52022-05-025-38/+34
|
* Remove some unused variable from Lua class wrapperssfan52022-05-024-23/+20
|
* Clean up some auth packet handling related codesfan52022-04-281-3/+6
|
* Remove unneeded ObjectRef setter return values (#12179)Lars Müller2022-04-101-30/+17
|
* Spacing fixesShadowNinja2022-04-083-5/+5
|
* Disentangle map implementations (#12148)Jude Melton-Houghton2022-04-072-2/+2
| | | | Fixes violation of Liskov substitution principle Fixes #12144
* Store vector metatable in registryJude Melton-Houghton2022-03-294-16/+18
|
* Fix the documentation of InvRef:get_lists() and clean up code (#12150)DS2022-03-295-41/+33
|
* Add API to control shadow intensity from the game/mod (#11944)x20482022-03-262-0/+49
| | | * Also Disable shadows when sun/moon is hidden. Fixes #11972.
* Readd basic_debug as a HUD flag (#12020)Lars Müller2022-03-051-14/+5
|
* Allow get_sky to return a table (#11963)Zughy2022-03-052-28/+62
|
* Lua API documentation: Various fixes (#12059)SmallJoker2022-02-231-24/+25
| | | | | 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-081-8/+0
| | | | | Instead a warning is triggered if an affected compiler is detected. closes #12022
* Fix broken server startup if curl is disabled (#12046)sfan52022-02-042-17/+25
|
* Fix types of get_mapgen_setting_noiseparams (#12025)Lars Müller2022-02-043-43/+8
|
* Use virtual paths to specify exact mod to enable (#11784)rubenwardy2022-01-301-6/+6
|
* Define control(bits) as "unset" for entities (#11995)Lars Müller2022-01-271-5/+8
|
* Allow resetting celestial vault elements by leaving its arguments empty (#11922)Zughy2022-01-221-69/+71
|