aboutsummaryrefslogtreecommitdiff
path: root/src/sound.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-09Sounds: Various little improvements (#12486)SmallJoker9-108/+112
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-09Enforce limits of settings that could cause buggy behaviour (#12450)SmallJoker28-56/+74
Enforces the setting value bounds that are currently only limited by the GUI (settingtypes.txt).
2022-07-09Release shadow mapping resources when not needed (#12497)x20485-31/+45
2022-07-08Replace deprecated use of `vector.new` with `copy`Lars Müller1-2/+2
2022-07-04Add utility script to stress-test mapgensfan54-22/+89
2022-07-04Add missing item alias metatables to async environment (#12458)sfan56-10/+35
2022-07-03Fixed spelling inconsistency (#12504)Riley1-1/+1
coloured -> colored
2022-07-03FormSpec: 9-slice images, animated_images, and fgimg_middle (#12453)Vincent Robinson15-204/+222
* FormSpec: 9-slice images and animated_images * Add fgimg_middle; clean up code * Address issues, add tests * Fix stupid error; bump formspec version * Re-add image[] elements without a size
2022-07-02Serialization spec: Fix number fuzzing (#12496)Lars Müller1-2/+4
2022-07-02Optimize strict.lua (#12495)Lars Müller1-13/+13
Co-authored-by: sfan5 <sfan5@live.de>
2022-07-02DevTest: Add item meta editor (#12307)Wuzzy3-30/+103
2022-07-02Allow to set maximum star opacity at daytime (#11663)Wuzzy9-4/+24
2022-07-02Fix error when `item` isn't provided to core.hud_replace_builtin (#12484)rubenwardy1-1/+4
2022-06-30Reorganise settingtypes.txt (#12490)rubenwardy2-1035/+1096
This organises the settingstype.txt file to use a logical/user-friendly structure. Advanced settings are also demoted to an advanced section at the end. At most 3 levels of hierarchy are used, as that's the most allowed by the settings redesign
2022-06-30Add many limits to settingtypes (#11463)Wuzzy1-126/+128
2022-06-29Lua API: Refer to the update_translations tool (#12419)SmallJoker1-0/+3
Lost the link too often. This is much needed.
2022-06-29Improve warnings when no games or only devtest is installed (#11955)ROllerozxa1-10/+19
2022-06-28Remove an unused method and header includessfan52-7/+0
2022-06-28Remove tile_images and special_materials obsolete code (#12455)Zughy3-23/+2
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2022-06-26Increase max FPS on Android to 60 (#12373)ROllerozxa1-1/+0
2022-06-26Fix two memleak reports from Coverity (#12466)JosiahWI2-2/+3
2022-06-26Docs: remove background9 incorrect example (#12464)Zughy1-2/+0
2022-06-20Re-order sound-related code (#12382)SmallJoker20-188/+140
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-20Annotate light spread functions with commentssfan52-8/+42
2022-06-19Fix CAO light calculation issuesfan51-1/+1
2022-06-17Fix updating glow on entitiessfan52-5/+3
was broken in #10021 more than 2 years ago(!)
2022-06-16Fix zlib (de)compressor memory leakssavilli1-5/+16
2022-06-16Update my nameNathanaël Courant10-10/+10
2022-06-15Add description of privileges (#12021)x20481-0/+85
* Add description of privileges * Restructure Privileges section based on feedback * Suggestion by sfan5 Co-authored-by: sfan5 <sfan5@live.de> * Suggestion by sfan5 Co-authored-by: sfan5 <sfan5@live.de> * Incorporate comments by sfan5 Co-authored-by: sfan5 <sfan5@live.de>
2022-06-15Add unittests for entity lifecycle and callbackssfan52-3/+136
2022-06-15Fix entity related bugssfan52-3/+6
* Make minetest.add_entity() binary-safe * Fix on_death pushing dummy ObjectRef instead of nil
2022-06-14Fix Android input box crashROllerozxa1-5/+0
2022-06-13lua_api.txt: add missing backticksZughy1-3/+3
2022-06-13Improve lua_api.txt a bunchsfan51-205/+215
2022-06-13Fix permissions on workflow-generated macOS builds (#12422)Shane Liesegang1-1/+8
2022-06-11Inline triLinearInterpolationNoEase and triLinearInterpolation (#12421)paradust71-61/+28
Performance profiling on Linux AMD64 showed this to be a significant bottleneck. The non-inlined functions are expensive due to XMM registers spilling onto the stack.
2022-06-11on_deactivate: distinguish removal and unloading (#11931)Lars Müller6-12/+18
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üller9-11/+23
2022-06-11Builtin: Redo serialize.lua (#11427)Lars Müller3-206/+342
Features: * Support for arbitrary references, including self-referencing * Short output, references "long" strings as a bonus * Around the same speed, potentially slower if long, short keys are present * Properly works with NaN and inf
2022-06-11Fix LBM docsJude Melton-Houghton1-3/+3
2022-06-07Fix Gitlab-CI pipelinessfan51-3/+4
2022-06-07Sanitize player position and speed server-side (#12396)sfan54-6/+25
2022-06-07Mapblock Mesh BspTree: Increase the depth of block-level splitsx20481-3/+8
... before going node-level triangle search. Fixes transparent grass on transparent land
2022-06-06core.formspec_escape: Restore backwards compatLars Müller1-1/+1
Support numbers as arguments by using `string.gsub(text, ...)` instead of `text:gsub(...)` which will coerce `text` to a string
2022-06-06Remove invalid fps_max on Macparadust71-1/+0
2022-06-05Bug report template: ask contributors to provide a code snippet (#12405)Zughy1-3/+3
2022-06-05Fix crash in commit a69b7abe00fb818fd88f3cd04e7f9997ffd21072sfan51-1/+2
2022-06-05Android: Add support for sharing debug.txt (#12370)rubenwardy9-2/+81
2022-06-05Improve LBMManager::applyLBMs() codesfan51-6/+5
Fixes a possible bug for lbms on content ID zero and removes unsafe casts.
2022-06-05Add register dialog to separate login/register (#12185)rubenwardy18-402/+232
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