SmallJoker
f4c6ed863d
GUIFormSpecMenu: Fix label multiline translation ( #12527 )
2022-07-14 20:51:01 +02:00
Lars Müller
ac4eb746fe
Deserialization: Restore backwards compat ( #12519 )
2022-07-14 20:50:21 +02:00
Dmitry Kostenko
6df69f9b5b
Make BlendMode::alpha the fallback for unknown future blend modes
2022-07-13 22:45:05 +02:00
Lexi Hale
20bd6bdb68
Animated particlespawners and more ( #11545 )
...
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-13 11:57:12 +02:00
SmallJoker
8724fe6e3f
GUIFormSpecMenu: Fix parameter order
...
Fixes a regression caused by e51f47461 because C++ implicitly converts boolean to float. no matter what.
2022-07-10 15:34:53 +02:00
AFCMS
fae8726a76
Make VoxelArea:position()
return a vector with metatable ( #12521 )
2022-07-09 22:32:33 +02:00
SmallJoker
e51f474613
Sounds: Various little improvements ( #12486 )
...
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-09 22:32:24 +02:00
SmallJoker
051181fa6e
Enforce limits of settings that could cause buggy behaviour ( #12450 )
...
Enforces the setting value bounds that are currently only limited by the GUI (settingtypes.txt).
2022-07-09 22:32:08 +02:00
x2048
7c261118e0
Release shadow mapping resources when not needed ( #12497 )
2022-07-09 22:26:39 +02:00
Lars Müller
b15393c2a5
Replace deprecated use of vector.new
with copy
2022-07-08 13:52:58 +02:00
sfan5
0e63f18a73
Add utility script to stress-test mapgen
2022-07-04 01:06:57 +02:00
sfan5
fc3460470a
Add missing item alias metatables to async environment ( #12458 )
2022-07-04 01:06:42 +02:00
Riley
34f15259fa
Fixed spelling inconsistency ( #12504 )
...
coloured -> colored
2022-07-03 08:52:40 -04:00
Vincent Robinson
f7bcf7fa46
FormSpec: 9-slice images, animated_images, and fgimg_middle ( #12453 )
...
* 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-03 08:52:26 -04:00
Lars Müller
5a562a597c
Serialization spec: Fix number fuzzing ( #12496 )
2022-07-02 20:58:23 +01:00
Lars Müller
3e308584a3
Optimize strict.lua ( #12495 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-07-02 19:58:15 +01:00
Wuzzy
9ac3b52fdc
DevTest: Add item meta editor ( #12307 )
2022-07-02 19:58:00 +01:00
Wuzzy
142928e944
Allow to set maximum star opacity at daytime ( #11663 )
2022-07-02 19:57:48 +01:00
rubenwardy
b095dc4f2b
Fix error when item
isn't provided to core.hud_replace_builtin ( #12484 )
2022-07-02 18:28:11 +01:00
rubenwardy
45da0d43fd
Reorganise settingtypes.txt ( #12490 )
...
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-30 20:18:09 +01:00
Wuzzy
7494ff2917
Add many limits to settingtypes ( #11463 )
2022-06-30 19:22:11 +01:00
SmallJoker
de8ce9a8ff
Lua API: Refer to the update_translations tool ( #12419 )
...
Lost the link too often. This is much needed.
2022-06-29 22:21:00 +02:00
ROllerozxa
17709d7d0f
Improve warnings when no games or only devtest is installed ( #11955 )
2022-06-29 22:20:12 +02:00
sfan5
a5f385917d
Remove an unused method and header includes
2022-06-28 12:21:12 +02:00
Zughy
18fbc0394b
Remove tile_images and special_materials obsolete code ( #12455 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2022-06-28 00:55:01 +01:00
ROllerozxa
35ad006234
Increase max FPS on Android to 60 ( #12373 )
2022-06-26 14:38:11 +01:00
JosiahWI
4163c872af
Fix two memleak reports from Coverity ( #12466 )
2022-06-26 14:37:50 +01:00
Zughy
4b087a0de2
Docs: remove background9 incorrect example ( #12464 )
2022-06-26 14:37:04 +01:00
SmallJoker
a463620edb
Re-order sound-related code ( #12382 )
...
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-20 21:56:12 +02:00
sfan5
0b41533763
Annotate light spread functions with comments
2022-06-20 21:24:28 +02:00
sfan5
e92a217bd1
Fix CAO light calculation issue
2022-06-19 13:30:11 +02:00
sfan5
a83d81ff45
Fix updating glow on entities
...
was broken in #10021 more than 2 years ago(!)
2022-06-17 20:50:24 +02:00
savilli
ae555465ba
Fix zlib (de)compressor memory leaks
2022-06-16 23:53:23 +02:00
Nathanaël Courant
622d857bed
Update my name
2022-06-16 21:38:32 +02:00
x2048
0530ec11c0
Add description of privileges ( #12021 )
...
* 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-15 21:39:39 +02:00
sfan5
46e7b51352
Add unittests for entity lifecycle and callbacks
2022-06-15 17:20:07 +02:00
sfan5
e9e721b937
Fix entity related bugs
...
* Make minetest.add_entity() binary-safe
* Fix on_death pushing dummy ObjectRef instead of nil
2022-06-15 17:20:07 +02:00
ROllerozxa
992f501159
Fix Android input box crash
2022-06-14 19:22:22 +02:00
Zughy
0f3f1a001c
lua_api.txt: add missing backticks
2022-06-13 18:31:33 +02:00
sfan5
804c255941
Improve lua_api.txt a bunch
2022-06-13 18:31:03 +02:00
Shane Liesegang
c10fe7ec18
Fix permissions on workflow-generated macOS builds ( #12422 )
2022-06-13 18:30:48 +02:00
paradust7
7ffc0268df
Inline triLinearInterpolationNoEase and triLinearInterpolation ( #12421 )
...
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-11 20:01:30 +02:00
Lars Müller
e7d4ec6834
on_deactivate: distinguish removal and unloading ( #11931 )
...
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-11 20:01:14 +02:00
Lars Müller
f4a53f7ee6
No damage effects on hp_max change ( #11846 )
2022-06-11 20:00:40 +02:00
Lars Müller
3eafcab64e
Builtin: Redo serialize.lua ( #11427 )
...
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-11 20:00:26 +02:00
Jude Melton-Houghton
ba65e0ace7
Fix LBM docs
2022-06-11 00:41:26 +02:00
sfan5
213d3562bd
Fix Gitlab-CI pipelines
2022-06-07 22:56:22 +02:00
sfan5
3ac5a24b12
Sanitize player position and speed server-side ( #12396 )
2022-06-07 21:27:05 +02:00
x2048
3107c98591
Mapblock Mesh BspTree: Increase the depth of block-level splits
...
... before going node-level triangle search.
Fixes transparent grass on transparent land
2022-06-07 21:26:31 +02:00
Lars Müller
edc7df5480
core.formspec_escape: Restore backwards compat
...
Support numbers as arguments by using `string.gsub(text, ...)` instead of `text:gsub(...)` which will coerce `text` to a string
2022-06-06 18:32:28 +02:00